another possibility is this: Pattern_Before_Remove.waitVanish("MyImage.png",120)
which is faster since it does not search the whole screen. -- You received this bug notification because you are a member of Sikuli Drivers, which is subscribed to Sikuli. https://bugs.launchpad.net/bugs/1495973 Title: fatal error 999 / doFind: invalid parameter Status in Sikuli: Invalid Bug description: +++ running this Java java version "1.8.0_60" Java(TM) SE Runtime Environment (build 1.8.0_60-b27) Java HotSpot(TM) Client VM (build 25.60-b23, mixed mode, sharing) +++ trying to run SikuliX +++ using: -Xms64M -Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar U:\generic\SIKULI\sikulix.jar -r C:\Users\Administrateur\AppData\Local\Temp\TAuto\Setup\Server_Uninstall.sikuli --stderr -d 3 [debug] RunTimeINIT: loadOptions: check: C:\Users\Administrateur\AppData\Local\Temp\TAuto\TESTDATA [debug] RunTimeINIT: loadOptions: check: C:\Users\Administrateur [debug] RunTimeINIT: loadOptions: check: C:\Users\Administrateur\AppData\Roaming\Sikulix\SikulixStore [debug] RunTimeINIT: global init: entering as: IDE [debug] RunTimeINIT: ScreenDevice 0 has (0,0) --- will be primary Screen(0) [debug] RunTimeINIT: Monitor 0: (0, 0) 1280 x 960 [debug] RunTimeINIT: fSxBase: U:\generic\SIKULI [debug] RunTimeINIT: runs as sikulix.jar in: U:\generic\SIKULI [debug] RunTimeINIT: exists libs folder at: C:\Users\Administrateur\AppData\Roaming\Sikulix\SikulixLibs_201509150100 [debug] RunTimeINIT: addToWindowsSystemPath: added to systempath: .... Result = wait("MyImage.png") Pattern_Before_Remove = Result.nearby() <various actions> WaitResult = waitVanish(Pattern_Before_Remove,120) [debug] Region: find: waiting 3,0 secs for R[473,385 282x118]@S(0)[0,0 1280x960] E:Y, T:3,0 to appear in R[0,0 1280x960]@S(0) [error] Region: doFind: invalid parameter: R[473,385 282x118]@S(0)[0,0 1280x960] E:Y, T:3,0 [error] ***** Terminating SikuliX after a fatal error 999 ***** It makes no sense to continue! 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 Q&A board. [debug] Sikulix: cleanUp: 0 [debug] RunTimeIDE: final cleanup To manage notifications about this bug go to: https://bugs.launchpad.net/sikuli/+bug/1495973/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~sikuli-driver Post to : sikuli-driver@lists.launchpad.net Unsubscribe : https://launchpad.net/~sikuli-driver More help : https://help.launchpad.net/ListHelp