For example, as long as Xcode is running, I'd like to show buttons. If it's running but not focused, have different buttons, but if Xcode isn't running don't show them.
For example, as long as Xcode is running, I'd like to show buttons. If it's running but not focused, have different buttons, but if Xcode isn't running don't show them.