-
Notifications
You must be signed in to change notification settings - Fork 1
MouseInfo
░▒▓█│【Walkman】│█▓▒░ edited this page Jan 16, 2019
·
3 revisions
- Use
$MOVETO(x, y)
to set mouse position in screen pixels- to get the position of the mouse, add a new entry with anything (it will be replaced)
- click Get Mouse Pos and position your cursor where you want it to be
- the selected entry will be replaced with
$MOVETO(x, y)
and the co-ordinates where your cursor was
- Use
$MOVE(x, y)
to move mouse relative to current position:- to move the mouse right 50 pixels, use
$MOVE(50, 0)
- down:
$MOVE(0, 50)
. left:$MOVE(-50, 0)
. up:$MOVE(0, -50)
- to move the mouse right 50 pixels, use
- Use
$CLICK(LeftClick)
to click
- LeftClick, LeftDown, LeftUp
- MiddleClick, MiddleDown, MiddleUp
- RightClick, RightDown, RightUp
- XClick, XDown, XUp
<Button>Down
and <Button>Up
are used to click-and-drag