Duplicate command syntax
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.