← Back to team overview

sikuli-driver team mailing list archive

[Question #647999]: Having trouble getting Env.getClipboard to work again? It used to work in previous projects, but is not working here.

 

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

Here is my code:

click("1499974350527.png")



type("a", KeyModifier.CTRL)
wait(1)
type("c", KeyModifier.CTRL)
wait(1)
Text = Env.getClipboard()
print Text


This function copies the text properly (I can paste it afterwards), but does not assign anything to Text and print Text returns nothing.

Any insight is appreciated. Thanks

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