Re: [Sikuli-driver] [Question #642404]: Read lines from a file and pause for hotkey?

2017-06-10 Thread RaiMan
Question #642404 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/642404 RaiMan proposed the following answer: SikuliX talks Python ;-) break jumps out of a loop -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. _

Re: [Sikuli-driver] [Question #642404]: Read lines from a file and pause for hotkey?

2017-06-10 Thread Julian Moorhouse
Question #642404 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/642404 Julian Moorhouse posted a new comment: Sorry I actually meant, how would I exit the line for loop. If there and exitfor perhaps ? -- You received this question notification because your team Sikuli Drivers

Re: [Sikuli-driver] [Question #642404]: Read lines from a file and pause for hotkey?

2017-06-10 Thread RaiMan
Question #642404 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/642404 RaiMan proposed the following answer: instead of popup use popAsk(), which has a yes/no choice. see: http://sikulix-2014.readthedocs.io/en/latest/interaction.html#popAsk -- You received this question notifi

Re: [Sikuli-driver] [Question #642404]: Read lines from a file and pause for hotkey?

2017-06-09 Thread Julian Moorhouse
Question #642404 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/642404 Julian Moorhouse posted a new comment: To make things perfect, could I somehow exit the file loop. I'm thinking I could use an input popup or a yes / no popup. Thoughts ? -- You received this question noti

Re: [Sikuli-driver] [Question #642404]: Read lines from a file and pause for hotkey?

2017-06-09 Thread Julian Moorhouse
Question #642404 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/642404 Julian Moorhouse posted a new comment: >Should the process wait for a key-press after each line? Yes. A popup sounds ideal :) -- You received this question notification because your team Sikuli Drivers is

Re: [Sikuli-driver] [Question #642404]: Read lines from a file and pause for hotkey?

2017-06-09 Thread Manfred Hampl
Question #642404 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/642404 Status: Open => Answered Manfred Hampl proposed the following answer: What exactly do you want? Should the process wait for a key-press after each line? In my opinion in such case some kind of popup wou

Re: [Sikuli-driver] [Question #642404]: Read lines from a file and pause for hotkey?

2017-06-09 Thread Julian Moorhouse
Question #642404 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/642404 Julian Moorhouse gave more information on the question: Hmmm I could perhaps but the hotkey check around the pause -- You received this question notification because your team Sikuli Drivers is an answer co

Re: [Sikuli-driver] [Question #642404]: Read lines from a file and pause for hotkey?

2017-06-09 Thread Julian Moorhouse
Question #642404 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/642404 Status: Solved => Open Julian Moorhouse is still having a problem: Oops I didn't mean to mark that as answer. Thanks, however I really need to wait until a hotkey is pressed rather than wait for a fixed

Re: [Sikuli-driver] [Question #642404]: Read lines from a file and pause for hotkey?

2017-06-09 Thread Julian Moorhouse
Question #642404 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/642404 Status: Answered => Solved Julian Moorhouse confirmed that the question is solved: Thanks RaiMan, that solved my question. -- You received this question notification because your team Sikuli Drivers is

Re: [Sikuli-driver] [Question #642404]: Read lines from a file and pause for hotkey?

2017-06-09 Thread RaiMan
Question #642404 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/642404 Status: Open => Answered RaiMan proposed the following answer: for line in theFile: while running: print line # print line in sikuli click("1330680438453.png"), type(line) will not work, s

[Sikuli-driver] [Question #642404]: Read lines from a file and pause for hotkey?

2017-06-08 Thread Julian Moorhouse
New question #642404 on Sikuli: https://answers.launchpad.net/sikuli/+question/642404 I'd like to iterate through lines in from a file. Using each line to paste or type that line into an application. I'd then like to wait for some interaction perhaps via a hotkey. I've managed to find this examp