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

Re: [MacPerl] MacPerl, Mac OS 8, and AppleScript



At 2:58 PM +0000 2/23/99, Bart Lateur wrote:
>On Tue, 23 Feb 1999 07:57:58 -0500, Chris Nandor wrote:
>
>>At 06.58 -0500 1999.02.23, Peter Westlake wrote:
>>>Is MacPerl 5.2.0r4 compatible with Mac OS 8.1 and 8.5.1?
>...
>>Hm.  The following here does nothing?
>>
>>  #!perl -w
>>  $script = 'display dialog "foo"';
>>  MacPerl::DoAppleScript($script);
>>
>>That is odd.  You might have a broken MacPerl app or something.  I've never
>>had a problem with anything like that.  I'd try to get a new copy of the
>>MacPerl app installed.  Maybe someone else has an idea.
>
>I'd rather suspect Applescript. On the MACSCRPT mailing list, which
>deals mostly with Applescript, the subject of Applescripts that broke on
>OS8.x, gets mentioned a lot. As I've understood, they've been succesfuil
>in ironing out the worst bugs out of AS, but it's still not as reliable
>on OS8.x, as it was on OS7.x.

Bart *might* actually be on to something here, but I doubt it's what he
thinks it is.

This is mainly a question for Matthias:  Herr Westlake says that he is
using AppleScript to talk to an application "which happens to be an earlier
version of MacPerl with a script built in" - that is to say a runtime built
from an older version of MacPerl.

Is it possible that the AppleEvent stuff in older versions of MacPerl (and
it sure would be nice to know which older version) could break under
8.1/8.5?

Other than that being the cause of the crashes, I don't think blaming
AppleScript is a helpful approach.  There's nothing in the scripts he was
trying that would break from pre 8.0 to 8.x, and the DoAppleScript is
recompiling it anyway - so there won't be problems with that aspect of it.
There's nothing else that would be consistantly wrong with BOTH 8.1 and
8.5.x.

-Jeff Lowrey



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