version 2.0.3 type("c",Key.CTRL) not in Env.getClipboard()
Using Version 2.0.3
I am unable to get save a new value in the clipboard.
I've tried the following:
keyDown(Key.CTRL)
wait(1) # the waits were added in case that was an issue
doubleClick(
wait(1)
keyUp()
wait(3)
type("c",Key.CTRL)
wait(3)
value = Env.getClipboard()
print value # returns last thing I copied and not what was highlighted on the screen when ctrl+c was sent
drag(Region(
dropAt(
wait(0.25)
type("c",Key.CTRL)
wait(0.15)
value = Env.getClipboard()
print value # returns last thing I copied and not what was highlighted on the screen when ctrl+c was sent
I also can't get the mouse click + ctrl combo to work:
click(Region(
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Aaron Prince for more information if necessary.