Mar 2, 2012

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.

No comments: