I'm looking for the ability to Launch an application, or, if it's currently active, cycle the windows.
I'm able to recreate it with AppleScript, but that adds a ~200ms delay, which is pretty noticeable, would be cool if there was a faster way included with BTT.
Here's my script if anyone is interested: https://gist.github.com/mikew/d75c2dbb636dd5ba81d6be960540f905
You'll need to run it with
oscascript, since that's apparently the only way to pass arguments to AppleScript. I'm using "Execute Terminal command", but "Execute Shell task" should also work.
/usr/bin/osascript /Users/mike/Desktop/launch-or-cycle-windows.applescript com.google.Chrome