Unfortunately, the AEDisposeDesc issue only applies if you are creating
the events directly using the Mac::AppleEvent module. If you are using
the DoAppleScript functionality (where you inline AppleScript code in
your Perl) it doesn't apply.

As Andrew indicated, your best bet may be to move from DoAppleScript to
using AppleEvents directly. If the scripts are not complex it can be
reasonably easy to do, particulary with Mac::Glue. Take a look at the
POD for Mac::Glue and see if you can adapt things over.

Alex 

--
Alex Harper                                     [EMAIL PROTECTED]
Configuration Manager                           [EMAIL PROTECTED]
"Use whatever you think of first" -- Larry Wall

> -----Original Message-----
> From: Perry Pillard [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, April 02, 2002 3:20 PM
> To: [EMAIL PROTECTED]
> Subject: [MacPerl] AEDisposeDesc example...
> 
> 
> Would one of you guys mind giving me a sample of your Apple 
> Event dispose code, including the AppleScript that came 
> before it?  I've got some info on Google about it, but it's 
> vague and new to this novice.  Thanks!
> 
> By the way, I converted my system duplicates over to 
File::Copy and my script got a little further before it crashed, so now
I'm tryin' to clean up my DoAppleScript descriptors...

==================
Pillard
Keeper of the Code
Macromedia, FreeHand
"What the web can be"
==================


Reply via email to