Hi this simple script that I use to move selections to a certain folder no longer works in Tiger
tell application "Finder"
set FileSelected to selection
move FileSelected to "Users:me:Documents:Saved Docs:ReadMes:" replacing yes
end tell
Finder got an error. Can’t get (path to selection)
TIA,
jim
Model: MDD Dual 867
AppleScript: 1.10
Browser: Safari 412
Operating System: Mac OS X (10.4)
Hi
Change this:
move FileSelected to “Users:me:Documents:Saved Docs:ReadMes:” replacing yes
to this:
move FileSelected to alias “Users:me:Documents:Saved Docs:ReadMes:” replacing yes
cheers
Howard
thanks but that’s not it.
Here is the event log returned from the scriptwhen trying to move the file test.txt to my Readmes folder.
//SCRIPT
tell application "Finder"
set FileSelected to selection
move FileSelected to "Users:jimlongo:Documents:Saved Docs:ReadMes:" replacing yes
end tell
//EVENT LOG
tell application "Finder"
get selection
{document file "test.txt" of folder "Desktop" of folder "jimlongo" of folder "Users" of startup disk}
move {document file "test.txt" of folder "Desktop" of folder "jimlongo" of folder "Users" of startup disk} to "Users:jimlongo:Documents:Saved Docs:ReadMes:" replacing yes
"Finder got an error: Can't get {document file \"test.txt\" of folder \"Desktop\" of folder \"jimlongo\" of folder \"Users\" of startup disk}."