Re: MS-DOS better than Applescript??
Re: MS-DOS better than Applescript??
- Subject: Re: MS-DOS better than Applescript??
- From: Bill Cheeseman <email@hidden>
- Date: Tue, 03 Sep 2002 16:31:09 -0400
on 02-09-03 3:34 PM, Roman Fischer at email@hidden wrote:
>
I want to do a simple thing: copy a file into the same folder using an other
>
name.
tell application "Finder"
duplicate file "A" of startup disk
set name of result to "B"
end tell
Of course, you'll have to provide the path and file names to suit your need.
--
Bill Cheeseman - email@hidden
Quechee Software, Quechee, Vermont, USA
http://www.quecheesoftware.com
The AppleScript Sourcebook -
http://www.AppleScriptSourcebook.com
Vermont Recipes -
http://www.stepwise.com/Articles/VermontRecipes
Croquet Club of Vermont -
http://members.valley.net/croquetvermont
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.