• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: (no subject)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >(no subject) (From: Curt Schultz <email@hidden>)
 >Re: (no subject) (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: Plug-ins
  • Next by Date: Re: (no subject)
  • Previous by thread: Re: (no subject)
  • Next by thread: Re: (no subject)
  • Index(es):
    • Date
    • Thread