Re: Finder Timeout
Re: Finder Timeout
- Subject: Re: Finder Timeout
- From: August Trometer <email@hidden>
- Date: Fri, 18 Feb 2005 08:19:26 -0500
You need to change the timeout settings for the script:
with timeout of 300 seconds
-- do your stuff here
end timeout
This will give the script a 5 minute timeout. You can change the number of seconds as needed.
Good luck!
August
On Feb 18, 2005, at 8:08 AM, Bob Cuilla wrote:
I have a very simple script that does a backup from a mounted PC volume to a hard drive on my Mac.
<x-tad-smaller>tell</x-tad-smaller><x-tad-smaller> </x-tad-smaller><x-tad-smaller>application</x-tad-smaller><x-tad-smaller> "Finder"
</x-tad-smaller><x-tad-smaller>set</x-tad-smaller><x-tad-smaller> </x-tad-smaller><x-tad-smaller>source</x-tad-smaller><x-tad-smaller> </x-tad-smaller><x-tad-smaller>to</x-tad-smaller><x-tad-smaller> "PROJ FOLDER"
</x-tad-smaller><x-tad-smaller>duplicate</x-tad-smaller><x-tad-smaller> </x-tad-smaller><x-tad-smaller>source</x-tad-smaller><x-tad-smaller> </x-tad-smaller><x-tad-smaller>to</x-tad-smaller><x-tad-smaller> "20GB IDE-2:" </x-tad-smaller><x-tad-smaller>with</x-tad-smaller><x-tad-smaller> </x-tad-smaller><x-tad-smaller>replacing</x-tad-smaller><x-tad-smaller>
</x-tad-smaller><x-tad-smaller>end</x-tad-smaller><x-tad-smaller> </x-tad-smaller><x-tad-smaller>tell</x-tad-smaller><x-tad-smaller>
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?
OSX 10.3.8
Thanks
Bob Cuilla
</x-tad-smaller> _______________________________________________
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
_______________________________________________
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