Question #204038 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/204038
RaiMan proposed the following answer: Just realized the possible orphaned mouseDown(): def swipe(begin,end): while True: while Settings.myInHandler: wait(0.5) mouseDown(begin, Button.LEFT) if Settings.myInHandler: mouseUp(); continue mouseMove(end) if Settings.myInHandler: mouseUp(); continue mouseUp() if Settings.myInHandler: continue type("c",KEY_CTRL) wait(0.5) if Settings.myInHandler: continue break # if we finally come here, it should have worked. -- 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 : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp