Re: [Sikuli-driver] [Question #163103]: Input from data stream to GUI Textbox

2011-07-17 Thread Launchpad Janitor
Question #163103 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/163103 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

Re: [Sikuli-driver] [Question #163291]: Run Sikuli Scripts Unattended?

2011-07-17 Thread Launchpad Janitor
Question #163291 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/163291 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

[Sikuli-driver] [Question #165137]: Using multiple screenshots inside exists()

2011-07-17 Thread Benjamin Alijagić
New question #165137 on Sikuli: https://answers.launchpad.net/sikuli/+question/165137 So I have two samples of buttons that might show up and I need a way to put them inside a exists(). Something like exists(screenshot1 or screenshot2) but that is of course not working. Anyone? -- You

Re: [Sikuli-driver] [Question #165137]: Using multiple screenshots inside exists()

2011-07-17 Thread Benjamin Alijagić
Question #165137 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/165137 Benjamin Alijagić gave more information on the question: One more question... The script I'm trying to build is something like a little farmer bot, so it click on some wheat, then clicks on reap button and

Re: [Sikuli-driver] [Question #165137]: Using multiple screenshots inside exists()

2011-07-17 Thread RaiMan
Question #165137 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/165137 Status: Open = Answered RaiMan proposed the following answer: --- first question which = None while True: if exists(button1, 0): which = button1 break if exists(button2, 0):

Re: [Sikuli-driver] [Question #165137]: Using multiple screenshots inside exists()

2011-07-17 Thread RaiMan
Question #165137 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/165137 RaiMan proposed the following answer: --- second question lastClick = getLastMatch() # center of last clicked/found image current = Region(lastClick.x, lastClick.y, 1, 1) # where we want to look around