Re: Finder Timeout
Re: Finder Timeout
- Subject: Re: Finder Timeout
- From: Paul Berkowitz <email@hidden>
- Date: Fri, 18 Feb 2005 07:54:20 -0800
with timeout of 1000 seconds
or 3000 seconds, or something like that, would probably make more sense. You
hardly want it to time out 10 seconds, or 3 minutes, before finishing. But
you get the idea.
If this is the all that the script does, with nothing to follow, the other
way to handle this would be to
ignoring application responses
tell application "Finder"
set source to "PROJ FOLDER"
duplicate source to "20GB IDE-2:" with replacing
end tell
end ignoring
This way the _script_ will quit immediately, but the Finder will go on doing
what it's doing as long as it takes. I don't suppose that would be an
advantage here, but there you are.
--
Paul Berkowitz
> From: August Trometer <email@hidden>
> Date: Fri, 18 Feb 2005 08:19:26 -0500
> To: <email@hidden>
> Subject: Re: Finder Timeout
>
> 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.
>>
>> 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?
>>
>> OSX 10.3.8
>>
>> Thanks
>>
>> Bob Cuilla
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Applescript-users mailing list (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>> email@hidden
>>
>> 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
_______________________________________________
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