Question #254203 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/254203

RaiMan posted a new comment:
have you tried

type("c", Key.CTRL)

before experimenting with the Robot class yourself?

If you need to handle individual keys, we have

key.Down(Key.CTRL)
wait(100)
type("c")
keyUp()

both solutions  would replace the sequence
Robot robot = new Robot();
robot.keyPress(KeyEvent.CTRL_DOWN_MASK);
robot.delay(100);
robot.keyPress(KeyEvent.VK_C);
robot.delay(50);
robot.keyRelease(KeyEvent.VK_C);
robot.delay(100);
robot.keyRelease(KeyEvent.CTRL_DOWN_MASK);

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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

Reply via email to