There are quite a few ways of accomplishing this. Here are a few existing topics on the forum about this:
- Same macro on different home/work computer - Questions & Suggestions - Keyboard Maestro Discourse
- Single macro running different actions based on which computer it's triggered - Questions & Suggestions - Keyboard Maestro Discourse
Basically, you can use the MacUUID token, SCREEN function or something similar in a Switch or Case action or If Then Else action to do different things depending on which computer you’re on.
-Chris