← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #669258]: Is there any way to write strings to clipboard from SikuliX script?

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
as there is a getter:
http://sikulix-2014.readthedocs.io/en/latest/globals.html#App.getClipboard

there is also a setter: (another hidden feature ;-)
App.setClipboard(aString)

Be aware: the string should be UTF8 encoded if it should contain non-
ASCII characters.

Interesting idea, to use the clipboard as "some pipe" ;-)

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.