- 
                Notifications
    You must be signed in to change notification settings 
- Fork 13
Macro Reference
        hukatama024e edited this page May 2, 2017 
        ·
        1 revision
      
    Delay time for next process.
public async Task Delay( int millsecond )| Name | type | Summary | 
|---|---|---|
| millsecond | int | Delay time with milliseconds | 
Move coordinate of the mouse.
public async Task SetMousePos( int x, int y )| Name | type | Summary | 
|---|---|---|
| x | int | X-coordinate of mouse | 
| y | int | Y-coordinate of mouse | 
Press left button of mouse.
| Name | type | Summary | 
|---|---|---|
| x | int | X-coordinate of mouse | 
| y | int | Y-coordinate of mouse | 
public async Task PushLeftButton( int x, int y )| Name | type | Summary | 
|---|---|---|
| x | int | X-coordinate of mouse | 
| y | int | Y-coordinate of mouse | 
Release left button of mouse.
| Name | type | Summary | 
|---|---|---|
| x | int | X-coordinate of mouse | 
| y | int | Y-coordinate of mouse | 
public async Task PullLeftButton( int x, int y )| Name | type | Summary | 
|---|---|---|
| x | int | X-coordinate of mouse | 
| y | int | Y-coordinate of mouse | 
Press middle button of mouse.
public async Task PushMiddleButton( int x, int y )| Name | type | Summary | 
|---|---|---|
| x | int | X-coordinate of mouse | 
| y | int | Y-coordinate of mouse | 
Release middle button of mouse.
public async Task PullMiddleButton( int x, int y )| Name | type | Summary | 
|---|---|---|
| x | int | X-coordinate of mouse | 
| y | int | Y-coordinate of mouse | 
Press right button of mouse.
public async Task PushRightButton( int x, int y )| Name | type | Summary | 
|---|---|---|
| x | int | X-coordinate of mouse | 
| y | int | Y-coordinate of mouse | 
Release right button of mouse.
public async Task PullRightButton( int x, int y )| Name | type | Summary | 
|---|---|---|
| x | int | X-coordinate of mouse | 
| y | int | Y-coordinate of mouse | 
Move wheel of mouse.
public async Task WheelMouse( int x, int y, int wheelRotate )| Name | type | Summary | 
|---|---|---|
| x | int | X-coordinate of mouse | 
| y | int | Y-coordinate of mouse | 
| wheelRotate | int | Amount of mouse wheel movement | 
Move wheel of mouse horizontally.
public async Task HWheelMouse( int x, int y, int wheelRotate )| Name | type | Summary | 
|---|---|---|
| x | int | X-coordinate of mouse | 
| y | int | Y-coordinate of mouse | 
| wheelRotate | int | Amount of mouse wheel movement | 
Press specified key.
public async Task PressKey( ushort virtualKey )| Name | type | Summary | 
|---|---|---|
| virtualKey | ushort | Virtual-key code | 
Release specified key.
public async Task ReleaseKey( ushort virtualKey )| Name | type | Summary | 
|---|---|---|
| virtualKey | ushort | Virtual-key code | 
Set mode for executing mode.
public async Task SetMode( byte mode )| Name | type | Summary | 
|---|---|---|
| mode | byte | specified "mode" flags | 
This flags can be combination of the following values.
| Name | Value | Summary | 
|---|---|---|
| MouseOnly | 0x01 | no executing macro of key | 
| KeyOnly | 0x02 | no executing macro of mouse | 
| CreateLog | 0x04 | Output log of mouse and key input and event, and the log format is LTSV | 
Output specified information to log. The format of log is LTSV.
public async Task WrileUserCustomLog( Dictionary<string, string> userCustomDic )| Name | type | Summary | 
|---|---|---|
| userCustomDic | Dictionary<string, string> | Contents of log |