Question #150882 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/150882
Status: Open => Answered
RaiMan proposed the following answer:
no exists() command. make your own def():
def txtCompare(txt):
type('a', KEY_CTRL)
type('c', KEY_CTRL)
return txt == Env.getClipboard()
-- usage
# position on the text field
if not txtCompare("should read"): print "we have troubles"; exit()
Hope it helps.
You received this question notification because you are a member of
Sikuli Drivers, which 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