Re: move file - why does it not work?
Re: move file - why does it not work?
- Subject: Re: move file - why does it not work?
- From: kai <email@hidden>
- Date: Sun, 5 Mar 2006 02:42:04 +0000
On 4 Mar 2006, at 23:00, John Fowler wrote:
... I was misled by the error message, "can't get file ..."
I agree that the error message is misleading, John - as the following
results indicate:
----------------
folder "bad:path:to:folder:"
--> [error number -1728]
--> Finder got an error: Can't get folder "bad:path:to:folder:"
----------------
file "bad:path:to:file"
--> [error number -1728]
--> Finder got an error: Can't get file "bad:path:to:file"
----------------
duplicate file "bad:path:to:file" to folder "good:path:to:folder:"
or:
duplicate file "good:path:to:file" to folder "bad:path:to:folder:"
or:
duplicate file "bad:path:to:file" to folder "bad:path:to:folder:"
--> [error number -10006]
--> Finder got an error: Can't set folder "path:to:folder:" to file
"path:to:file"
----------------
move file "bad:path:to:file" to folder "good:path:to:folder:"
or:
move file "good:path:to:file" to folder "bad:path:to:folder:"
or:
move file "bad:path:to:file" to folder "bad:path:to:folder:"
--> [error number -1728]
--> Finder got an error: Can't get file "path:to:file"
----------------
From this, the error message returned for the duplicate command is
general enough not to be misleading. However, with the move command,
the file is implicated if *any* path is wrong. (Let's just hope it
has a good lawyer...)
Anyway, glad the problem was resolved - in spite of all that. :-)
---
kai
_______________________________________________
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