Re: [Sikuli-driver] [Question #693680]: [error] Env.getClipboard: cannot open system clipboard

2020-10-29 Thread James Panteleone
Question #693680 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/693680

Status: Needs information => Open

James Panteleone gave more information on the question:
what would be the most stable way to clear the clipboard contents?

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


Re: [Sikuli-driver] [Question #693680]: [error] Env.getClipboard: cannot open system clipboard

2020-10-28 Thread James Panteleone
Question #693680 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/693680

Status: Needs information => Open

James Panteleone gave more information on the question:
--- clipboard.setContents(StringSelection(""), None)   , sets the
clipboard to a null state so i assure i dont carry the previous variable
to the next variable.

[error] Env.getClipboard: cannot open system clipboard   - is the error.
I slowed down the copy and move clipboard data to a variable with
sleep(1) on either side, before and after each and it still happens.

This has worked for 8+ months on this computer.  I tested the same
program on my laptop and it works without error.  Running it routinely
on the laptop is not possible.

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

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp


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

2020-10-27 Thread James Panteleone
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.

___
Mailing list: https://launchpad.net/~sikuli-driver
Post to : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp