• 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: Finder Timeout
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finder Timeout


  • Subject: Re: Finder Timeout
  • From: yvan-koenig <email@hidden>
  • Date: Fri, 18 Feb 2005 14:27:11 +0100


Le 18 févr. 2005 , à 14:08, Bob Cuilla a écrit :

I have a very simple script that does a backup from a mounted PC volume to a hard drive on my Mac.

tell application "Finder"

	set source to "PROJ FOLDER"

	duplicate source to "20GB IDE-2:" with replacing

end tell

This script works just fine, however it takes several minutes to do the whole thing. About two minutes into the script's action I get an Applescript error

"Finder got an error: AppleEvent timed out"

The script completes correctly. Is there a way to suppress this error?

Perhaps time to study the use of

with timeout [ of ] integer second[s]
[ statement ] …
end [ timeout ]

which give you the ability to adjust the … timeout value.

If your task may require five minutes, it would be useful to use
with  timeout 300 (* will allow 5 x 60 seconds to acomplish the task *)

Yvan KOENIG


_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Finder Timeout (From: Bob Cuilla <email@hidden>)

  • Prev by Date: Re: Finder Timeout
  • Next by Date: Re: Finder Timeout
  • Previous by thread: Re: Finder Timeout
  • Next by thread: OT: Terminal ps grep window size issue?
  • Index(es):
    • Date
    • Thread