-
Notifications
You must be signed in to change notification settings - Fork 1
Command with Parameters
myfreeer edited this page May 20, 2017
·
3 revisions
| Command | Description | Parameter | Example |
|---|---|---|---|
| SLEEP WAIT |
Wait some time before parsing next command | time in millisecond | ${SLEEP 500} |
| CAPS CAPSLOCK |
Switch Caps Lock Status |
0 to disable and 1 to enable |
${CAPS 1} |
| NUM NUMLOCK |
Switch Num Lock Status |
0 to disable and 1 to enable |
${NUM 1} |
| SCROLLLOCK | Switch Scroll Lock Status |
0 to disable and 1 to enable |
${SCROLLLOCK 1} |
| Command | Description | Parameter 1 | Parameter 2 | Example |
|---|---|---|---|---|
| MOUSEMOVE | Move mouse cursor to location from parameters | x value, distance to the left side of screen, in px | y value, distance to the top side of screen, in px | ${MOUSEMOVE 800 600} |
| CLICK LCLICK LEFTCLICK |
Move mouse cursor to location from parameters and simulate a left click | same as above | same as above | ${CLICK 800 600} |
| RCLICK RIGHTCLICK |
Move mouse cursor to location from parameters and simulate a right click | same as above | same as above | ${RCLICK 800 600} |
| MCLICK MIDDLECLICK |
Move mouse cursor to location from parameters and simulate a middle click (meaning clicking the scroll wheel) | same as above | same as above | ${MCLICK 800 600} |
Note: You may get the (x,y) values using sendmouse tool