[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] AppleEvents from Perl vs. Perl from Frontier?



***** Want to unsubscribe from this list?
***** Send mail with body "unsubscribe" to mac-perl-request@iis.ee.ethz.ch

I have probably used AppleEvents from MacPerl as much as almost anyone,
and I definitely like it as an alternative to AppleScript.  The big
drawbacks are (1) figuring out exactly how to do the Apple Events (the
cookbook is a big help here) and (2) figuring out how to call what Apple
Events for which app.  I use a combination of Frontier's ae table, the
AppleScript Dictionary info, and the documentation for the app.

But once you get everything figured out, I see little drawback to using
MacPerl for it all.  There is -- I think -- a performance hit on
initialization of your script that AppleScript does not have, but it is
usually not too noticeable, and for me it is a small price to pay for
getting to run everything in the same language.  :-)

--Chris, on location