Jump to content
Sign in to follow this  

Applescript to copy file from network volume

Recommended Posts

I am trying to create an applescript to copy (duplicate) a file located on a network volume to my desktop (for simplicity sake). My problem seems to be accessing the file on the network volume, because this script works for files located on my Mac. I know that the file does exist, because I also have a different applescript to open the file directly from the network volume which works fine.

set source to "AMINTERNAL:NPI Projects:Experimental Docs:1556.13.1.ppt"

set destination to "Drive 1:Users:simonen:Desktop"

tell application "Finder"

duplicate file source to folder destination with replacing

end tell

AMINTERNAL is a mounted network volume on my local Mac and it is accessible via another applescript that can open the file. I just can't seem to duplicate the file to my local Mac.

Thanks for the help.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

By using this site, you agree to our Terms of Use.