Re: simple file copy
Re: simple file copy
- Subject: Re: simple file copy
- From: Brian <email@hidden>
- Date: Thu, 21 Apr 2005 00:37:55 +0200
Le 21 avr. 05, à 00:19, Mark J. Reed a écrit :
Seems like it should be simple, but I don't see how to do it in the Finder. There's always this:
do shell script "cp ~/Desktop/source/'File a' ~/Desktop/destination/'File B'"
More simple or not, you can do that :
tell application "Finder"
set aFile to duplicate (path to desktop folder as string) & "source:File A" to (path to desktop folder as string) & "destination:"
set name of aFile to "File B"
end tell
Brian
_______________________________________________
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