Question #660530 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/660530
Status: Open => Answered
RaiMan proposed the following answer:
Your type(doc) is logged as
[log] TYPE "510#ENTER."
this means, that your doc variable is string, that is ended with a \n,
which in turn is interpreted as an type(Key.ENTER), which surely
activates some ok button.
type(doc.strip()) might help (strips white space from beginning and end
of string)
--
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