This utility provides a simple Automator action that can generate mouse clic events.

The short video bellow shows how to use voice commands to do a secondary (right) clic simply by talking to your computer.

This Automator action gives you the ability to build:

  • a service that is able to do a clic using a keyboard shortcut;
  • a voice command to clic without the hand.

Automator is also a great way to adapt your Mac to your needs and improve its accessibility.

<div style="position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;">
  <iframe allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen="allowfullscreen" loading="eager" referrerpolicy="strict-origin-when-cross-origin" src="https://www.youtube.com/embed/rkuo5OiQu84?autoplay=0&controls=1&end=0&loop=0&mute=0&start=0" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border:0;" title="YouTube video"
  ></iframe>
</div>

Install

The installation package of this tool can be downloaded for free.

Important

Since macOS Mojave, you need to explicitely authorize third party actions

If you do not authorize thrird party actions, you won’t be able to use them in Automator processes.

MouseBot_1.0.0.pkg (5,5Mo)
Free download of the installation package

A short help is available from the main window. It will explain main configuration issues you could encounter.

Please contact me if you encounter other ones.

Dictation Command

You can create a voice command in only few simple steps. You will then be able to control your Mac using the voice.

  1. launch Automator;
  2. create a new “dictation command” process;
  3. add the “mouse clic” action;
  4. select the “right” button for clic and only check the “mouse down” option.

Save this command. You have to set a proper sentence as “dictation command” and check the “command enabled” option.

The first time you will launch the command, the system will ask for the permission to control computer using the accessibility tools.

Just follow the instructions as described in the video above to enable the new dictation command and run it with the voice.


Credits : Thanks to Stéphane Sudre for the Packages sofware used to build the installation package of this utility. Also thanks to Guillaume Gete for letting me know about it.