Re:R23's Osaxen It's not me
Re:R23's Osaxen It's not me
- Subject: Re:R23's Osaxen It's not me
- From: email@hidden
- Date: Fri, 26 Jan 2001 15:22:34 -0800
>
>>It's not me, Ed.
I might agree. One thing you mentioned in an earlier post was that some
the error messages you were getting were timeouts.
Well, there is one thing truly funky about scripting the Finder with some
of the very commands you're using.
If you try to rename a file when a file with that name already exists in
the same location, the Finder will display a user dialog telling you to
choose another name for your file or that file name already exists. And
you can't trap that error and ignoring application responses doesn't help.
And if Finder is in the background things like Okey Dokey or Player are
useless.
What does work is testing to see if a file with that name already exists
and deleting it before you rename.
Same thing can happen when you duplicate or move files without the
replacing option.
There are also a few other errors in the Finder that are not trapable and,
if running unattended as you described, then your scripts will halt
awaiting the user to click ok or whatever until the scripts eventually time
out.
Could that be a possibility?
ES