Skip to content

Macro Reference

hukatama024e edited this page May 2, 2017 · 1 revision

Delay

Delay time for next process.

public async Task Delay( int millsecond )

parameter

Name type Summary
millsecond int Delay time with milliseconds

SetMousePos

Move coordinate of the mouse.

public async Task SetMousePos( int x, int y )

parameter

Name type Summary
x int X-coordinate of mouse
y int Y-coordinate of mouse

PushLeftButton

Press left button of mouse.

parameter

Name type Summary
x int X-coordinate of mouse
y int Y-coordinate of mouse
public async Task PushLeftButton( int x, int y )

parameter

Name type Summary
x int X-coordinate of mouse
y int Y-coordinate of mouse

PullLeftButton

Release left button of mouse.

parameter

Name type Summary
x int X-coordinate of mouse
y int Y-coordinate of mouse
public async Task PullLeftButton( int x, int y )

parameter

Name type Summary
x int X-coordinate of mouse
y int Y-coordinate of mouse

PushMiddleButton

Press middle button of mouse.

public async Task PushMiddleButton( int x, int y )

parameter

Name type Summary
x int X-coordinate of mouse
y int Y-coordinate of mouse

PullMiddleButton

Release middle button of mouse.

public async Task PullMiddleButton( int x, int y )

parameter

Name type Summary
x int X-coordinate of mouse
y int Y-coordinate of mouse

PushRightButton

Press right button of mouse.

public async Task PushRightButton( int x, int y )

parameter

Name type Summary
x int X-coordinate of mouse
y int Y-coordinate of mouse

PullRightButton

Release right button of mouse.

public async Task PullRightButton( int x, int y )

parameter

Name type Summary
x int X-coordinate of mouse
y int Y-coordinate of mouse

WheelMouse

Move wheel of mouse.

public async Task WheelMouse( int x, int y, int wheelRotate )

parameter

Name type Summary
x int X-coordinate of mouse
y int Y-coordinate of mouse
wheelRotate int Amount of mouse wheel movement

HWheelMouse

Move wheel of mouse horizontally.

public async Task HWheelMouse( int x, int y, int wheelRotate )

parameter

Name type Summary
x int X-coordinate of mouse
y int Y-coordinate of mouse
wheelRotate int Amount of mouse wheel movement

PressKey

Press specified key.

public async Task PressKey( ushort virtualKey )

parameter

Name type Summary
virtualKey ushort Virtual-key code

ReleaseKey

Release specified key.

public async Task ReleaseKey( ushort virtualKey )

parameter

Name type Summary
virtualKey ushort Virtual-key code

SetMode

Set mode for executing mode.

public async Task SetMode( byte mode )

parameter

Name type Summary
mode byte specified "mode" flags

mode

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

WrileUserCustomLog

Output specified information to log. The format of log is LTSV.

public async Task WrileUserCustomLog( Dictionary<string, string> userCustomDic )

parameter

Name type Summary
userCustomDic Dictionary<string, string> Contents of log