I am trying to create a Menu Button with three buttons. What I want to achieve is:
- When I select the first button: launch specific command (app) and set global variable to indicate this.
- Same for the second button: launch specific command set the same global variable.
- Third button is disabled until the global variable is set. If set: launch specific command, kill global variable.
Can someone help me how to achieve this? I tried several examples from help (@toggle command modifier), but I am missing something...