Re: Renaming a copied file with Finder
Re: Renaming a copied file with Finder
- Subject: Re: Renaming a copied file with Finder
- From: Christopher Nebel <email@hidden>
- Date: Mon, 9 Oct 2006 11:01:01 -0700
On Oct 9, 2006, at 9:59 AM, Michelle Steiner wrote:
On Oct 9, 2006, at 9:27 AM, Christopher Nebel wrote:
It's irrelevant, because that block will never be executed. The
Finder's "duplicate" command (without replacing) will rename the
new file as necessary ("foo copy n") to avoid a collision. ("How
do I get a reference to the new file if I don't know its name?",
you ask? "Duplicate" returns a reference to the new file as its
result.)
Copying within the same folder, yes. But my experience is if the
copy is to a different folder, it creates an error instead.
My apologies; you are correct. I had forgotten that the behaviors
were different.
--Chris Nebel
AppleScript Engineering
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden