If I want to hide or show all floating menus in some apps, I've found that I have to repeat the "xxx...Did Launch" and "xxx...Did Terminate" trigger for each app, since I can only assign one app to each trigger. Is there a better method to achieve this?
I tried using "Advanced Conditions..." and it seems to work for detecting app launches using the "active_app_name" condition.
However, it doesn't seem to work as expected for detecting when apps are terminated, regardless of whether I use "running_processes" or "active_app_name".
- When using "active_app_name," the trigger activates every time I terminate any app. Since I've set it to display a HUD overlay, this means I see the HUD every time an app is terminated.
- When using "running_processes," the action doesn't execute even when the condition is true.
What I want is to hide all floating menus when any specific app is launched and show them again when all those specific apps are terminated. It seems like using "active_app_name" may do the trick if I disable the HUD overlay. However, this means the script actually runs every time for every app, not just the specified ones, which feels resource-intensive to me.