Re: [Sikuli-driver] [Question #267835]: How to wait for a duplicated Image (Img already in screen, wait for a duplicated Img)
Question #267835 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/267835 Status: Needs information = Answered RaiMan proposed the following answer: first use exists(image, 0), to check for the existence (with a restricted search area this costs some 10 millisecs). If found then do your findAll(). So there is no need to fiddle around with waittime with findAll (see your other question) -- 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
Re: [Sikuli-driver] [Question #267835]: How to wait for a duplicated Image (Img already in screen, wait for a duplicated Img)
Question #267835 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/267835 Status: Answered = Solved eduardobedoya confirmed that the question is solved: Thanks RaiMan, that solved my question. -- 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
Re: [Sikuli-driver] [Question #267835]: How to wait for a duplicated Image (Img already in screen, wait for a duplicated Img)
Question #267835 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/267835 eduardobedoya posted a new comment: the y axis is predictable the x axis is unpredictable in fact, the region in which Im searching is an horizontal rectangle (all the screen wide size and 300px height) Do I first got to find all previous Matches of the Img So it will count then if another one appear right? what if there is no image at the beginning? Sikuli AutoWaitTime takes hole three seconds if no image is found on screen I guess I would have to set the autowaittime to 1sec and then restore it to 3, cuz in all others findImg actions in my script I would like to wait 3 secs. Isn't any other way to kinda set autowaittime for a single findAll, (like in the wait action or in the exists actions) How would the python code look like? what approach should I follow. THanks Advanced. -- 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
Re: [Sikuli-driver] [Question #267835]: How to wait for a duplicated Image (Img already in screen, wait for a duplicated Img)
Question #267835 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/267835 eduardobedoya posted a new comment: the y axis is predictable the x axis is unpredictable in fact, the region in which Im searching is an horizontal rectangle (all the screen width and 300px height) Do I first got to find all previous Matches of the Img, count them before [run another predifined function] and then count them again, and see if another one appear right? but my problem is when there is no image at the beginning (first count), cuz if so, Sikuli AutoWaitTime takes hole three seconds to set the first count = 0. How can I get the findAll result faster (in 1 sec) if there is not image at the beginning? I guess I would have to set the autowaittime to 1sec before run the first count, and then restore it to 3secs, cuz in all others findImg actions in my script I would like to wait 3 secs. Isn't any other way to kinda set autowaittime for a single findAll, (like in the 'wait' action or in the 'exists' actions which have their own autowaittime that can be set individually in each action), How can I change autowaittime for a single findAll? Is there is another better approach to do this task, please give me a hing of how would the python code look like? THanks Advanced. -- 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
Re: [Sikuli-driver] [Question #267835]: How to wait for a duplicated Image (Img already in screen, wait for a duplicated Img)
Question #267835 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/267835 eduardobedoya posted a new comment: the y axis is predictable the x axis is unpredictable in fact, the region in which Im searching is an horizontal rectangle (all the screen width and 300px height) Do I first got to find all previous Matches of the Img, count them before [run another predifined function] and then count them again, and see if another same Img appear right? but my problem is when there is no image at the beginning (first count), cuz if so, Sikuli AutoWaitTime takes hole three seconds to set the first count = 0. How can I get the findAll result faster (in 1 sec) if there is not image at the beginning? I guess I would have to set the autowaittime to 1sec before run the first count, and then restore it to 3secs, cuz in all others findImg actions in my script I would like to wait 3 secs. Isn't any other way to kinda set autowaittime for a single findAll, (like in the 'wait' action or in the 'exists' actions which have their own autowaittime that can be set individually in each action), or any other action that could replace the findAll, that could have its own autowaitime that could be set individually in each action? Is there is another better approach to do this task, please give me a hint of how the python code would look like? THanks Advanced. -- 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
Re: [Sikuli-driver] [Question #267835]: How to wait for a duplicated Image (Img already in screen, wait for a duplicated Img)
Question #267835 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/267835 Summary changed to: How to wait for a duplicated Image (Img already in screen, wait for a duplicated Img) -- 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
Re: [Sikuli-driver] [Question #267835]: How to wait for a duplicated Image (Img already in screen, wait for a duplicated Img)
Question #267835 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/267835 Status: Open = Needs information Manfred Hampl requested more information: Are you able to predict in which part of the screen the new image will appear or is this unpredictable? -- 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