Re: Re; Keynote, is it scriptable (XML?) -addendum
Re: Re; Keynote, is it scriptable (XML?) -addendum
- Subject: Re: Re; Keynote, is it scriptable (XML?) -addendum
- From: Jaime Magiera <email@hidden>
- Date: Sat, 11 Jan 2003 09:57:02 -0500
On Saturday, January 11, 2003, at 03:28 AM, Paul Berkowitz wrote:
Python is very readable, and actually quite similar in many ways to
AppleScript. Also, like Perl, about 100-1000 times faster for text
iterating
than AppleScript.
Agreed on the speed, however, like you said -- it's only recently been
included. In my experience, whenever Apple includes a third-party
technology (such as perl, python or in a previous case mysql), it
usually takes them a while to get things right. I'd be a bit hesitant
to rely on either just yet.
But you can include either Perl or Python in an Applescript by
embedding it
inside a 'do shell script' or running a .py script (e.g.). You get the
best
of both worlds that way.
This is true. However, it they don't have either installed or something
is misconfigured, you're SOL. I'd be willing to play with Python in a
year or so, after things are solid.
C. Applescript is portable across the Mac OS. A script with a plain
vanilla parser (or an installer for an OSAX) has a better chance of
running on the various system configurations out there. If you're
writing Applescripts that will be distributed to clients, this is
important.
Not for much longer.
Well, a better chance is a better chance. In terms of code-base, it
easier to tweak a plain vanilla script to work across systems, then
something that isn't even installed/configured.
Don't get me wrong -- right tool for the right job and all -- but I'm
not willing to put my eggs in the Python basket just yet. Perl, I
probably never will. I just don't like it. <shrug> Sometimes I think
I'm one of those people who sacrifices complete configurability for a
little bit of good aesthetics.
Jaime
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.