Re: Renaming a folder
Re: Renaming a folder
- Subject: Re: Renaming a folder
- From: Simon Forster <email@hidden>
- Date: Fri, 5 Oct 2001 07:09:22 +0100
On Friday, October 5, 2001, at 06:48 AM, Craig Walsh wrote:
I was just wondering if anyone knows how to rename a folder to the
current date of the machine.
tell application "Finder" to set name of file "Path_To_File:REP00006
copy.jpg" to (current date) as string
Works. At least under OS X. For classic you'll need to limit the file
name to 32 characters or less.
HTH
Simon Forster
________________________________________________
LDML Ltd, 4/5 Hazlitt Mews, London, W14 0JZ, UK
<tel int="+44 20 7602 9370" uk="020 7602 9370">
<fax int="+44 20 7371 6662" uk="020 7371 6662">
<
mailto:email@hidden>
________________________________________________