Don't understand timeout
Don't understand timeout
- Subject: Don't understand timeout
- From: Robert Poland <email@hidden>
- Date: Thu, 18 Aug 2011 11:32:29 -0600
Hi,
This is in Snow Leopard.
Script below, I'm expecting the timeout to stop the action, after 2 seconds, and throw the error "Timeout exceeded" and continue on with the on error.
try with timeout of 2 seconds my doGUIScriptingCommands() -- Select all in window tell application "Finder" to set itemsInWindow to selection end timeout error "Timeout exceeded" on error beep 3 set itemsInWindow to 65 end try
Robert Poland - Fort Collins, CO
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden