Hi Polly:
Glad to hear you’re making progress…
Below are two scripts for what (I think) you most wanted. They need to be saved individually (as scripts… not text files or applications) from Script Editor… suitably named, and placed in the Speakable Items folder (as I think you’ve been doing).
In the Speech pref pane, under Speech Recognition ‘Settings’, I’ve now set the keyword to ‘On’ and made it ‘Required before each command’, in the ‘Keyword is:’ option. (Experience with the keyword as ‘Optional before commands’ led to some surprising results when (e.g.) I coughed or sighed loudly.)
I’ve named the two scripts ‘Click’ and ‘Double’ respectively… and they seem to work pretty reliably.
I haven’t had much luck yet with a control click… but will keep at it if you need it.
Note that there are a lot of Speakable Items available by default. I moved most of the ones I’d never use to a folder within Speakable Items and renamed the ones I might use regularly to more simple spoken commands.
However, ‘phonetics’ are important… similarly named commands or scripts may confuse Speech Recognition, even when using a keyword… and I’ve had to rename some commands to be recognized more readily (e.g. ‘Highed’ works better than ‘Hide’, ‘Male’ works better than ‘Mail’).
Also note that Speech Recognition seems to require a ‘teaching’ session (sometimes) of 2-3 repeated spoken attempts to run a newly named (or renamed) script… and sometimes, some names just don’t work that well.
Finally, (it probably goes without saying) Speech Recognition is not likely to work well (if at all) in a noisy room or listening to music (without headphones).
Hope this moves you along.
I’ll check back soon.
Peter B.
tell application "Extra Suites"
ES click mouse
end tell
tell application "Extra Suites"
ES click mouse with double click
end tell
tell application "System Events" to key down control
tell application "Extra Suites" to ES click mouse
tell application "System Events" to key up control
–
(PS - The third script above should effect a control click. It seems to work better than the ‘ES click mouse with option’ variation.)