Question #196356 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/196356
Status: Open => Answered
RaiMan proposed the following answer:
...
openApp ("notepad.exe")
wait(3) # to get the editor window ready and focused
paste( str(sh.col(0)[1].value) )
type(Key.ENTER) # to add a newline
Why don't you write directly into a file using the Python features?
f = open("some_file.txt", "w")
f.write(str(sh.col(0)[1].value))
f.close()
--
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