• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: Applescript bugs in Panther
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Applescript bugs in Panther


  • Subject: RE: Applescript bugs in Panther
  • From: Dave MacLachlan <email@hidden>
  • Date: Wed, 22 Oct 2003 09:21:13 -0700

However, the timeout is considered an error condition...it's the only
way we have of figuring out things have gone on longer than we expect
them to. For example, if I'm driving a process, and something goes
wrong, I want to be able to abort the process after a given amount of
time.

Cheers,
Dave

> I have not got Panther yet.
>
> But it would seem to me that the behavior below is correct.
>
> IE NO ERROR has occurred.
>
> Error blocks are for handling errors.
>
> If you want it to beep, then just use beep.
>
> The code below should only beep 'on error', not as a standard
> - non-error condition.
>

> >
> >Try
> > With timeout of 2 seconds
> > Tell application "Terminal"
> > Display dialog "What is your name?"
> > End
> > End
> >On error
> > Beep
> >End
_______________________________________________
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.

  • Prev by Date: Re: Applescript bugs in Panther
  • Next by Date: Re: Get IP Address
  • Previous by thread: Re: Applescript bugs in Panther
  • Next by thread: Quark 5.01 scripting syntax
  • Index(es):
    • Date
    • Thread