← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #242189]: How to automate application accessing multiple users at the same time

 

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.