Version 0.10 (11/08/2014)
Mac OS X 10.6 or higher
Price: Free / Donations
Pashua is a tool for creating native Aqua dialog windows from programming languages that have none or only limited support for graphic user interfaces on Mac OS X, such as AppleScript, Bash scripts, Perl, PHP, Python, Ruby, Tcl and others —and if your favourite language is not yet supported: writing the glue code for communicating with Pashua is pretty simple.
The GUI elements which can be used for such dialogs include text input fields (single-line and multi-line), checkboxes, radiobuttons, combo boxes, popup menus, buttons and others. Moreover, it's possible to embed images or PDFs. Any data submitted from the dialog will be passed on to the calling script, which can (of course) use it for anything.
To define the dialog window, Pashua uses a very simple syntax. All the cumbersome details such as positioning the elements, calculating the window size etc. are handled automatically by Pashua, thus you can fully concentrate on your application.
Example code for AppleScript, Bash, PHP and Perl is included in the download. A list of examples for other languages can be found in a GitHub repository.
Pashua is localized in English and German.
- “This is an excellent utility that any scripter with a non-CLI-using audience should have in his toolbox.”
- “This app really rocks! In less then 10 minutes I have coded a nice Aqua GUI for a series of Shell scripts.”
- “I love this program [...] I fully recommend this software to anyone and everyone that uses OS-X and some command line tools often”
- “It’s actually pretty amazing to see a nice Cocoa interface appear for your ‘command line interface’ language with just a little effort.”