Re: How to duplicate or alias a file in Finder?
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