How to simulate Ctrl-Insert? type(KeyModifier.CTRL + Key.INSERT)

Asked by Ray Sims

I am trying to simulate holding down the Ctrl Key then depressing the Insert key.

The following doesn't seem to work..

type(KeyModifier.CTRL + Key.INSERT)

Thanks for your help.

Ray Sims
Dallas, Texas

Sikuli version: X-1.0rc3 (r905)
Windows 7 - 64-Bit

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

this is a question.

Revision history for this message
RaiMan (raimund-hocke) said :
#2

It seems, that the docs are not clear enough.

it has to be:

type(Key.INSERT, KeyModifier.CTRL)

The KeyModifier.XXXX have to be in the second parameter, more than one concatenated with +

Can you help with this problem?

Provide an answer of your own, or ask Ray Sims for more information if necessary.

To post a message you must log in.