[feature request] ability to close window in 'activate app' action

This is the action I am referring to :

The reason, I want that is because I sometimes actually want to close the window and not hide or quit it. By close window, I essentially want 'cmd + w' keystroke.

Thank you and I hope this can be added.

Well never mind that, I can get around it simply. :slight_smile:

1 Like

Yes, the “If already at front” option is un-Keyboard Maestro-like in that it combines multiple facilities into a single action. It is there only because it is such a common desired case. It could be done as a pseudo-action instead (just like the For Each File in Finder Selection and such), so that multiple actions were inserted, but that results in the application in question being repeated in multiple places:

  • If Application BetterTouchTool is at front
    • Hide application BetterTouchTool
  • Else
    • Activate application BetterTouchTool

Anyway, as you note, it can be done in the Keyboard Maestro-esque way which then allows you to control it exactly how you want it and it s a great example of why I prefer that orthogonal model over the alternative.

1 Like