How do I Option-Command-Click on OSX (10.6) ?

Asked by nitwit

Near as I can figure, the syntax for a option-command-click on an image is

click(<image>, KEY_ALT | KEY_CMD)
[which, judging from the message log, is the same as click(<image>, modifiers=12)]

However, this, judging from the output, does not produce a option-command-click. What am I doing wrong?

[Similarly, I would have thought click(<image>, KEY_ALT) to be the syntax for a control-click. Nonetheless, this doesn't produce the same output as rightClick(<image>)]

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

Have you taken care, that before the click, the app you want to get the click has the focus (with swichApp() e.g.)?

Anyway, I found that with my Snow Leo click(<image>, KEY_CTRL), does not work (this should simulate a right click). It produces a sound "don't click me that way".

I will report a bug.

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

I made up a bug. Just report you are affected (upper left area).

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

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

Version 0.9.9 problem fixed

Can you help with this problem?

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

To post a message you must log in.