sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #05260
Re: [Question #170984]: Using the native getClipboard method in eclipse
Question #170984 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/170984
Status: Open => Answered
RaiMan proposed the following answer:
I just tested the following:
Clipboard cb = Toolkit.getDefaultToolkit().getSystemClipboard(); // only
once
and then some iterations:
System.out.println(cb.getContents(null));
works fine.
So I guess, you can only get the clipboard once per app, but access it
many times using this singled object.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.