• 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
error with empty timeout block
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

error with empty timeout block


  • Subject: error with empty timeout block
  • From: Olof Hellman <email@hidden>
  • Date: Wed, 30 Oct 2002 15:35:55 -0800

Here's an interesting error from Script Editor (OS 10.2.1) :

tell app "Finder"
with timeout of 1000 seconds
end timeout
end tell
beep
--> error: Can't continue beep


Which is interesting, because none of these causes an error:


tell app "Finder"
end tell
beep
--> no error

with timeout of 1000 seconds
end timeout
beep
--> no error

with timeout of 1000 seconds
tell app "Finder"
end tell
end timeout
beep
--> no error


I started testing this situation because I was seeing a strange crash with
an applet on 10.2.1 which was crashing when it came to an empty timeout
block. I suspect this construction :

with timeout of 1000 seconds
end timeout

leads to instability.

- Olof Hellman
_______________________________________________
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: Generating an HTML email in Eudora...
  • Next by Date: Re: Copying icons in OS X?
  • Previous by thread: Re: Generating an HTML email in Eudora...
  • Next by thread: Problem with VBA in Microsoft Word 2001
  • Index(es):
    • Date
    • Thread