[Sikuli-driver] [Question #147764]: Basic If usage: Look for image, if not found skip to

2011-03-04 Thread T
New question #147764 on Sikuli: https://answers.launchpad.net/sikuli/+question/147764 I'm using sikuli to book into gym classes online for my work colleagues. I have the basic functionality working, but one of the flaws about the log in process is that if someone logs in to check their details

Re: [Sikuli-driver] [Question #147764]: Basic If usage: Look for image, if not found skip to

2011-03-04 Thread RaiMan
Question #147764 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/147764 Status: Open = Answered RaiMan proposed the following answer: find() cannot be used in if/elif/while, since it does not return if not found, but stops the script with a FindFailed exception. The

Re: [Sikuli-driver] [Question #147764]: Basic If usage: Look for image, if not found skip to

2011-03-04 Thread RaiMan
Question #147764 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/147764 Related FAQ set to: if not found image skip to --- use exists() instead of find() https://answers.launchpad.net/sikuli/+faq/1501 RaiMan proposed the following answer: RaiMan suggests this

[Sikuli-driver] [Bug 729141] [NEW] Windows 7 32: can't do screen capture in Sikuli X 1.0 RC2

2011-03-04 Thread Roman Podolyan
Public bug reported: The problem emerge after upgrade from 10.2 to X 1.0 RC2. After I try to capture (by clicking Click() or Capture button) the Sikuli IDE just disappears from screen, and then no overlay and interface for capturing, nothing (process javaw remains in memory). Capturing with the

[Sikuli-driver] [Bug 729260] [NEW] setROI updates the constant variable SCREEN

2011-03-04 Thread Will P
Public bug reported: Calling setROI(smaller_region) changes the global variable SCREEN, which I assume is meant to be constant. The __str__ function of SCREEN also isn't updated to reflect the change. print SCREEN print SCREEN.getW() setROI(Region(0,0,100,100) print SCREEN print SCREEN.getW()