Jump to content
Sign in to follow this  
simonen

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

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