error with empty timeout block
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.