← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #680268]: Holding down CTRL+SHIFT+ALT: use keyDown(Key.CTRL + Key.SHIFT + Key.ALT)

 

Question #680268 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/680268

Oleg posted a new comment:
Maybe it will be useful to someone.
I wanted to switch the language using sikuli. 
That is, press the combination ALT + SHIFT.
This code didn't work
    keyDown(Key.ALT + Key.SHIFT)
    keyUp(Key.ALT + Key.SHIFT)
This code worked:
    keyDown(Key.ALT + Key.SHIFT)
    keyUp(Key.ALT + Key.SHIFT)
    keyUp(Key.ALT + Key.SHIFT)

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