← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #220351]: KeyModifier namespace

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
The key modifiers SHIFT, CTRL, CMD, WIN and META are only available as
keys with the function keyDown():

keyDown(Key.WIN); keyUp()

But currently Key.WIN and Key.META create a Java error when used.

Use the following shortcut instead to open the start menu:

type(Key.ESC, KeyModifier.CTRL)

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