Re: [Sikuli-driver] [Question #667819]: Even though the script is saved, saved has to be clicked again before running

2018-04-11 Thread RaiMan
Question #667819 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/667819 RaiMan posted a new comment: in such cases always first start a question. -- You received this question notification because your team Sikuli Drivers is an answer contact for Sikuli. __

Re: [Sikuli-driver] [Question #667817]: Extract text from image and save txt file

2018-04-11 Thread RaiMan
Question #667817 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/667817 Status: Open => Answered RaiMan proposed the following answer: As Jython/SikuliX I cannot see, where a function image_to_string() is defined. Some imports missing? -- You received this question notifi

[Sikuli-driver] [Question #667819]: Even though the script is saved, saved has to be clicked again before running

2018-04-11 Thread Marc Summers
New question #667819 on Sikuli: https://answers.launchpad.net/sikuli/+question/667819 Even though my test has been saved many times the test will not run unless I click on File -> Save first, before I run the test again. And no matter how many times I have saved the test each time I want to run

Re: [Sikuli-driver] [Question #667819]: Even though the script is saved, saved has to be clicked again before running

2018-04-11 Thread RaiMan
Question #667819 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/667819 Status: Open => Answered RaiMan proposed the following answer: what Java version? already tried with latest 1.1.3 nightly build? In the Preferences -> more options: is the option "save before run" swit

[Sikuli-driver] [Bug 1762788] Re: Even though the script is saved, saved has to be clicked again before running

2018-04-11 Thread RaiMan
in such cases always first start a question. ** Changed in: sikuli Status: New => Invalid ** Converted to question: https://answers.launchpad.net/sikuli/+question/667819 -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. ht

Re: [Sikuli-driver] [Question #667819]: Even though the script is saved, saved has to be clicked again before running

2018-04-11 Thread Marc Summers
Question #667819 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/667819 Marc Summers posted a new comment: java version "1.8.0_161" Java(TM) SE Runtime Environment (build 1.8.0_161-b12) Java HotSpot(TM) 64-Bit Server VM (build 25.161-b12, mixed mode) I did not yet try the 1.1.3

Re: [Sikuli-driver] [Question #667819]: Even though the script is saved, saved has to be clicked again before running

2018-04-11 Thread RaiMan
Question #667819 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/667819 RaiMan proposed the following answer: run form command line: http://sikulix-2014.readthedocs.io/en/latest/faq/010-command-line.html#how-to-run-sikulix-from-command-line in your case, in a command line window

Re: [Sikuli-driver] [Question #667819]: Even though the script is saved, saved has to be clicked again before running

2018-04-11 Thread Marc Summers
Question #667819 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/667819 Marc Summers posted a new comment: This is the log output if I do not click File -> Save before running the test. Exception in thread "AWT-EventQueue-0" java.awt.IllegalComponentStateException: component m

Re: [Sikuli-driver] [Question #667819]: Even though the script is saved, saved has to be clicked again before running

2018-04-11 Thread RaiMan
Question #667819 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/667819 RaiMan requested more information: what happens, if you put a wait(2) after the last click() (that does not work always) and run it without FileSave before? -- You received this question notification beca

[Sikuli-driver] [Question #667831]: Check for 2 images in 1 region

2018-04-11 Thread Conor Lavelle
New question #667831 on Sikuli: https://answers.launchpad.net/sikuli/+question/667831 Hi, I am new to sikuli but I am trying to get a script to wait for either image A or image B to appear in the same region. type(Key.F8) while not REGION.exists(img1) or REGION.exists(img2): wait(0.5) ty

Re: [Sikuli-driver] [Question #667831]: Check for 2 images in 1 region

2018-04-11 Thread RaiMan
Question #667831 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/667831 Status: Open => Answered RaiMan proposed the following answer: more verbose but clearer: while True: if REGION.exists(img1, 0) or REGION.exists(img2, 0): break wait(0.5) type(Key.F8) For such sit

Re: [Sikuli-driver] [Question #667831]: Check for 2 images in 1 region

2018-04-11 Thread Conor Lavelle
Question #667831 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/667831 Conor Lavelle posted a new comment: Hi Raiman, Thanks for your reply! type(Key.F8) while True: if Region(402,465,298,280).exists(img1,0) or Region(379,489,272,203).exists(Pattern(img2),0): wait

Re: [Sikuli-driver] [Question #667831]: Check for 2 images in 1 region

2018-04-11 Thread RaiMan
Question #667831 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/667831 RaiMan proposed the following answer: go back and read again - you did not get it all ;-) the break was really intended! -- You received this question notification because your team Sikuli Drivers is an an

Re: [Sikuli-driver] [Question #667831]: Check for 2 images in 1 region

2018-04-11 Thread Conor Lavelle
Question #667831 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/667831 Status: Answered => Solved Conor Lavelle confirmed that the question is solved: Thanks! All working now! -- You received this question notification because your team Sikuli Drivers is an answer contact

[Sikuli-driver] [Bug 1762381] Re: [1.1.2] App.open() is not returning the instance --- workaround

2018-04-11 Thread RaiMan
** Summary changed: - [1.1.2] App.open() is not returning the instance. + [1.1.2] App.open() is not returning the instance --- workaround ** Description changed: + -- workaround + use + App app = new App("C:\\Program Files (x86)\\Microsoft Office\\root\\Office16\\EXCEL.EXE").ope

[Sikuli-driver] [Bug 1762381] Re: [1.1.2] App.open() is not returning the instance --- docs have to be adjusted

2018-04-11 Thread RaiMan
** Summary changed: - [1.1.2] App.open() is not returning the instance --- workaround + [1.1.2] App.open() is not returning the instance --- docs have to be adjusted ** Changed in: sikuli Status: In Progress => Fix Committed ** Description changed: - -- workaround - use -

Re: [Sikuli-driver] [Question #667819]: Even though the script is saved, saved has to be clicked again before running

2018-04-11 Thread Marc Summers
Question #667819 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/667819 Status: Answered => Solved Marc Summers confirmed that the question is solved: OK, for right now my problem is solved, in that I changed the technique of invocation. Meaning that I am now running the tes