Re: [Sikuli-driver] [Question #169982]: while not exists(image, FOREVER) seems not to work

2011-09-03 Thread RaiMan
Question #169982 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/169982 Summary changed to: while not exists(image, FOREVER) seems not to work -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli.

Re: [Sikuli-driver] [Question #169982]: while not exists(image, FOREVER) seems not to work

2011-09-03 Thread RaiMan
Question #169982 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/169982 Status: Open => Answered RaiMan proposed the following answer: Even if it would work correctly, it will never do, what you want: while not RegionA.exists(Blue.png,FOREVER): since exists(image, FOREVER)

Re: [Sikuli-driver] [Question #168326]: Watching process utilization to augment PSL

2011-09-03 Thread RaiMan
Question #168326 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/168326 RaiMan proposed the following answer: I admit, that I did not test it on Linux but on Mac. this is my top command: top usage: top [-a | -d | -e | -c ] [-F | -f]

Re: [Sikuli-driver] [Question #169454]: [Java] using type with key events in eclipse

2011-09-03 Thread RaiMan
Question #169454 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/169454 RaiMan posted a new comment: @Vince Screen s = new Screen(); s.type(null, Key.F4, KeyModifier.ALT); see docs: http://sikuli.org/docx/keys.html#key-constants -- You received this question notification beca

Re: [Sikuli-driver] [Question #169928]: on appear of image which is already there

2011-09-03 Thread RaiMan
Question #169928 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/169928 Status: Open => Answered RaiMan proposed the following answer: have this somewhere inside your loop: if exists(image): break you might restrict exists() to a region, to make it fast and robust: if reg.

Re: [Sikuli-driver] [Question #169927]: how to operate a date picker with click()

2011-09-03 Thread RaiMan
Question #169927 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/169927 Summary changed to: how to operate a date picker with click() -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. _

Re: [Sikuli-driver] [Question #169927]: date picker

2011-09-03 Thread RaiMan
Question #169927 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/169927 Status: Open => Answered RaiMan proposed the following answer: the easiest way might be to calculate the click positions and use them randomized. The calculation is based on the geometry of the calendar

Re: [Sikuli-driver] [Question #169939]: Clear browser cache?

2011-09-03 Thread RaiMan
Question #169939 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/169939 Status: Open => Answered RaiMan proposed the following answer: I do not know, what folks using to achieve this, but I think, that this is not possible using Sikuli's App class in it's current shape

Re: [Sikuli-driver] [Question #167056]: Any way to use Sikuli Java API to compare two screenshot file captured by other tools like webdriver?

2011-09-03 Thread RaiMan
Question #167056 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/167056 RaiMan proposed the following answer: Have a look at the Finder class: http://sikuli.org/docx/finder.html#Finder A Finder returns a match iterator, which is empty, if not found. Finder does not throw excepti

Re: [Sikuli-driver] [Question #169939]: App(Browser).open(): Clear browser cache at start up?

2011-09-03 Thread RaiMan
Question #169939 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/169939 Summary changed to: App(Browser).open(): Clear browser cache at start up? -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli. _

Re: [Sikuli-driver] [Question #169982]: while not exists(image, FOREVER) seems not to work

2011-09-03 Thread RaiMan
Question #169982 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/169982 RaiMan proposed the following answer: I made the following test wish latest build of rc3: while not exists(img, FOREVER): print "not found" print "found" It works as expected: -- "not found" is not prin

Re: [Sikuli-driver] [Question #169982]: while not exists(image, FOREVER) seems not to work

2011-09-03 Thread RaiMan
Question #169982 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/169982 RaiMan proposed the following answer: I just realized another bug in your script: It should be: click(RegionB.getLastMatch()) because you want to click the last match that was recorded in RegionB w

Re: [Sikuli-driver] [Question #169982]: while not exists(image, FOREVER) seems not to work

2011-09-03 Thread Geirdaz
Question #169982 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/169982 Status: Answered => Open Geirdaz is still having a problem: Thanks i think i have another problem here while True: while not RegionA.exists(Blue.png,FOREVER): RegionB.wait(Yellow.png,FOREVER) <

Re: [Sikuli-driver] [Question #169982]: while not exists(image, FOREVER) seems not to work

2011-09-03 Thread RaiMan
Question #169982 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/169982 Status: Open => Answered RaiMan proposed the following answer: I do not know, what is happening on your machine, but Yellow should never be clicked with your snippet: RegionA.exists(Blue.png,FOREVER) on

Re: [Sikuli-driver] [Question #169982]: while not exists(image, FOREVER) seems not to work

2011-09-03 Thread Geirdaz
Question #169982 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/169982 Status: Answered => Open Geirdaz is still having a problem: My script 1. Blue (absent) in RegionA 2. Yellow (present) in RegionB 3. Click Yellow 4. Loop eg of my situation 1. Blue (absent) in RegionA 2.

Re: [Sikuli-driver] [Question #169982]: while not exists(image, FOREVER) seems not to work

2011-09-03 Thread RaiMan
Question #169982 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/169982 Status: Open => Answered RaiMan proposed the following answer: --- Your script Again: if this is still your script: while True: while not RegionA.exists(Blue.png,FOREVER): RegionB.wait(Yellow.p

Re: [Sikuli-driver] [Question #169982]: while not exists(image, FOREVER) seems not to work

2011-09-03 Thread Geirdaz
Question #169982 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/169982 Status: Answered => Solved Geirdaz 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 #170013]: How to write "if not exists 2 image for 2 regions"

2011-09-03 Thread Geirdaz
New question #170013 on Sikuli: https://answers.launchpad.net/sikuli/+question/170013 regionA = (w,x,y,z) regionB = (w,x,y,z) if not regionA.exists(img1.png) and not regionB.exists(img2.png): click(img3.png) so i want to write a script that would do click img3.png when img1.png and img2.png are

Re: [Sikuli-driver] [Question #170013]: How to write "if not exists 2 image for 2 regions"

2011-09-03 Thread Geirdaz
Question #170013 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/170013 Status: Open => Solved Geirdaz confirmed that the question is solved: Sorry it seemed my script worked sorry -- You received this question notification because you are a member of Sikuli Drivers, which

[Sikuli-driver] [Question #143611]: Status of bug #711129 changed to 'Fix Committed' in Sikuli

2011-09-03 Thread Tsung-Hsiang Chang
Bug #711129 status changed in Sikuli: Triaged => Fix Committed https://bugs.launchpad.net/sikuli/+bug/711129 "X 1.0rc1: [Java] using setROI() a match's region is reported relative to ROI top left, not screen's top left" This bug is linked to #143611. X 1.0rc1: [Java] using setROI() a match

[Sikuli-driver] [Bug 711129] Re: X 1.0rc1: [Java] using setROI() a match's region is reported relative to ROI top left, not screen's top left

2011-09-03 Thread Tsung-Hsiang Chang
** Changed in: sikuli Status: Triaged => Fix Committed -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/711129 Title: X 1.0rc1: [Java] using setROI() a match's region is reported relative t

[Sikuli-driver] [Bug 529050] Re: [request] Class VDict needs basic iterator funtionality

2011-09-03 Thread Tsung-Hsiang Chang
** Changed in: sikuli Milestone: x1.0-rc3 => None -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/529050 Title: [request] Class VDict needs basic iterator funtionality Status in Sikuli: New

[Sikuli-driver] [Question #141004]: Status of bug #695720 changed to 'Fix Committed' in Sikuli

2011-09-03 Thread Tsung-Hsiang Chang
Bug #695720 status changed in Sikuli: New => Fix Committed https://bugs.launchpad.net/sikuli/+bug/695720 "X-1.0rc2: "with Region:" and "Region.click()" with App().window() --- workaround" This bug is linked to #141004. Sikuli X 1.0rc1: Windows: with Region: not usable https://answers.launc

[Sikuli-driver] [Question #139625]: Status of bug #695720 changed to 'Fix Committed' in Sikuli

2011-09-03 Thread Tsung-Hsiang Chang
Bug #695720 status changed in Sikuli: New => Fix Committed https://bugs.launchpad.net/sikuli/+bug/695720 "X-1.0rc2: "with Region:" and "Region.click()" with App().window() --- workaround" This bug is linked to #139625. [Sikuli X] "with Region:" and "Region.click()" fail when using region r

[Sikuli-driver] [Bug 695720] Re: X-1.0rc2: "with Region:" and "Region.click()" with App().window() --- workaround

2011-09-03 Thread Tsung-Hsiang Chang
** Changed in: sikuli Status: New => Fix Committed -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/695720 Title: X-1.0rc2: "with Region:" and "Region.click()" with App().window() --- worka

[Sikuli-driver] [Bug 840759] [NEW] StackOverflowError on QuickCapture

2011-09-03 Thread ShmenonPie
Public bug reported: When I attempt to take a screenshot using the Sikuli IDE (after fixing the "libraries not found" error without the help of the utterly useless answer linked to on the official site, but that's a different story), I get a cryptic and fun error message, included in the attached

[Sikuli-driver] [Bug 840759] Re: StackOverflowError on QuickCapture

2011-09-03 Thread ShmenonPie
** Attachment added: "The error message in full." https://bugs.launchpad.net/bugs/840759/+attachment/2351243/+files/error.txt -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/840759 Title: StackO

[Sikuli-driver] [Question #150386]: Status of bug #718941 changed to 'Fix Committed' in Sikuli

2011-09-03 Thread Tsung-Hsiang Chang
Bug #718941 status changed in Sikuli: In Progress => Fix Committed https://bugs.launchpad.net/sikuli/+bug/718941 "[request] [Java] Improved javadoc" This bug is linked to #150386. Will there be a smaller jar file with JavaDoc for Java? https://answers.launchpad.net/sikuli/+question/150386

Re: [Sikuli-driver] [Question #140519]: Sikuli X - Windows - libraries not found - Win32Util.dll - problems when running a script

2011-09-03 Thread ShmenonPie
Question #140519 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/140519 ShmenonPie posted a new comment: I fixed this the following way (for 32 bit systems with JRE7, if you're on 64, I suspect it'll still work but you'll need to change %PROGRAMFILES% to %PROGRAMFILES(X86)%): Op

[Sikuli-driver] [Bug 777029] Re: X-1.0rc2: copy log from Message window looses formatting --- needs some support

2011-09-03 Thread Tsung-Hsiang Chang
** Changed in: sikuli Status: Confirmed => Fix Committed -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/777029 Title: X-1.0rc2: copy log from Message window looses formatting --- needs so

[Sikuli-driver] [Bug 718941] Re: [request] [Java] Improved javadoc

2011-09-03 Thread Tsung-Hsiang Chang
** Changed in: sikuli Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/718941 Title: [request] [Java] Improved javadoc Status in Sikuli: Fix Committed

[Sikuli-driver] [Question #144046]: Status of bug #697604 changed to 'Fix Committed' in Sikuli

2011-09-03 Thread Tsung-Hsiang Chang
Bug #697604 status changed in Sikuli: In Progress => Fix Committed https://bugs.launchpad.net/sikuli/+bug/697604 "[request] message concept for stdout/sterr" This bug is linked to #144046. How do I hide [Info] lines so I can see relevant debug statements? https://answers.launchpad.net/sikul

[Sikuli-driver] [Bug 697604] Re: [request] message concept for stdout/sterr

2011-09-03 Thread Tsung-Hsiang Chang
** Changed in: sikuli Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/697604 Title: [request] message concept for stdout/sterr Status in Sikuli: Fix C