hold Shift then click an image.

Asked by Mueller

That's it. I can't seem to find the correct wording to have the Shift key held while clicking on a specific image. I am not sure it's an action that can be preformed by this program yet, but if so, please let me know.

Thanks for your time,
J

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

Try

click(image, KEY_SHIFT)

image has to be something you captured before

Revision history for this message
Mueller (jamuell22) said :
#2

That's what I assumed it would be, but it just won't work. I keep getting the invalid key code message. I even added the image earlier in the code, so It would be something I captured before, like in your suggestion. Is that what you meant by captured before?

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

Someone else reported similar case with OS X 10.6. click modifiers don't work.

I made up a bug. If you are OS X, just report you are affected (upper left area). If Windows, please add a comment in addition.

https://bugs.launchpad.net/sikuli/+bug/519916

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

With version 0.9.9 problem solved.

Can you help with this problem?

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

To post a message you must log in.