Pashua is a tool for creating native Aqua dialog windows from programming languages that have none or only limi­ted support for graphic user inter­faces on Mac OS X, such as Apple­Script, Bash scripts, JavaScript, 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 in­put fields (single-line and multi-line), check­boxes, radio­buttons, 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.