Re: Finder Renaming Unpleasant Surprise
Re: Finder Renaming Unpleasant Surprise
- Subject: Re: Finder Renaming Unpleasant Surprise
- From: Christopher Stone <email@hidden>
- Date: Fri, 13 Jan 2017 21:50:34 -0600
On Jan 13, 2017, at 08:57, S. J. Cunningham <email@hidden> wrote:
So I have been counting on the Finder to throw an error if I try
to rename a file to a name which already exists in the same folder. But it appears that is not what happens. It simply silently ignores the rename command. I am I missing something? This doesn't seem right.
Your code throws the expected error for me on macOS 10.12.2.
“Error -48: The operation can’t be completed because there is already an item with that name.”
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden