Re: Rename File Script newbie question
Re: Rename File Script newbie question
- Subject: Re: Rename File Script newbie question
- From: Emmanuel <email@hidden>
- Date: Thu, 6 Mar 2003 19:10:25 +0100
At 5:20 PM +0000 06/03/03, Phil Holden wrote:
Is there some way for me to rename a file to another name and if
this name already exists for this file to be overwritten. I have
read about using replacing boolean but can't seem to get this to
work in this script.
I hope there's a better solution, but you could proceed in 3 steps:
1. Move the file out of the folder into a safe place (an empty folder
would be perfect, or you can use your Temporary Items folder)
2. Rename the file
3. Move it back to the folder, using Finder's "move ... with replacing".
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.