Script to open Ninja ide from Terminal and minimize the calling Terminal

Create a file with sh extension with the following code

/usr/bin/osascript -e 'tell application "System Events" to click (first button of (first window of (application process "Terminal")) whose role description is "minimize button")'
python /Users/carpincho/Dev/ninja-ide/

Just edit the apps names with the ones you like.


Popular posts from this blog

Como configurar el control de directv para que funcione con el Tv

Could not activate celullar data network - Iphone - Movistar

Show all values in Numpy array