• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Duplicate command syntax
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Duplicate command syntax (From: email@hidden)

  • Prev by Date: Re: AppleScript Lib obsolete?
  • Next by Date: Re: Remote Access scripting
  • Previous by thread: Re: Duplicate command syntax
  • Next by thread: AppleScript Lib obsolete?
  • Index(es):
    • Date
    • Thread