Question #153326 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/153326
Status: Open => Answered
RaiMan proposed the following answer:
--1. collect the users username and password
what do you mean with collect?
Get it as a dialog input? - then use input()
Get it from somewhere on the screen? - use Region.text() or select mouse action
with copy to clipboard and Env.getClipboard()
Read it from a file? - use Python file() and read()
with any of these methods, username and password are stored into respective
variables
for more details look at the docs: http://sikuli.org/docx/
--2. later use the username and password
you have to position focus/cursor on the respective input fields and use
paste() for the text input stored into variables before and type() for the
keyboard actions. (see faq 933)
--
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