iHook is a graphical frontend for any command-line
executable. It gives scripts a pleasant Aqua face,
and allows script writers to provide graphical
feedback without having to learn one of the higher
APIs available for Mac OS X. iHook accomplishes
this through its ability to understand a set of
directives. When a script writes an iHook
Directive to stdout, iHook will modify its own
interface based on the content of the Directive.
In this way, a simple shell script can have an
Aqua interface, complete with a progress bar and
drawer. When launched in the Finder, iHook prompts
the user to choose a script to run; iHook also
accepts file drops on its icon, and will attempt
to run the dropped file. When no user is logged
in, iHook tries to execute /etc/logout.hook. This
makes iHook highly useful as an interface for Mac
OS X LogoutHooks.