[Pythonmac-SIG] #! line and simple dialogs [SOLVED]
Bob Ippolito
bob at redivi.com
Sat Oct 2 21:51:09 CEST 2004
On Oct 2, 2004, at 2:52 PM, has wrote:
> Bob Ippolito wrote:
>
>> It is possible to write a GUI that is a linear series of steps using
>> only dialogs for input with purely Apple Events (and therefore
>> possible using only appscript). I'm not sure it would be
>> particularly great, but that's what AppleScripters have done for
>> quite some time.
>
> AppleScript uses OSAXen (OSA eXtensions) for displaying simple dialogs
> atop a GUI application (by default, the app that called them, but can
> be any other). They actually work quite well simple graphical
> input/output in batch scripts, despite the OSAX system itself being a
> pretty cheesy procedural, C/Pascal-only, namespace-polluting bodge to
> compensate for the lack of extensibility in AppleScript, and never
> replaced by something better.
>
> Appscript doesn't support osaxen - there's few that'd be of any use to
> MacPython users, so it's not really worth it. I've been wrapping the
> more useful ones; there's an unfinished, untested copy posted here:
>
> http://freespace.virgin.net/hamish.sanderson/osax-0.1.0.tar.gz
>
> Wouldn't be my preferred way of doing things, but maybe it'll fill a
> gap for now.
What I was saying is that it's technically possible, not that it is
currently reasonable to do :)
-bob
More information about the Pythonmac-SIG
mailing list