[OS X] move file to folder
[OS X] move file to folder
- Subject: [OS X] move file to folder
- From: Timothy Bates <email@hidden>
- Date: Fri, 11 Jan 2002 17:56:46 +1100
I am writing a script to put items away intelligently (install .saver files
into the screen saver folder etc)
If I abstract out this bit, that is not working, perhaps someone can
explain:
tell application "Finder"
move file "MouseZoom:MouseZoom.prefPane" to folder
"Cortex:Users:tim:Library:PreferencePanes:"
-->Finder got an error: An error of type -8067 has occurred.
end tell
No idea what type -8067 is.
If I say
Reveal file "MouseZoom:MouseZoom.prefPane"
Or reveal folder "Cortex:Users:tim:Library:PreferencePanes:"
It works just fine.
If I manually move the file, it copies (no permissions difficulties). So
what is up?
If I use "duplicate" or copy instead of move, I just get a differenct opaque
error number ("-15267 " )
Cheers,
Tim