Re: with timeout / try & on error
Re: with timeout / try & on error
- Subject: Re: with timeout / try & on error
- From: Emmanuel <email@hidden>
- Date: Tue, 22 May 2007 16:18:45 +0200
At 4:49 PM -0500 5/21/07, James Nierodzik wrote:
Howdy scripters, I'm hoping someone here can lead me to a solution
of sorts. What I'm trying to do is something along the lines of
this....
try
with timeout of x seconds
-- meat & potatoes
end timeout
with timeout only works when you're addressing another app, not the
own app. There is no way that I know to resume a script after a given
time if it's not calling "tell app etc".
For instance, you can do: with timeout, tell app "Finder" to
duplicate a big folder: your script will resume (with an error) while
Finder continues to process the command.
Emmanuel
_______________________________________________
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