• 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
Duplicate command syntax
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Duplicate command syntax


  • Subject: Duplicate command syntax
  • From: email@hidden
  • Date: Wed, 3 Jul 2002 22:29:10 EDT

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

If I run it, I just get a "can't set Macintosh HD: file1.htm to Macintosh HD:file2.htm" error. I wish it would tell me why.

Any advice is greatly appreciated.

- Rob
_______________________________________________
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.

  • Follow-Ups:
    • Re: Duplicate command syntax
      • From: Emmanuel <email@hidden>
    • Re: Duplicate command syntax
      • From: Rob Jorgensen <email@hidden>
    • Re: Duplicate command syntax
      • From: Matthew Smith <email@hidden>
  • Prev by Date: Re: Eudora Filter
  • Next by Date: Re: Duplicate command syntax
  • Previous by thread: Re: Urgent Need help with Script!
  • Next by thread: Re: Duplicate command syntax
  • Index(es):
    • Date
    • Thread