LinuxDig.Com : Give your Apple OS X script a GUI. Bash, Perl, PHP and more.
Author: HumanX | Thursday January 27, 2005
If you are running Apple OS X and would like to give your scripts a GUI feel, then look no further then Platypus.
Platypus is a powerful developer tool for creating application wrappers around scripts, i.e. for creating MacOS X applications that execute a bundled script. Scripts can thus be run seamlessly from the graphical window environment, making elegant Mac OS X-native applications from scripts. Here are some of the features Platypus has to offer:
* Supports shell scripts, Perl, Python, PHP, Ruby, Expect, Tcl, AppleScript
* Supports arbitrary interpreter setting -- thus support for any script type
* Executing scripts with root privileges via Apple's Security Framework
* Drag and drop files, which are passed to the script as arguments
* Graphical feedback of script execution: progress bar or text window with script output
* Can create applications which run in the background
* Sophisticated app bundle configuration for associated file types, identifier, version etc.
* Graphical interface for bundling support files with script
* Set own application icon or select from presets
* Command line tool for automating script application bundling
Creating installers, maintenance applications, login items and droplets is very easy using Platypus.
Platypus is free, open-source software and is distributed under the terms and conditions of the Free Software Foundation's GNU General Public License. Platypus is written for the Cocoa application programming interfaces.