← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #141032]: How to use the Key Modifiers?

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
I just looked at the docs: http://sikuli.org/docx/keys.html

and I admit, there should be some examples ;-)

# close a window in Windows
type(Key.F4, KEY_ALT)

# type ctrl-alt-esc 
type(Key.ESC, KEY_CTRL + KEY_ALT)
or equivelant
type(Key.ESC, KEY_CTRL | KEY_ALT)

hope it helps.

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