Re: [Sikuli-driver] [Question #404563]: Determine if application has been fired up and close it
Question #404563 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/404563 Shubham Rathi posted a new comment: I see. Thanks nonetheless for all the help. -- You received this question notification because your team Sikuli Drivers 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
Re: [Sikuli-driver] [Question #404563]: Determine if application has been fired up and close it
Question #404563 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/404563 masuo posted a new comment: Sorry that the quoted example was bad. I had wanted to explane that SikuliX generally does not support visually searching the mouse pointer. -- You received this question notification because your team Sikuli Drivers 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
Re: [Sikuli-driver] [Question #404563]: Determine if application has been fired up and close it
Question #404563 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/404563 Shubham Rathi posted a new comment: I'm trying this currently: if waitVanish(Pattern("cursor.png").similar(0.50),3600): popup("Found") However, the above code returns 'Found' even when the cursor has not vanished ( The loading icon is still on screen). I understand this is perhaps because SikuliX generally does not support visually searching the mouse pointer. The answer you cited, has mention of Mouse.at(), I'm not sure that I understand what Mouse.at() can be used for in this case. -- You received this question notification because your team Sikuli Drivers 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
Re: [Sikuli-driver] [Question #404563]: Determine if application has been fired up and close it
Question #404563 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/404563 masuo posted a new comment: You have to find out something change of status instead of mouse pointer. https://answers.launchpad.net/sikuli/+question/276328 -- You received this question notification because your team Sikuli Drivers 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
Re: [Sikuli-driver] [Question #404563]: Determine if application has been fired up and close it
Question #404563 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/404563 Shubham Rathi posted a new comment: This almost solves my problem! I just have another quick query. As part of the same job. I also want to trigger a popup after the application has finished loading a large file. When the mouse is loading - it shows up with the loading circle (https://img.buzzfeed.com/buzzfeed-static/static/2014-03/enhanced/webdr05/7/13/grid-cell-16832-1394218439-13.jpg) I want to trigger a popup as soon after the circle is gone ( file has loaded) Does Sikuli have ways to handle cursor behavior? -- You received this question notification because your team Sikuli Drivers 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
Re: [Sikuli-driver] [Question #404563]: Determine if application has been fired up and close it
Question #404563 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/404563 Status: Answered => Solved Shubham Rathi confirmed that the question is solved: Thanks masuo, that solved my question. -- You received this question notification because your team Sikuli Drivers 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
Re: [Sikuli-driver] [Question #404563]: Determine if application has been fired up and close it
Question #404563 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/404563 Status: Open => Answered masuo proposed the following answer: This is an example code , when you allow that responce time is long. notepad=App("notepad") while True: if notepad.isRunning(): popup("oh!") sleep(1) http://sikulix-2014.readthedocs.io/en/latest/appclass.html#general- aspects-hints-and-tipps -- You received this question notification because your team Sikuli Drivers 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
Re: [Sikuli-driver] [Question #404563]: Determine if application has been fired up and close it
Question #404563 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/404563 Description changed to: I have an application which processes a file and returns its output as txt ( via notepad) I want my script to determine if notepad is fired up and if notepad is fired, it go to file > save as. ( I can figure out after fireup) Interesting will be to see how Sikuli would wait until Notepad is fired up. How should one do this in Sikuli? -- You received this question notification because your team Sikuli Drivers 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