Re: Copy folder to the root of a server volume
Re: Copy folder to the root of a server volume
- Subject: Re: Copy folder to the root of a server volume
- From: Alex Zavatone <email@hidden>
- Date: Wed, 24 Mar 2010 14:56:36 -0500
Yeah, I even tried wrapping the target folder definition in a Finder tell block with the previous attempt, but this is FINALLY what worked:
tell application "Finder" set myTargetFolder to (the quoted form of POSIX path of "Volumes:Assets:") -- pDocumentName set myTargetFolder to disk "assets" end tell
On Mar 24, 2010, at 2:46 PM, Emmanuel LEVY wrote: It's very personal, but I like to feed Finder with aliases, so I would have tried (assuming I don't have Files.osax):
set myTargetFolder to posix file "/Volumes/Assets/" as alias
-- copy files tell application "Finder" duplicate mySourceFolder to myTargetFolder end tell
Emmanuel
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden