User Tools

Site Tools


token:MacUUID

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
token:MacUUID [2016/02/21 21:48]
peternlewis Added example usage
token:MacUUID [2023/06/25 22:16]
peternlewis
Line 1: Line 1:
 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. 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.+For example, use the [[action:​Set_Clipboard_to_Text|Set Clipboard to Text action]] to copy the value of the *%MacUUID%* token on a specific Mac.
  
 {{ :​token:​set-clipboard-to-macuuid.png?​nolink |}} {{ :​token:​set-clipboard-to-macuuid.png?​nolink |}}
Line 7: Line 7:
 Just "​Try"​ the action to copy it, no need to create a macro, then you can delete the action. 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.+Then paste that in to an [[action:​If_Then_Else|If Then Else action]] with a Text condition.
  
 {{ :​token:​if-macuuid.png?​nolink |}} {{ :​token:​if-macuuid.png?​nolink |}}
 +
 +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.txt ยท Last modified: 2023/08/16 23:23 by peternlewis