User Tools

Site Tools


token:MacUUID

**This is an old revision of the document!**

The %MacUUID% token returns a unique ID for this Mac. You can test this with Macro Syncing to have your macro behave differently on different Macs.

For example, use the Set Clipboard to Text action to copy the value of the %MacUUID% token on a specific Mac.

Just “Try” the action to copy it, no need to create a macro, then you can delete the action.

Then paste that in to an If Then Else action with a Text condition.

If you migrate or transfer your preferences to a new Mac, you might end up with the MacUUID copied resulting in both Macs having the same UUID. If so, you can delete them from the new Mac with the Terminal command:

Also, if you use this method and continue to use both Macs, you will need to run the Terminal command:

defaults delete com.stairways.keyboardmaestro.engine MacUUID
defaults delete com.stairways.keyboardmaestro.engine MacRemoteUUID

and then new ones will be generated.

token/MacUUID.1687745791.txt.gz · Last modified: 2023/06/25 22:16 by peternlewis