Question #242189 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/242189
obiwan-92 proposed the following answer:
If you just want to check if you mouse move,
call the function in a loop like this :
flag = True
while flag:
sleep(1) # The time to retest in seconds
old = loc
loc = Region.atMouse()
if loc.x==old.x and loc.y==old.y: flag = false
Try this.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp