[Pythonmac-SIG] #! line and simple dialogs [SOLVED]
Nathaniel Gray
n8gray at gmail.com
Sun Oct 3 02:56:14 CEST 2004
On Sat, 2 Oct 2004 19:52:01 +0100, has <hengist.podd at virgin.net> wrote:
> 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.
Hey, this looks perfect! It basically has the same capabilities as EasyDialogs.
> BTW, checked the OS 10.3 release notes today and the 255 character
> limit has finally been lifted on the 'display dialog' osax, so should
> do for the OP's purposes long as backwards compatibility with OS 10.2
> isn't needed.
Interesting. Too bad the EasyDialogs interface truncates strings at
the Python level, otherwise it might have already worked for me.
Cheers,
-n8
--
>>>-- Nathaniel Gray -- Caltech Computer Science ------>
>>>-- Mojave Project -- http://mojave.cs.caltech.edu -->
More information about the Pythonmac-SIG
mailing list