Re: [Sikuli-driver] [Question #240278]: Changing the Windows Theme using Java / Sikuli

2013-12-05 Thread pyCoder
Question #240278 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/240278 Status: Open = Answered pyCoder proposed the following answer: To make scripts attributable screen size, resolution, and themes have to be taken into consideration. simple make users use windows

Re: [Sikuli-driver] [Question #204354]: Use testing methods in Eclipse

2012-07-27 Thread pyCoder
Question #204354 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/204354 Status: Open = Answered pyCoder proposed the following answer: wait is a method of Region. eclipse want to see Region.wait(). Region - http://sikuli.org/docx/region.html#Region.Region wait - http

Re: [Sikuli-driver] [Question #204354]: Use testing methods in Eclipse

2012-07-27 Thread pyCoder
Question #204354 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/204354 pyCoder proposed the following answer: meaning create a Region object and then eclipse's code completion will pick up that there is a method defined #in eclipse from sikuli.Sikuli import

Re: [Sikuli-driver] [Question #204354]: Use testing methods in Eclipse

2012-07-27 Thread pyCoder
Question #204354 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/204354 pyCoder proposed the following answer: you can also do this in eclipse because when the script is exicuted it goes through the normal sikuli processes. but i'm not sure how this might affect your test

Re: [Sikuli-driver] [Question #204354]: Use testing methods in Eclipse

2012-07-27 Thread pyCoder
Question #204354 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/204354 Status: Open = Answered pyCoder proposed the following answer: your answer to your question 1) yes, you pass a path to those methods. extra crap 2) find vs exists. what do you want

Re: [Sikuli-driver] [Question #204354]: Use testing methods in Eclipse

2012-07-27 Thread pyCoder
Question #204354 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/204354 pyCoder proposed the following answer: opps... you add directories that contain your images... sorry was on copy past tangent. # http://sikuli.org/docx/globals.html#addImagePath addImagePath(rC:\path

Re: [Sikuli-driver] [Question #204354]: Use testing methods in Eclipse

2012-07-27 Thread pyCoder
Question #204354 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/204354 Status: Open = Answered pyCoder proposed the following answer: is the image visable? find() will throw an exception if it can't see it. meaning else: clause will never execute if it fails. i recomend

Re: [Sikuli-driver] [Question #204153]: How to provide user input to sikuli script from a file

2012-07-26 Thread pyCoder
Question #204153 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/204153 pyCoder posted a new comment: refined.. your right RaiMan, it's depends on what op needs... if it's like a hundered entries csv method might be better. i took it as a config type. basically if you have

Re: [Sikuli-driver] [Question #204206]: New sikuli version

2012-07-26 Thread pyCoder
Question #204206 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/204206 pyCoder posted a new comment: Good to hear I was getting worried that the project was abandoned/dying. This is too good of a project to let die. -- You received this question notification because you

Re: [Sikuli-driver] [Question #204153]: How to provide user input to sikuli script from a file

2012-07-26 Thread pyCoder
Question #204153 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/204153 pyCoder posted a new comment: Edit: username1 = config.get('user1','username') should be username1 = config.get('user1','user') i hate how this sight doesn't allow edits. -- You received this question

Re: [Sikuli-driver] [Question #204153]: How to provide user input to sikuli script from a file

2012-07-26 Thread pyCoder
Question #204153 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/204153 pyCoder posted a new comment: lmao *site ugh. -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli

Re: [Sikuli-driver] [Question #204177]: Sikuli-Script doesn't find the files in Netbeans

2012-07-25 Thread pyCoder
Question #204177 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/204177 pyCoder proposed the following answer: I'm not too familuar with netbeans but in eclipse, I had to specify that I was using the x86 jvm. and add sikuliscript to the build path. you probably already read

Re: [Sikuli-driver] [Question #204056]: Problem With For loop

2012-07-25 Thread pyCoder
Question #204056 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/204056 pyCoder posted a new comment: 1) You have to explain what is happening better. 2) You have to do more debugging work, on your own. Is the desired image visable for more then 3 seconds before

Re: [Sikuli-driver] [Question #204153]: How to provide user input to sikuli script from a file

2012-07-25 Thread pyCoder
Question #204153 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/204153 pyCoder proposed the following answer: http://www.jython.org/docs/library/configparser.html #inside application config = ConfigParser.ConfigParser() config.read('config.ini') username = config.get

Re: [Sikuli-driver] [Question #203331]: To Verify whether a specific text is displayed or not

2012-07-16 Thread pyCoder
Question #203331 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/203331 Status: Open = Answered pyCoder proposed the following answer: @ Q 1) assert exists(image you want to make sure exists) # Will throw an exception if image not found. @ Q 2) what do you mean capture

Re: [Sikuli-driver] [Question #203331]: To Verify whether a specific text is displayed or not

2012-07-16 Thread pyCoder
Question #203331 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/203331 pyCoder proposed the following answer: how many different words will show up if yo don't want to assert against an image? Does the words matter or do you just want to make sure something has popped up? you

Re: [Sikuli-driver] [Question #197172]: Problem importing the sikuli module into python

2012-05-14 Thread pyCoder
Question #197172 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/197172 Status: Open = Answered pyCoder proposed the following answer: sikuli is Jython you can not use Cpython interperter. that is you problem. you should be using jython 2.5 http://www.jython.org

Re: [Sikuli-driver] [Question #191810]: Writing to a file

2012-04-11 Thread pyCoder
Question #191810 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/191810 pyCoder posted a new comment: or prefix string with r raw string http://www.jython.org/docs/library/re.html#raw-string-notation myLog = open(rD:\yyuyuyu\123.txt, w) -- You received this question

Re: [Sikuli-driver] [Question #184793]: problems launching sikuli with shortcut

2012-01-16 Thread pyCoder
Question #184793 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/184793 pyCoder posted a new comment: i meant this throws the error had had my coffee yet %SystemRoot%/java -cp path-to-sikuli-script.jar org.python.util.jython path-to-script.py %SystemRoot% == C:\windows

Re: [Sikuli-driver] [Question #184793]: problems launching sikuli with shortcut

2012-01-16 Thread pyCoder
Question #184793 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/184793 Status: Answered = Solved pyCoder confirmed that the question is solved: windows 7 both jvm's installed this below works for short cut. C:\Windows\SysWOW64\java.exe -cp C:\Program Files (x86)\Sikuli X

Re: [Sikuli-driver] [Question #184793]: problems launching sikuli with shortcut

2012-01-16 Thread pyCoder
Question #184793 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/184793 pyCoder posted a new comment: i have both jvm's installed and both jdk's all are 6-30 the latested. but i figured it out: this works C:\Windows\SysWOW64\java.exe -cp C:\Program Files (x86)\Sikuli X

Re: [Sikuli-driver] [Question #184793]: problems launching sikuli with shortcut

2012-01-15 Thread pyCoder
Question #184793 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/184793 Description changed to: Okay so my company is switching to 64 bit windows 7 machines. They got me a test setup early so i can prepare for the transition. So now i have to update my scripts to work in the new

[Sikuli-driver] [Question #184792]: problems launching sikuli with shortcut

2012-01-15 Thread pyCoder
New question #184792 on Sikuli: https://answers.launchpad.net/sikuli/+question/184792 Okay so my company is switching to 64 bit windows 7 machines. So now i have to update my scripts to work in the new environment. i have it working in eclipse just fine. but when i did a deployment test i had

[Sikuli-driver] [Question #184793]: problems launching sikuli with shortcut

2012-01-15 Thread pyCoder
New question #184793 on Sikuli: https://answers.launchpad.net/sikuli/+question/184793 Okay so my company is switching to 64 bit windows 7 machines. So now i have to update my scripts to work in the new environment. i have it working in eclipse just fine. but when i did a deployment test i had

Re: [Sikuli-driver] [Question #184793]: problems launching sikuli with shortcut

2012-01-15 Thread pyCoder
Question #184793 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/184793 pyCoder posted a new comment: when i get to work i'll paste in the exact comand string and exact error message. i was messing with it all day friday.. it's hard to work from memory. thanks. -- You received