How to empty the clipboard in SikuliX?

Asked by Stranger

I know there is function Env.getClipboard(), so I want to know How to empty the clipboard in SikuliX? Thanks

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
masuo (masuo-ohara) said :
#1

Simple way is to paste zero byte string.

paste("")

Can you help with this problem?

Provide an answer of your own, or ask Stranger for more information if necessary.

To post a message you must log in.