Re: Duplicate command syntax
Re: Duplicate command syntax
- Subject: Re: Duplicate command syntax
- From: Emmanuel <email@hidden>
- Date: Thu, 4 Jul 2002 10:08:00 +0200
At 4:29 AM +0200 4/7/02, email@hidden wrote:
>
>
I've got the Applescript manual right in front of me, but I must be
>
missing something really obvious. Can anyone tell me what's wrong with
>
this script?
>
>
tell application "Finder"
>
duplicate "Macintosh HD:file1.htm" to "Macintosh HD:file2.htm"
>
end tell
I reformulate the end of Rob's reply: the "to" argument should be the
container of the copy:
... to alias "Macintosh HD:"
is what you want (and then you do like Rob says, "set name ...")
Emmanuel
_______________________________________________
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.