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

Las Tutucas y todo lo demás

Python Ipdb Cheatsheet