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”
Leave a Reply
|
Entries (RSS)
October 29th, 2003 at 8:38 pm
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
October 30th, 2003 at 9:11 am
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.
July 3rd, 2004 at 11:55 am
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
July 3rd, 2004 at 2:24 pm
Sadly, I don’t know AppleScript so I can’t help you with this one. I’ve used Pashua from Perl.