OSX bash - window focusing on launched executables/apps?
If i launch a executable/another app from a bash script, this executable/app starts up normally, but with it's application开发者_如何学C window not in focus. If you launch the script from a window for example, the bash script calls upon the other executable/app, but you can't see the app's interface because it gets launched below all windows.
For Linux there exist some window managers that can do this, like these tips here:
Is there something for OSX as well?
I realize i can set the active window via AppleScript (osascript via bash), but i wanted to do this without AS.
("tell application \"newapp\" to activate")
My appswitch tool does exactly this.
精彩评论