-----------------------------------------------------
Environment: WIndows7 Sikuli 1.0.1 IDE
-----------------------------------------------------
when I run the script below, observe() does not wait for the appear event to occur,but "print()" runs immediately.
------- ------- ------- ------- ------- ------- ------- ----
Environment: WIndows7 Sikuli 1.0.1 IDE
------- ------- ------- ------- ------- ------- ------- ----
when I run the script below, observe() does not wait for the appear event to occur,but "print()" runs immediately.
------- ------- ------- ------- ------- ------- ------- ----
script:
def handler(event): event.type)
print(
stopObserver()
def test(): "recycle. png",handler)
onAppear(
observe()
print("end")
------- ------- ------- ------- ------- ------- ------- ----
test result:
print "end"