I’m trying to figure out how to create a folder action for a folder on our SAN that moves files to another folder.
I can get this to work on my desktop
on adding folder items to this_folder after receiving added_items
tell application "Finder"
try
move added_items to folder "Macintosh HD:Users:dne:Desktop:Outbox"
end try
end tell
end adding folder items to
But when I try to move the file to the SAN it doesn’t work with the below script
on adding folder items to this_folder after receiving added_items
tell application "Finder"
try
move added_items to folder "Volumes:san:Outbox"
end try
end tell
end adding folder items to
Am I just missing something about how to do file paths for network storage? Just learning scripting here but I have grand plans to automate a lot of things in my office.
Model: Trashcan
AppleScript: 2.4
Browser: Safari 601.5.17
Operating System: Mac OS X (10.10)