← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #208257]: type(KeyModifier.CTRL + KeyModifier.SHIFT) now working

 

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

    Status: Open => Answered

Bekir Dogru proposed the following answer:
I guess you can use it as:

type(Key.SHIFT, KeyModifier.CTRL)

but if you need these two buttons to be kept pressed then you need to
do:

keyDown(Key.SHIFT)
keyDown(Key.CTRL)
#Your code is here
keyUp()

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.