I have 4 Macs that are running a synced KM file. There are certain macros that I only want to run on specific machines. Currently, if I have a group that I only want to run on 1 Mac I have to:
• Set up a folder and label clearly, e.g 'Timed macros - Study'
• On all other macs, I then have to set 'Disabled on this Mac'
It would be great if I could simply set the opposite of this - Run only on this Mac - on the folder and it then syncs to other macs (but disabled). Setting 'Run only on this Mac' on another Mac would then switch to that Mac.
This would seem to be a simple one to implement, and would be REALLY helpful.
It would also be helpful to be able to set similar options at a Macro level, not just on the folder.
The suggestion @kevinb provided is the one I use. For instance, in the screenshot below I have three actions.
The top action is a switch action, that uses the token he mentioned. I have each of my machine’s UUID saved to global variables prepended with DND__ (my naming convention for variables I never want to delete), and in the action I use that variable to determine which machine the macro is being executed on and proceed accordingly.
The second action is an assertion action that uses the same token and variable to determine if the machine is my iMac, and if it isn’t, cancels the macro.
The third action is the same as the second, but for the MacBook.
This is an off-topic suggestion, but whenever asking someone to do something, I would recommend against saying how easy it would be. It diminishes the value of the request, and for software explicitly, it is never as easy as one might hope on first appearance.
For example in this case, you set up your macro group and mark is "only enabled on this Mac". What happens when you go to your other Mac and set the same group to "only enabled on this Mac"?
Anyway, it seems you have some solutions so I don't have to try to puzzle through how this might be implemented in a way that doesn't rapidly become confusing.