Question #294807 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/294807
Karl proposed the following answer:
Python doesn't use use the += syntax. What language are you using?
onAppear uses a handler with an associated event that observe() throws
to start that handler.
def myHandler(event):
print "myImage just appeared"
onAppear("myimage.png", myHandler) #Note: this isn't a function call is where
the function is
observe(60, background=True) #Deprecated background, use observeInBackground
http://sikulix-2014.readthedocs.io/en/latest/region.html?highlight=observe#Region.observeInBackground
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp