Any way to exclude a macro group from all games?

As per title, is there any way to exclude a macro group from all games?

Possibly recognising that the mac is running game mode?

Apart from checking Game Mode, (which is NOT mandatory for any game) how would any macro determine if an app was a game?

That's not a problem for me - the games I play are recognised by game mode.

That's why I've started this thread :slightly_smiling_face: Somebody may know of a way that we don't. I'd also make the comment that it could be a macro or a macro group that makes that determination. Indeed, the best option may be something like "disable the group when an app that is located at /path/to/steam/common/* is frontmost".

Tricky one. One solution might be to manually toggle the group whenever you play a game:

Group Disable-Enable Toggle.kmmacros (22 KB)

Macro screenshot

An alternative would be to have two macros:

Macro 1: triggered if any of these games activates and disables the group.
Macro 1: triggered if any of these games deactivates and enables the group.

This would be laborious to set up if you have a lot of games, as you'd have to set a trigger for each game in both macros.

Very clever! See if this does the trick:

Disable Group for Apps In Directory.kmmacros (22 KB)

Macro screenshot

1 Like

Okay, if clever ideas are permissible, then I have one too. Games that are sold on Apple's store tend to "log in to Game Center". So all one has to do is determine if the user is logged into Game Center.

There should be a simple grep command on the macOS defaults command that tells you if someone is logged in to Game Center.

1 Like