Send Custom Command in "Show/Hide specific Application" if no open Windows

The feature to show and hide specific apps with a hotkey is really handy and for those apps without a window usually sending CMD+N to get a new one is sufficient. However, certain programs like Spark or Fantastical have a "Main window (often CMD+0)" and a different window that opens when sending CMD+N.

It would be really helpful if we could customize the command that is send "if no open Windows " in the "Show/Hide specific Application" action. I, for one, would like to see the main window when using this action.

Thank you so much for this awesome application!