Re: [Sikuli-driver] [Question #265633]: Is there a way to change the default autoWaitTimeout() for all Regions? --- use Settings.AutoWaitTimeout

2015-04-22 Thread aidma
Question #265633 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/265633 Status: Answered = Solved aidma confirmed that the question is solved: Oh, I was looking in the Settings section of the docs (http://sikulix-2014.readthedocs.org/en/latest/scripting.html#Settings

Re: [Sikuli-driver] [Question #265633]: Is there a way to change the default autoWaitTimeout() for all Regions? --- use Settings.AutoWaitTimeout

2015-04-22 Thread aidma
Question #265633 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/265633 aidma 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, which is an answer contact

[Sikuli-driver] [Question #265633]: Is there a way to change the default autoWaitTimeout() for all Regions?

2015-04-21 Thread aidma
New question #265633 on Sikuli: https://answers.launchpad.net/sikuli/+question/265633 It's possible to set the default MinSimilarity for find operations with Settings.MinSimilarity(). Is there something similar for autoWaitTimeout()? (I'm imagining something like

Re: [Sikuli-driver] [Question #265611]: Can't get PyDev to recognize sikuli import

2015-04-21 Thread aidma
Question #265611 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/265611 aidma posted a new comment: Oh... Shoot. My understanding of how Sikuli works has been radically changed. I thought that the undotted functions were special class methods. For example, I though

Re: [Sikuli-driver] [Question #265611]: Can't get PyDev to recognize sikuli import

2015-04-21 Thread aidma
Question #265611 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/265611 Status: Answered = Solved aidma 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

[Sikuli-driver] [Question #265611]: Can't get PyDev to recognize sikuli import

2015-04-21 Thread aidma
New question #265611 on Sikuli: https://answers.launchpad.net/sikuli/+question/265611 I have sikuli setup to work with Eclipse via PyDev, but I've been having difficulty getting Pydev to recognize the 'sikuli' package found in '../sikulixapi.jar/Lib'. The code runs properly, my only problem is

Re: [Sikuli-driver] [Question #265611]: Can't get PyDev to recognize sikuli import

2015-04-21 Thread aidma
Question #265611 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/265611 aidma posted a new comment: Adding 'C:\Users\USER\AppData\Roaming\Sikulix\Lib' to the PyDev Python Path works. So I'll do that for now, but it isn't what's described by https://github.com/RaiMan/SikuliX-2014

Re: [Sikuli-driver] [Question #265404]: Using Region.highlight() conflicts with Find() operations in that Region

2015-04-18 Thread aidma
Question #265404 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/265404 Status: Answered = Solved aidma 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 #265404]: Using Region.highlight() conflicts with Find() operations in that Region

2015-04-18 Thread aidma
Question #265404 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/265404 aidma posted a new comment: Oops, I meant translate, not transpose. When I was using a Windows 7 computer with multi-monitor setup Region.highlight() would shift the highlighted region downwards

Re: [Sikuli-driver] [Question #265317]: Unable to use 'capture()' function if Sikulix-IDE is not running

2015-04-17 Thread aidma
Question #265317 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/265317 Status: Answered = Solved aidma 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

[Sikuli-driver] [Question #265317]: Unable to use 'capture()' function if Sikulix-IDE is not running

2015-04-16 Thread aidma
New question #265317 on Sikuli: https://answers.launchpad.net/sikuli/+question/265317 When I try to use the 'capture()' keyword outside of the Sikulix-IDE I get the following error: print capture(Region(0, 0, 50, 50)) java.io.FileNotFoundException: C:\Users\aidma\AppData\Local\Temp\Sikulix

Re: [Sikuli-driver] [Question #263735]: how to get text from region and save at array?????

2015-03-17 Thread aidma
Question #263735 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/263735 Status: Open = Answered aidma proposed the following answer: First you need to get the text from a region and store it in a variable. For example, I have a region with the text: The quick brown fox

Re: [Sikuli-driver] [Question #263676]: Unable to use Sikuli, Adding stuff to jars terminated improperly

2015-03-17 Thread aidma
Question #263676 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/263676 Status: Open = Answered aidma proposed the following answer: Did you get the download from here: https://launchpad.net/sikuli/sikulix/1.0.1 and follow the instructions (download in an empty folder

Re: [Sikuli-driver] [Question #263563]: Selenium test using Sikuli can't click on image when run from Jenkins

2015-03-17 Thread aidma
Question #263563 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/263563 Status: Open = Needs information aidma requested more information: Could you try capturing a region? I'm curious what Sikuli is able to see. Try getting Jenkins to run a script with the following code

Re: [Sikuli-driver] [Question #263610]: addImagePath() not changing the ImagePath

2015-03-13 Thread aidma
Question #263610 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/263610 Status: Needs information = Solved aidma confirmed that the question is solved: Oof. You're right. addImagePath(path) works fine with the 1.1.0 2015-01-16_01:00nightly. -- You received this question

Re: [Sikuli-driver] [Question #263533]: The Sikuli IDE closes and nothing happens on click

2015-03-13 Thread aidma
Question #263533 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/263533 Status: Open = Answered aidma proposed the following answer: Look under the Get It header of RaiMan's link. You should see two buttons. Each leads to a different version of sikuli. Choose your own

[Sikuli-driver] [Question #263610]: addImagePath() not changing the ImagePath

2015-03-13 Thread aidma
org.sikuli.basics.SikulixForJython from sikuli import * getImagePath() [] addImagePath(C:\\Users\\aidma) getImagePath() [] ImagePath.add(C:\\Users\\aidma) False getImagePath() [] As you can see, the imagePath() is not being modified. Interestingly, the imagePath *does* change when I

Re: [Sikuli-driver] [Question #263462]: Redirecting the Sikuli Logger and the setLogger: Jython init: we have problems Error

2015-03-12 Thread aidma
Question #263462 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/263462 Status: Answered = Open aidma is still having a problem: I tried creating myLogger in the SikuliIDE 1.1.0 and it worked as expected. Unfortunately I am still unable to get it working from within

Re: [Sikuli-driver] [Question #263563]: Selenium test using Sikuli can't click on image when run from Jenkins

2015-03-12 Thread aidma
Question #263563 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/263563 Status: Open = Answered aidma proposed the following answer: Could the problem be that Jenkins is running the browser as a background service. If the browser is not being displayed during Jenkins Builds

Re: [Sikuli-driver] [Question #263498]: How to open an saved excel file

2015-03-12 Thread aidma
Question #263498 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/263498 Status: Open = Answered aidma proposed the following answer: I'm not quite sure what's being asked here... Do you want to (1) use Sikuli to open the file within the Excel application, or (2) use Sikuli

Re: [Sikuli-driver] [Question #263462]: Redirecting the Sikuli Logger and the setLogger: Jython init: we have problems Error

2015-03-10 Thread aidma
Question #263462 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/263462 Status: Answered = Open aidma is still having a problem: I'm glad I was able to help improve the docs :D! Unfortunately, I still can't get Debug.setLogger(obj) to accept my custom logger class. Instead

Re: [Sikuli-driver] [Question #263444]: How to compare 2 regions

2015-03-10 Thread aidma
Question #263444 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/263444 aidma posted a new comment: I don't have a solution, but I would like to point out a few things. 1. With regards to: if tableRegion == tableRegion1: print 2 regions are similar! You are using

[Sikuli-driver] [Question #263462]: Redirecting the Sikuli Logger and the setLogger: Jython init: we have problems Error

2015-03-10 Thread aidma
New question #263462 on Sikuli: https://answers.launchpad.net/sikuli/+question/263462 Hi, I am trying to redirect log messages as explained here: http://sikulix-2014.readthedocs.org/en/latest/scripting.html#writing-and-redirecting-log-and-debug-messages. Unfortunately, when I try to

Re: [Sikuli-driver] [Question #263436]: Jython Script works in Eclipse, but not in Command Prompt

2015-03-10 Thread aidma
Question #263436 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/263436 Status: Answered = Solved aidma confirmed that the question is solved: I thought that the PYTHONPATH and CLASSPATH were the same thing when using Jython. You have corrected my error. I've added

Re: [Sikuli-driver] [Question #263436]: Jython Script works in Eclipse, but not in Command Prompt

2015-03-10 Thread aidma
Question #263436 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/263436 aidma 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, which is an answer contact

Re: [Sikuli-driver] [Question #263462]: Redirecting the Sikuli Logger and the setLogger: Jython init: we have problems Error

2015-03-10 Thread aidma
Question #263462 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/263462 Status: Answered = Solved aidma confirmed that the question is solved: Awesome! Today's sikulixapi.jar works like a charm! Thanks for all your help :D By the way, I noticed that omitting self

Re: [Sikuli-driver] [Question #263462]: Redirecting the Sikuli Logger and the setLogger: Jython init: we have problems Error

2015-03-10 Thread aidma
Question #263462 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/263462 aidma 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, which is an answer contact

Re: [Sikuli-driver] [Question #263323]: Any way to turn off error logs?

2015-03-09 Thread aidma
Question #263323 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/263323 aidma 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, which is an answer contact

Re: [Sikuli-driver] [Question #263323]: Any way to turn off error logs?

2015-03-09 Thread aidma
Question #263323 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/263323 Status: Answered = Solved aidma confirmed that the question is solved: Perfect! Redirecting logs is exactly what I need! -- You received this question notification because you are a member of Sikuli

[Sikuli-driver] [Question #263436]: Jython Script works in Eclipse, but not in Command Prompt

2015-03-09 Thread aidma
New question #263436 on Sikuli: https://answers.launchpad.net/sikuli/+question/263436 My Jython script runs properly when run in eclipse, but fails when run via command line. I have Sikuli 1.1.0 set up in Eclipse per the instructions found here: