OPTIONS "WINFUNC C_CALL"
NUMERIC DIGITS 10
DO
FUNCDEF("mouse_event", ", 32u, 32, 32, 32u, 32u", "user32")
CATCH FAILURE
CONDITION("M")
RETURN
END
mouse_absolute = 32768
mouse_move = 1
mouse_wheel = 2048
mouse_leftdown = 2
mouse_leftup = 4
mouse_rightdown = 8
mouse_rightup = 16
mouse_middledown = 32
mouse_middleup = 64
mouse_event(mouse_move + mouse_absolute, 0, 0)
SLEEP(3)
mouse_event(mouse_move, 100, 50)
SLEEP(5)
mouse_event(mouse_rightdown) |