09.23.04

GUI access to a shell command

Posted in General at 3 pm

Found this at Apple’s site:

Wrapping a Command Line Application with a GUI Interface:

“If you just need to run a shell script by double-clicking it, and have no need for a GUI, you can simply rename the shell script to end with .command and it will open in Terminal automatically.”

Not quite automatically, as I did have to modify the “Open With…” association, but at least I now have one click access to my qtplay music player, which saves me the GUI overhead of running iTunes.

Next up: a quick calendar display:


 > #! /bin/bash
 > cal

Comments are closed.