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

    Status: Open => Answered

RaiMan proposed the following answer:
after using 
type("c", KEY_CTRL)

the selected text is on the clipboard and can be retrieved from there using
selection = App.getClipboard() # version 1.0.1+

or (deprecated with previous versions)
selection = Env.getClipboard() 

after having modified the selection somehow, use
paste(selection)

to write it back to the currently selected GUI element.

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