Re: Applescript bugs in Panther
Re: Applescript bugs in Panther
- Subject: Re: Applescript bugs in Panther
- From: Simon Topliss <email@hidden>
- Date: Wed, 22 Oct 2003 17:07:28 +0100
Hi Dave,
On 22/10/03 4:18 pm, "Dave MacLachlan" <email@hidden> wrote:
>
Has anybody else noticed that Panther doesn't seem to support "with
>
timeout" statements the way that previous versions of Applescript have?
>
>
If I try the following:
>
>
Try
>
With timeout of 2 seconds
>
Tell application "Terminal"
>
Display dialog "What is your name?"
>
End
>
End
>
On error
>
Beep
>
End
>
>
On Jaguar, it will show the dialog, wait two seconds, and then beep On
>
Panther, it will show the dialog, wait two seconds, and then continue
>
without hitting the error block. There doesn't appear to be a way of
>
getting it to report an error.
Are you by any chance using Script Debugger 3.0.6? I had similar problems
with (coincidently!) Illustrator 10 errors not being returned in Panther.
It's fixed in a future release of SD. The script also runs fine for me in
Script Editor 2, hitting the error block.
Simon
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.