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

Re: [MacPerl] Scripting Stuffit Installer Maker



At 14.42 -0800 2000.03.15, Andrew O. Mellinger wrote:
>   Has anyone scripted Stuffit Installer Maker?   I am particularly interested
>in the Apple Event creation stuff.

The best options for doing it are (in no particular order):

* Mac::Glue (on my site).  It lets you use AppleScript vocabulary in 
Perl to control apps using Apple events.

* Mac::AppleEvents, or its simpler cousin, Mac::AppleEvents::Simple 
(also on my site).  See the file macperlcat (Chris' AppleEvent 
Tutorial, comes with MacPerl) for a tutorial on using it.  It is much 
more complex than using Mac::Glue, but scripts using them compile 
more quickly and take less RAM.

* MacPerl::DoAppleScript(), which executes the text of the 
AppleScript passed to it.

(If you use option 1 or Mac::AppleEvents::Simple, try installing 
cpan-mac, which makes module installation simple ... also on my site.)

    http://pudge.net/macperl/

-- 
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org