[Sikuli-driver] [Question #233924]: How is Github's Sikuli related to Bitbucket's Sikuli?

2013-08-12 Thread Jerry Jaskierny
New question #233924 on Sikuli: https://answers.launchpad.net/sikuli/+question/233924 I'm unclear on the relationship between * https://github.com/RaiMan/SikuliX-API * https://bitbucket.org/doubleshow/sikuli-api Can you explain the relationship between the 2 or how they differ? -- You received

Re: [Sikuli-driver] [Question #233921]: How can 1.0.1 sikuli-setup.jar be run with a debug level 3?

2013-08-12 Thread Jerry Jaskierny
Question #233921 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/233921 Jerry Jaskierny gave more information on the question: http://doc.sikuli.org/javadoc/org/sikuli/script/Debug.html says the command should look something like $ java -jar sikuli-setup.jar -Dsikuli.Debug=3 Th

[Sikuli-driver] [Bug 1211527] [NEW] Pattern Match Dialog is not opening

2013-08-12 Thread David Adnitt
Public bug reported: Version: 1.0.1 - released service update OS: Windows 7 The Pattern Match Dialog is not opening when you click on an image. When I do click on an image I get the following error message... Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: org.sikuli.bas

[Sikuli-driver] [Question #233921]: How can 1.0.1 sikuli-setup.jar be run with a debug level 3?

2013-08-12 Thread Jerry Jaskierny
New question #233921 on Sikuli: https://answers.launchpad.net/sikuli/+question/233921 I am getting this error message and would like to follow the recommendation. "If you do not have any idea about the error cause or solution, run again with a Debug level of 3. You might paste the output to the

[Sikuli-driver] [Bug 1211462] [NEW] Image similarity value changes randomly

2013-08-12 Thread keenan-s
Public bug reported: When images are first captured, they have a similarity value of 1.0, and match exactly. However, when a script is run later, the similarity value for images degrades, typically to a value of ~.6, despite the exact same screen being visible. It occurs seemingly at random; typic

Re: [Sikuli-driver] [Question #231861]: sikuli with the android-robot extension? --- not available

2013-08-12 Thread Yolkfull
Question #231861 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/231861 Status: Answered => Solved Yolkfull confirmed that the question is solved: Great, I would expect it though we have tiny tool we developed for android platform to recognize screenshots. Sikuli is really

Re: [Sikuli-driver] [Question #233903]: image not reconized in while loop

2013-08-12 Thread RaiMan
Question #233903 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/233903 Status: Open => Answered RaiMan proposed the following answer: -- 1: a pythonized ;-) and streamline version: patterns = [Pattern("LeftforeLeft.png").targetOffset(-90,-144), Pattern("LeftforeLeft-1.

Re: [Sikuli-driver] [Question #233860]: Region.find or Region.findAll problem

2013-08-12 Thread Jose L
Question #233860 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/233860 Jose L 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 for Si

Re: [Sikuli-driver] [Question #233860]: Region.find or Region.findAll problem

2013-08-12 Thread Jose L
Question #233860 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/233860 Status: Answered => Solved Jose L confirmed that the question is solved: RaiMan, Thank you! This solved my problem. I went by the documentation examples but failed to notice the region (reg) annotatio

[Sikuli-driver] [Question #233903]: image not reconized in while loop

2013-08-12 Thread shankar ganesh
New question #233903 on Sikuli: https://answers.launchpad.net/sikuli/+question/233903 b1=Pattern(Pattern("LeftforeLeft.png").targetOffset(-90,-144)).targetOffset(-90,-144) b2=Pattern(Pattern("LeftforeLeft-1.png").targetOffset(-90,-113)).targetOffset(-90,-111) b3=Pattern(Pattern("Lef

Re: [Sikuli-driver] [Question #233894]: how to save a object to a file

2013-08-12 Thread jack.cai
Question #233894 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/233894 jack.cai 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 for

Re: [Sikuli-driver] [Question #233894]: how to save a object to a file

2013-08-12 Thread jack.cai
Question #233894 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/233894 Status: Answered => Solved jack.cai confirmed that the question is solved: RaiMan, thank you very much. -- You received this question notification because you are a member of Sikuli Drivers, which is a

Re: [Sikuli-driver] [Question #233894]: how to save a object to a file

2013-08-12 Thread RaiMan
Question #233894 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/233894 RaiMan proposed the following answer: this should do it: mport shutil # put it at the beginning of the script import os # put it at the beginning of the script img = "Vefifjf.png" p=find(img) code = capture

Re: [Sikuli-driver] [Question #233894]: how to save a object to a file

2013-08-12 Thread RaiMan
Question #233894 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/233894 RaiMan proposed the following answer: Sorry, copy and paste typos. import shutil # put it at the beginning of the script shutil.move(code, "E:\\WorkPlc\\a.png") # moves it to the permanent storage -- You

Re: [Sikuli-driver] [Question #233894]: how to save a object to a file

2013-08-12 Thread jack.cai
Question #233894 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/233894 jack.cai posted a new comment: Thank you RaiMan. I understand your mean. in fact, above img is a input text, have a Verification Code on img's right so my code as below: p=find("Vefifjf.png") # region of

Re: [Sikuli-driver] [Question #231861]: sikuli with the android-robot extension? --- not available

2013-08-12 Thread RaiMan
Question #231861 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/231861 Status: Open => Answered RaiMan proposed the following answer: you seem to talk about: https://github.com/sikuli/sikuli/tree/develop/extensions/android-robot This never really worked and cannot be used

Re: [Sikuli-driver] [Question #231861]: sikuli with the android-robot extension? --- not available

2013-08-12 Thread Yolkfull
Question #231861 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/231861 Status: Answered => Open Yolkfull is still having a problem: Sorry, not existing source? Does this directory on github contains the source code? sikuli / extensions / android-robot / src / main / java

Re: [Sikuli-driver] [Question #233894]: how to save a object to a file

2013-08-12 Thread RaiMan
Question #233894 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/233894 RaiMan proposed the following answer: Sorry, again: --3. you might copy the picture to some other place using: import shutil # put it at the beginning of the script import os # put it at the beginning of the

Re: [Sikuli-driver] [Question #233894]: how to save a object to a file

2013-08-12 Thread RaiMan
Question #233894 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/233894 Status: Open => Answered RaiMan proposed the following answer: --1. p is a Match object, that only knows, where on the screen the picture Vefifjf.png was found. --2. Why do you want to save a picture, t

Re: [Sikuli-driver] [Question #231861]: sikuli with the android-robot extension? --- not available

2013-08-12 Thread RaiMan
Question #231861 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/231861 Status: Open => Answered RaiMan proposed the following answer: ?-) a not existing extension cannot be compiled from the not existing source ?-) -- You received this question notification because you ar

[Sikuli-driver] [Question #233894]: how to save a object to a file

2013-08-12 Thread jack.cai
New question #233894 on Sikuli: https://answers.launchpad.net/sikuli/+question/233894 find("image") I find a picture in web page, then i want to save this pic to a file, but it fail p=find("Vefifjf.png") f=file("E:\\WorkPlc\\a.jpg","wb") f.write(p) f.close() TypeError: argument 1 must be stri

Re: [Sikuli-driver] [Question #231861]: sikuli with the android-robot extension? --- not available

2013-08-12 Thread Yolkfull
Question #231861 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/231861 Status: Answered => Open Yolkfull is still having a problem: Thanks for the reply. Is there an instruction for compiling the extension from source code? -- You received this question notification becau

Re: [Sikuli-driver] [Question #233667]: xlrd open workbook module not found

2013-08-12 Thread mach81
Question #233667 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/233667 Status: Answered => Solved mach81 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, w

Re: [Sikuli-driver] [Question #233667]: xlrd open workbook module not found

2013-08-12 Thread RaiMan
Question #233667 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/233667 RaiMan proposed the following answer: If you play around with the 1.0.1 preview, you should downlaod again the next days, when the version is offically released. -- You received this question notification b

Re: [Sikuli-driver] [Question #233667]: xlrd open workbook module not found

2013-08-12 Thread RaiMan
Question #233667 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/233667 Status: Open => Answered RaiMan proposed the following answer: Did not say anything about 1.0.0 But if you want to do experiments in the forefront, then you could just use version 1.0.1 preview, which

Re: [Sikuli-driver] [Question #233667]: xlrd open workbook module not found

2013-08-12 Thread mach81
Question #233667 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/233667 Status: Answered => Open mach81 is still having a problem: I have downloaded Sikuli from here - https://launchpad.net/sikuli/+download Sikuli-IDE-1.0.0-Win64.zip Unzipped the files and am currently usi

Re: [Sikuli-driver] [Question #233860]: Region.find or Region.findAll problem

2013-08-12 Thread RaiMan
Question #233860 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/233860 Summary changed to: Region.find or Region.findAll problem -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. _

Re: [Sikuli-driver] [Question #233860]: Region.find or Region.findAll problem

2013-08-12 Thread RaiMan
Question #233860 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/233860 RaiMan proposed the following answer: I just realized, that you are talking about 1.0.1 This is even easier: reg = Region(413,248,680,510) while reg.exists("1376053585710.png"): reg.click() find("13

Re: [Sikuli-driver] [Question #233860]: Region.find or Region.findAll problem in Sikuli Version 1.0.1

2013-08-12 Thread RaiMan
Question #233860 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/233860 Status: Open => Answered RaiMan proposed the following answer: You are not using the defined region to restrict the searches: click() works on the whole screen but reg.click() would only search in the

Re: [Sikuli-driver] [Question #233667]: xlrd open workbook module not found

2013-08-12 Thread RaiMan
Question #233667 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/233667 Status: Open => Answered RaiMan proposed the following answer: --1. xlrd 0.9 definitely does not work with Sikuli (neither RC3 (Jython 2.5.2) nor version 1.0.1 (Jython 2.5.4), since it contains features