• 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: How to duplicate or alias a file in Finder?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to duplicate or alias a file in Finder?


  • Subject: Re: How to duplicate or alias a file in Finder?
  • From: email@hidden
  • Date: Sat, 19 Mar 2005 21:01:13 -0500

set sourceFolder to ((path to documents folder from user domain) as string) & "Cathy:Data -Rawx:"
set sourceFile to "050315-CATHY-H05058.txt"


set destinationFolder to ((path to documents folder from user domain) as string) & "Cathy:Data -Importx:"
set renamedFile to "import.txt"


tell application "Finder" to duplicate file sourceFile of folder sourceFolder to folder destinationFolder
tell application "Finder" to set (name of file (destinationFolder & sourceFile)) to renamedFile
--


SJWL
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: itunes & text edit fun
  • Next by Date: Quark Copy Page Question
  • Previous by thread: Re: How to duplicate or alias a file in Finder?
  • Next by thread: Are there any other Applescript coders in Tampa?
  • Index(es):
    • Date
    • Thread