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

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



At 14:58 1999-02-23 GMT, 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.

The stack trace certainly indicated that it was AS code that had gone
wrong, and the Perl tool worked up till now. I suppose running within
the MPW shell might make a difference to the general environment in
which the code is executing. Hang on, there's an idea!

... and the winners of today's Spot The Bug contest are - Bart and me!

I've just run my script 7 times in a row from the MacPerl app itself,
and my Mac's still running.

Time to hop over to the mpw-dev list, I guess! Thanks for all the help
and suggestions - I did work through all of Chris's list that I could,
with no change - and I'll let you know if a solution ever appears.

Thanks again,

Peter.



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