Syncing Macros with Keyboard Maestro

Syncing Macros with Keyboard Maestro

Those of you who regularly visit my blog can’t fail to have noticed that I’ve been reasonably quiet over the last few months! It’s been a busy time, that’s for sure, with lots of work, involving both coaching and consultancy. This has led to a change in my setup and workflows and I can’t wait to share some of this with you - which I will, in good time. 

One of the main changes has been moving into a new office space. No more camping out on the kitchen table when working from home - I need room and, most importantly, separation from my young children so as to maximise my work time. 

I picked up a refurbished iMac for the office, so as to keep my MacBook Pro for travelling and delivering workshops and I think there may be at least fifty different posts I could write about working from two different machines! 

One of the first things I’d noticed was the sheer number of Keyboard Maestro macros that I had developed over the last few years on my MacBook Pro. So many! Some are as simple as keyboard shortcuts for applications, others are more complex that will run a script automatically at a given time. It’s fair to say that I didn’t fancy re-creating these, so I started looking at the easiest way to export them in bulk and transfer them to my new machine. 

This process is easy enough, however I quickly realised that as soon as I created a new macro on one machine, I’d need to export/import it onto the other. 

I know what you’re thinking as you read this - it’s true, I can be amazingly thick at times. Of course an application as advanced as Keyboard Maestro is going to have some form of real-time synchronisation available. 

This is how you set it up:

1 - Open Preferences within Keyboard Maestro on the source machine (this will be the machine that has the most up-to-date version of all of your macros)

2 - On the General tab, select the option for syncing Macros

3 - You will be asked whether you wish to create a new file, or open an existing one. As this is the first machine of the pair, select Create New and choose a location to store the sync file. This needs to be a cloud storage provider in order to allow the file to be read from the different locations. As I use iCloud Drive, I created a folder called Keyboard Maestro Macros and stored the file in there. 

km2.png
 
km3.png

4 - On the secondary machine, check the box for Sync Macros and this time select Open Existing. Navigate to the sync file and click OK. You will be warned that all of your macros will be overwritten. No bother, just accept. 

Now, whenever you make any amendments to your Keyboard Maestro macros on one machine, they will be replicated to the other.