Re: MS-DOS better than Applescript??
Re: MS-DOS better than Applescript??
- Subject: Re: MS-DOS better than Applescript??
- From: Michelle Steiner <email@hidden>
- Date: Tue, 3 Sep 2002 13:28:43 -0700
On Tuesday, September 3, 2002, at 12:34 PM, Roman Fischer wrote:
How can I do such a copy in Applescript (or is MS-DOS really better;-) ?
Well, if your only criterion is to copy a file and change its name in
one line of code, then MS DOS is better.
Here is something that will do what you want, though:
set the filetocopy to choose file
tell application "Finder"
set the newfile to duplicate the filetocopy
set the newfile's name to "ghi.txt"
end tell
--Michelle
We're not human beings having a spiritual experience.
We're spiritual beings having a human experience.
_______________________________________________
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.