Re: how can i do....
Re: how can i do....
- Subject: Re: how can i do....
- From: "Marc K. Myers" <email@hidden>
- Date: Thu, 03 Jan 2002 14:32:27 -0500
- Organization: [very little]
>
Date: Thu, 03 Jan 2002 16:35:16 +0100
>
Subject: how can i do....
>
From: rhyme <email@hidden>
>
To: <email@hidden>
>
>
hi !
>
how can i do to copy a file in a new directory with a different name ??
tell application "Finder"
set newFile to (duplicate file "[old file path]" to folder "[new
folder path]")
set name of newFile to "[new file name]"
end tell
You can do it in a single command (and without the Finder) with the
"collate" command from the Akua Sweets scripting addition.
Marc K. Myers <email@hidden>
http://AppleScriptsToGo.com
4020 W.220th St.
Fairview Park, OH 44126
(440) 331-1074
[1/3/02 2:31:37 PM]