← Back to team overview

sikuli-driver team mailing list archive

[Question #693680]: [error] Env.getClipboard: cannot open system clipboard

 

New question #693680 on Sikuli:
https://answers.launchpad.net/sikuli/+question/693680

I have used these programs for many years and in the past few days i have been troubled with errors while accessing the system clipboard.

It's not on every use in my program.  I collect data off the screen from a special spreadsheet.  I used to be able to collect hundreds of lines but as of a couple of days ago, i get this error on the third or fourth line (copying ~15 elements).

clipboard.setContents(StringSelection(""), None)
sleep(1)
type("c", KEY_CTRL)
DOB = Env.getClipboard().strip()

Maybe i'm using some old methods.

SikuliXIDE-2.0.4
JRE 8
Windows 10

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