Carsten Blüm Mac Development

Pashua 0.10.3

What is Pashua?

Pashua ist an application for creating “real” dialog windows from AppleScript, Bash, Perl, PHP, Python, Ruby, Tcl and other languages. The GUI elements which can be used for such dialogs include text input fields, checkboxes, radiobuttons, popup menus, buttons and so on. Moreover, it is also 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 describe the dialog window, Pashua uses a very simple syntax. All the tedious details such as positioning the elements, calculating the window size etc. are handled automatically by Pashua, thus you can fully concentrate on your application.

Price

Pashua is free. However, if you appreciate it and would like to send a “Thank you”, there are a number of ways to do that.

How to use

The Pashua download contains a folder “Examples” in which you will find demonstrations for using Pashua from AppleScript, Bash, Perl and PHP. Please refer to the comments in the example files for further information. Pashua can be used with a number of other languages, but as of Pashua 0.10, examples for some languages that had been distributed with Pashua in earlier releases are no longer included in the Pashua download. You will find the example code in a repository on GitHub.

Two examples can be launched by simply doubleclicking the icon: the AppleScript example and the “Doubleclickable Example” (which is a demonstration of how you can build an OS X application bundle which is powered by a script and uses Pashua for its UI).
The other examples have to be started from the terminal. The easiest way to do this is to drag the script onto a Terminal.app window and hit Return.

Important: In order to work, Pashua (the application itself, not the calling script) must be located in the global application folder /Applications, in your personal application folder ~/Applications, in the folder containing the calling script or in the working directory. Otherwise execution will fail. But of course you can modify the search locations according to your filesystem layout. (But to simply launch the examples, you do not have to install anything: they will run directly from the disk image.)

Can you tell me more about the configuration syntax?

Pashua’s explains the configuration syntax, as well as any GUI element types and their attributes.

What is new in version 0.10.3?

Pashua 0.10.3 was released on 12/23/2015.
Release notes for previous versions can be found on the website

Disclaimer

This application is provided as-is. Support is not included. Use this software at your own risk. If for some obscure reason any damage or data loss may arise from using it (which in my opinion is nearly impossible), it is nobody else’s problem than yours.

Contact / Feedback

Carsten Blüm
E-Mail: macapps@bluem.net
Pashua Homepage: www.bluem.net/en/mac/pashua/