sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #09388
[Question #190786]: Env.getClipBoard returns empty string when running from a remote connection
New question #190786 on Sikuli:
https://answers.launchpad.net/sikuli/+question/190786
Hello,
I am using Sikuli together with an automation tool.
The automation tool connects to a remote target machines (proprietary protocol), and calls an executable that calls Sikuli.
When I run the executable locally on the target machine, everything works fine. When I call the same executable remotely, the executable scripts run, Sikuli is called but I can't get anything with getClipBoard.
The code looks something like this:
[...]
type(Key.TAB)
type(Key.SPACE)
type("c", KEY_CTRL)
package = Env.getClipboard()paste(text)
if len(package) == 0 :
print "Package is empty!"
sys.exit(1)
print("Package selected :" + package)
[...]
The script runs with SYSTEM user on Window 7.
Any idea?
Thanks a lot in advance.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.