Date: Sun, 27 Feb 2005 08:59:25 -0800
From: Paul Berkowitz <email@hidden>
Subject: Re: creation date property of item is r/o !
To: AppleScript-Users <email@hidden>
Message-ID: <BE473C6D.8A939%email@hidden>
Content-Type: text/plain; charset="US-ASCII"
On 2/27/05 8:22 AM, "Emile Schwarz" <email@hidden> wrote:
Hi all,
excepted on using a LAN/WAN connection, copy (files / folders) from Windows to
Mac OS X set the creation file as "1904-01-01, etc.".
In an attempt to change that I discovered that the AppleScript creation date
property of item is read only.
But modification date is read/write (as I expected, but not needed as of
today) !
Fortunately, after getting the error message, I went immediately checking the
Finder dictionary (instead of wasting hours for nothing).
Someone knows why ?
To keep you honest. Creation date is the date a file was created. Period.
They don't want you to lie about this, I guess.
Care to explain why ?
Honesty is the best policy?
Do you know of any work-around ?
Make a new file via 'open for access'. Read the original file and write the
same content to the new file. Delete or rm the original file. Give the new
file the same name, extension, creator type and file type in the Finder. You
will now have a replica of the original but with a creation date of whenever
you created it. There's no alternative creation date, so if you wanted to
make it last Thursday at 3:15 you're out of luck, except by first setting
the Date & Time in System Preferences to last Thursday at 3:15, making the
replica file, then resetting Date & Time to today.