Re: (no subject)
Re: (no subject)
- Subject: Re: (no subject)
- From: Christopher Nebel <email@hidden>
- Date: Wed, 16 Dec 2009 16:12:33 -0800
On Dec 16, 2009, at 3:28 PM, Michelle Steiner wrote: On Dec 16, 2009, at 4:20 PM, Curt Schultz wrote: tell application "Finder" duplicate file "Server/Applications/Retrospect 6.0/StorageSets/2009 Daily BUs/2009-Q4" to "Volumes/Workspace/taylore/Desktop/RETRODUMP" end tell
You're trying to duplicate a file to a string. You want to duplicate it to a folder.
Not to mention the fact that Finder's scripting doesn't understand POSIX paths like you're using, and even if it did, you're relying on the Finder's current working directory. Try this:
duplicate file "Server:Applications:Retrospect 6.0:StorageSets:2009 Daily BUs:2009-Q4" to folder "Workspace:taylore:Desktop:RETRODUMP"
You could also use the "POSIX file" construct instead of an HFS path.
--Chris Nebel AppleScript Engineering
|
_______________________________________________
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