• 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: File Duplication Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: File Duplication Question


  • Subject: Re: File Duplication Question
  • From: "Stockly, Ed" <email@hidden>
  • Date: Tue, 12 Jan 2010 12:34:17 -0800
  • Thread-topic: File Duplication Question

Title: Re: File Duplication Question
Is this what you want?

-- theFile and folderPath are aliases

tell
application "Finder"
    
set
newFile to duplicate theFile to folderpath with replacing
   set the name of newFile to "Hello There"
end tell

HTH,

ES
On 1/12/10 12:19 PM, "Oakley Masten"  wrote:

Tell application "finder"
     set theFile to choose file
     duplicate theFile to Destination folder path on server with properties {name:"NewNameForFile.txt"}
end tell
 _______________________________________________
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: 
 >File Duplication Question (From: Oakley Masten <email@hidden>)

  • Prev by Date: File Duplication Question
  • Next by Date: Re: File Duplication Question
  • Previous by thread: File Duplication Question
  • Next by thread: Re: File Duplication Question
  • Index(es):
    • Date
    • Thread