Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

SimonAndrew

macrumors newbie
Original poster
May 12, 2016
6
3
I want to create a macro of some kind that will just click the mouse. not move it anywheres or anything. will just click wherever the mouse is on the screen. I want to do this so that I can set up, in the dictation preferences, a voice command that will click the mouse.

How can I do this? I tried MurGaa, and it allows me to click in a recorded spot. and create a shortcut for it. but it only seems to allow one at any time. and it will only click the recorded spot.

So my end goal is to be able to say Computer Click Mouse, and then the mouse click. How can I create the keyboard shortcut for this that I can link to my mouse. Or do this some other way?
 
What about System Preferences > Accessibility > Mouse & Trackpad > Enable Mouse Keys ?
Num Pad Key '5' would then make a click...
 
Was it worth it?
Are you asking, if it was worth buying a Numeric Pad? Sure, it was! I use it frequently for calculations or navigating in 3D Applications. Indeed, I do have an additional numeric keypad by LMP that could be a little more reliable ;-) Anyway, more often I'm using a wired Apple Keyboard that does include a NumPad...

Fortunately, you won't need a numeric keyboard at all. E.g. on a MBP you could type 'I' on the internal Keyboard or '5' on the NumPad while 'Enable Mouse Keys' is activated for a click.
https://support.apple.com/en-au/HT204434#mousekeys
https://forums.macrumors.com/threads/how-to-mouse-click-using-keyboard.718218/

I never tried to map an action to a voice command, so I can't help with that. If you managed it, report back, please ...
 
Are you asking, if it was worth buying a Numeric Pad? Sure, it was! I use it frequently for calculations or navigating in 3D Applications. Indeed, I do have an additional numeric keypad by LMP that could be a little more reliable ;-) Anyway, more often I'm using a wired Apple Keyboard that does include a NumPad...

Fortunately, you won't need a numeric keyboard at all. E.g. on a MBP you could type 'I' on the internal Keyboard or '5' on the NumPad while 'Enable Mouse Keys' is activated for a click.
https://support.apple.com/en-au/HT204434#mousekeys
https://forums.macrumors.com/threads/how-to-mouse-click-using-keyboard.718218/

I never tried to map an action to a voice command, so I can't help with that. If you managed it, report back, please ...

I was asking if you enjoyed giving a smart response. I stated in both the title and the post that I was not interested in mousekeys. I can only assume you are trying to be funny
 
I can only assume you are trying to be funny
For me Mousekeys and Mouse Keys had some different meaning (physical keys and software setting). Obviously my fault! Sorry, I didn't want to spam your thread. Maybe this is more helpful https://stackoverflow.com/questions/38766699/applescript-click-at-mouse-position

EDIT: For completeness of this post, I'd suggest the use of the third party Command Line Tool cliclick https://github.com/BlueM/cliclick. Then make an AppleScript with a do shell script command or simply a bash script that does a click at the current mouse position. Finally call that script with Dictate or Siri.
 
Last edited:
  • Like
Reactions: SimonAndrew
For me Mousekeys and Mouse Keys had some different meaning (physical keys and software setting). Obviously my fault! Sorry, I didn't want to spam your thread. Maybe this is more helpful https://stackoverflow.com/questions/38766699/applescript-click-at-mouse-position

EDIT: For completeness of this post, I'd suggest the use of the third party Command Line Tool cliclick https://github.com/BlueM/cliclick. Then make an AppleScript with a do shell script command or simply a bash script that does a click at the current mouse position. Finally call that script with Dictate or Siri.

Oh no worries. I thought you were trying to be a troll. But I believe you had good intentions then. :)
 
  • Like
Reactions: organicCPU
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.