Pashua makes it very easy to create dialogs for Python, PHP, Shell, Perl and AppleScript programs. (Nope, no Java.) The example screenshot shows that it is very simple to use.

4 Responses to “Pashua: super simple Aqua dialogs”
  1. l.m. orchard says:

    Well, actually, Java could use Pashua. From the readme:


    What about additional programming languages?
    Basically you can use Pashua from any language that is able to:
    • write a file
    • call an application with command line arguments
    • manipulate strings
    • declare variables dynamically or that supports associative arrays.
    If you have written some glue code in any language of your choice, please send me your code so that other users can benefit from it.

    But, why bother, when you have the Java-Cocoa bridge? :) Or AWT, or Swing, or SWT, or… This really seems to be more a GUI front end for quick & dirty and “agile” scripts and apps

  2. Kevin says:

    Well, I was thinking that Pashua looked like it could create more substantial dialogs with the ease of JOptionPane. That said, you’re right… people don’t write (or probably shouldn’t write) the kinds of tools in Java that could really benefit from this.

  3. Anonymous says:

    How do I put AppleScript variables in as the default in a text box?

    I want to replace the following, where propertyEvent is a retained variable:

    display dialog “Event can be left as is or changed ” default answer propertyEvent
    set propertyEvent to the text returned of the result

  4. Kevin Dangoor says:

    Sadly, I don’t know AppleScript so I can’t help you with this one. I’ve used Pashua from Perl.

Leave a Reply