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

Create a file with sh extension with the following code

#!/bin/sh
/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/ninja-ide.py


Just edit the apps names with the ones you like.

Comments

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

Playing DVDs Ubuntu 10.04