This is still broken on Sikuli-X-1.0rc1-win32

I am running Windows Vista.

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is the registrant for Sikuli.
https://bugs.launchpad.net/bugs/604514

Title:
  Observe() not working on Windows

Status in Sikuli:
  Fix Committed

Bug description:
  Win7-32, 0.10.1

onAppear(any-visible-image); observe()
the observation loops infinite, though the image gets visible and would be 
matched by a find()

onVanish(any-visible-image); observe()
the observation loop finishes at once, though the image is still visible

the test script:

def myH(e):
   popup("Hello")
   stopObserver()

imgObs =
if not exists(imgObs, 0):
 onAppear(imgObs, myH)
else:
 onVanish(imgObs, myH)

popup("Start")
observe()
popup("End")

the script behavior is controlled, by either hide or unhide the image before it 
is run and then unhide/hide it respectively, by dragging around a window on the 
desktop.

All this works perfectly on Mac 10.6



_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to