Question #243198 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243198

obiwan-92 proposed the following answer:
Thrid method :

If you can select your text (with a doubleClick), do :
type('c', KeyModifier.CTRL) # get the selected text in your clipboard
text1 = Env.getClipboard() # get it in run time
# Do the same thing for the text 2 and :
if text1 == text2 : print "they are identical"
else: print "they are not identical"

-- 
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

Reply via email to