Re: [Sikuli-driver] [Question #235378]: How to use Wait() or Click() with multi screens?

2013-10-12 Thread RaiMan
Question #235378 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/235378 RaiMan posted a new comment: can you send me your implementation silently to my private mail at https://launchpad.net/~raimund-hocke The feature definitely is on the list. But I did not decide yet how to

Re: [Sikuli-driver] [Question #235378]: How to use Wait() or Click() with multi screens?

2013-10-12 Thread RaiMan
Question #235378 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/235378 Linked to bug: #1239108 https://bugs.launchpad.net/bugs/1239108 [request] want Region methods to search on multiple screens with one method call -- You received this question notification

Re: [Sikuli-driver] [Question #235378]: How to use Wait() or Click() with multi screens?

2013-10-12 Thread RaiMan
Question #235378 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/235378 RaiMan posted a new comment: made it a request bug -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli.

Re: [Sikuli-driver] [Question #235378]: How to use Wait() or Click() with multi screens?

2013-10-11 Thread Parn Yin
Question #235378 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/235378 Parn Yin posted a new comment: I've created my own functions which can search on multiple screeens. However, it would be convenient if it's built in Sikuli. Excuse me, will Sikuli change the functions

Re: [Sikuli-driver] [Question #235378]: How to use Wait() or Click() with multi screens?

2013-09-10 Thread RaiMan
Question #235378 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/235378 RaiMan posted a new comment: Sorry, my fault (Screen(i) for i in range(Screen.getNumberScreens())) is only the generator. to produce a list with it: either screens = [Screen(i) for i in

Re: [Sikuli-driver] [Question #235378]: How to use Wait() or Click() with multi screens?

2013-09-10 Thread Parn Yin
Question #235378 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/235378 Parn Yin posted a new comment: Yeah, I see! Thank you, my mentor! -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli.

[Sikuli-driver] [Question #235378]: How to use Wait() or Click() with multi screens?

2013-09-09 Thread Parn Yin
New question #235378 on Sikuli: https://answers.launchpad.net/sikuli/+question/235378 I've read this part: http://doc.sikuli.org/screen.html#multi-monitor-environments So I know how to get the screens like Screen(0), Screen(1). But how to use it with Wait() or Click()? I searched the Anwsers on

Re: [Sikuli-driver] [Question #235378]: How to use Wait() or Click() with multi screens?

2013-09-09 Thread Parn Yin
Question #235378 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/235378 Parn Yin posted a new comment: Now in my script, I want to do this operation: I'm waiting for one picture which may be displayed in 10-20 seconds. When it's displayed, click it. But it may display on

Re: [Sikuli-driver] [Question #235378]: How to use Wait() or Click() with multi screens?

2013-09-09 Thread RaiMan
Question #235378 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/235378 Status: Open = Answered RaiMan proposed the following answer: Since we basically are in a Java environment, you would be supposed to write each function as someRegion.function() where someRegion is a

Re: [Sikuli-driver] [Question #235378]: How to use Wait() or Click() with multi screens?

2013-09-09 Thread Parn Yin
Question #235378 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/235378 Status: Answered = Solved Parn Yin 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,

Re: [Sikuli-driver] [Question #235378]: How to use Wait() or Click() with multi screens?

2013-09-09 Thread Parn Yin
Question #235378 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/235378 Parn Yin posted a new comment: By the way, If Sikuli has a function or parameter for searching(used for click, wait, exists...) on all the screens, that would be wonderful. :) -- You received this question

Re: [Sikuli-driver] [Question #235378]: How to use Wait() or Click() with multi screens?

2013-09-09 Thread RaiMan
Question #235378 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/235378 RaiMan posted a new comment: at comment #4: is on the list ;-) -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli.

Re: [Sikuli-driver] [Question #235378]: How to use Wait() or Click() with multi screens?

2013-09-09 Thread RaiMan
Question #235378 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/235378 RaiMan posted a new comment: currently only this: someImage = image.png screens = (Screen(i) for i in range(Screen.getNumberScreens()) start = time.time() while time.time()-start 20 found = False

Re: [Sikuli-driver] [Question #235378]: How to use Wait() or Click() with multi screens?

2013-09-09 Thread Parn Yin
Question #235378 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/235378 Parn Yin posted a new comment: Reply to Comment #5: After testing, it seems that it can't work well. The loop if s.exists(someImage, 0): is executed only once. RaiMan, Do you know the reason? After lots of