Re: [Sikuli-driver] [Question #693582]: Is there way in sikuli to wait for an element until its visible ? ? ?

2020-11-08 Thread Launchpad Janitor
Question #693582 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/693582 Status: Open => Expired Launchpad Janitor expired the question: This question was expired because it remained in the 'Open' state without activity for the last 15 days. -- You received this question no

Re: [Sikuli-driver] [Question #693582]: Is there way in sikuli to wait for an element until its visible ? ? ?

2020-10-23 Thread Kogul
Question #693582 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/693582 Status: Answered => Open Kogul is still having a problem: Hi Railman, Thanks for the reply and solution. I will implement the above solution get back here if there is any hurdle in the implementation.

Re: [Sikuli-driver] [Question #693582]: Is there way in sikuli to wait for an element until its visible ? ? ?

2020-10-23 Thread RaiMan
Question #693582 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/693582 Status: Open => Answered RaiMan proposed the following answer: Boolean success = null; for (int n=0; n < 3600; n++) { if (screen.exists("failed.png", 0)) {success = false; break} if (screen.exists("s

Re: [Sikuli-driver] [Question #693582]: Is there way in sikuli to wait for an element until its visible ? ? ?

2020-10-22 Thread Kogul
Question #693582 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/693582 Status: Answered => Open Kogul is still having a problem: Thanks for the reply, I like to give you a clear picture. In my application, the text changes dynamically on the screen. the text I need to capt

Re: [Sikuli-driver] [Question #693582]: Is there way in sikuli to wait for an element until its visible ? ? ?

2020-10-22 Thread masuo
Question #693582 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/693582 Status: Open => Answered masuo proposed the following answer: if set zero to second parameter of "exists", "exists" return without wait. #1 example "If you want to check in sequence at that moment" #1 e

Re: [Sikuli-driver] [Question #693582]: Is there way in sikuli to wait for an element until its visible ? ? ?

2020-10-22 Thread Kogul
Question #693582 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/693582 Status: Answered => Open Kogul is still having a problem: Thanks for the reply, but it did not solve my problem. The script should dynamically wait for a text, as soon as the text visible on the screen,

Re: [Sikuli-driver] [Question #693582]: Is there way in sikuli to wait for an element until its visible ? ? ?

2020-10-22 Thread masuo
Question #693582 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/693582 Status: Open => Answered masuo proposed the following answer: I'm not using Java. Please read javadoc. https://raiman.github.io/SikuliX1/javadocs/org/sikuli/script/Region.html#findAny(java.lang.Object...

Re: [Sikuli-driver] [Question #693582]: Is there way in sikuli to wait for an element until its visible ? ? ?

2020-10-22 Thread Kogul
Question #693582 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/693582 Status: Answered => Open Kogul is still having a problem: Can you please write it in java? Am using sikuli api in eclipse, using java as a programming language On Thu, 22 Oct, 2020, 11:05 pm masuo, w

Re: [Sikuli-driver] [Question #693582]: Is there way in sikuli to wait for an element until its visible ? ? ?

2020-10-22 Thread masuo
Question #693582 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/693582 Status: Open => Answered masuo proposed the following answer: If you want to determine whether image A or image B exists at that moment imagelist = [imageA, imageB] mm = findAny(imagelist) for m in mm: