Mac Desktop Automation
Let’s state the obvious: repetitive tasks are boring. You don’t want to sit in front of your Mac, open one hundred PDF invoices and retype the order number into a spreadsheet? Would it not be easier if you could click one button and got the job done for you?
To goal of this blog post is to give a short and concise overview of all available Mac desktop automation tools. We separate this overview in
- Mac command line tools (suited for developers)
- Mac Keyboard Macro tools
- Mac RPA software (Robotic Process Automation)
Mac Command Line Automation Tools
AppleScript
AppleScript is a scripting language created by Apple and it is built in to OS X. It allows users to directly control scriptable Macintosh applications, as well as parts of macOS itself. You can create scripts—sets of written instructions—to automate repetitive tasks, combine features from multiple scriptable applications, and create complex workflows.
As the name suggests, this a tool for developers, roughly similar to Powershell for Windows or bash files on Linux. Bash files can be used, on a Mac, too, of course, but they are even more complicated.
Hammerspoon
This is another command line tool for Mac automation. At its core, Hammerspoon is just a bridge between the operating system and a Lua scripting engine. So, you need to learn the Lua scripting language in order to use it.
Appium for Mac
Appium comes from the software quality assurance world. Iits main goal is to help with automated testing of desktop applications.
CliClick
If you are looking for a simple autoclicker tool for Mac, this is the best one we know. For example in this RPA forum post CliClick is used to click the space key on the keyboard.
Mac Keyboard Macro tools
macOS built-in Automator
Yes, macOS has had a built-in automation solution for a long time. It’s aptly called Automator.
Automator allows you to create workflows, where you can add individual actions. With Automator you use a graphical user interface (GUI) to create workflows—a number of actions grouped together to reduce repetitive tasks.
For example, it’s simple to create an Automator workflow that takes any number of photos and resizes them to a specific size.
Keyboard Maestro
Keyboard Maestro is a powerful third-party Mac automation app. With it you string together actions to form macros. There is very little about OS X that Keyboard Maestro cannot control. It is the Mac equivalent of the Windows Macro Recorder.
It is almost as powerful as AppleScript but a lot simpler to use. That said, although it uses a GUI, there is still a learning curve. It struggles to automate functions within apps rather than between them. (Typ: For automating task within an app, use RPA software below)
Alfred
Alfred is an app designed to save you time with Mac shortcuts and convenient custom actions. You can use it in a variety of ways. For example, you can access Alfred’s clipboard memory so you don’t copy and paste the same material over and over, or set up custom workflows to automate some of your most repetitive tasks.
TextExpander
TextExpander has one purposes and it does it exceptionally well: it takes a short string of text and expands it into a much longer string. For example, you can have a snippet such that when you enter .eml it expands out to your full email address. Completely focused on text expansion rather than trying to handle many different automation functions. It is very easy to use. The drawback is, obviously, that it can only be used for text expansion.
RPA software
RPA software is the newest and most modern automation approach to Mac automation. It can “see”. It uses image recognition and OCR to automate desktop tasks. Thus it can automate what you see on a computer monitor. So, for example, unlike all the other tools listed on this page, RPA software can read data from an invoice or from a video, and then make a decision based on this value.
The selection of RPA software for the Mac is small. All of the dinosaur brands like UIPath, Microsoft Flow or AutomationAnywhere are available for Windows only. However, there is our UI Vision RPA software – it is a cross-platform tool that runs natively on the MacOS and can do Mac desktop automation just as well as Windows and Linux desktop automation.