| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
Hi Jeffrey et al.,
Thank you for your kind answer.
<code from memory> -- get the mod date set modDate to modification date of item "toto.foo" of front window
-- and use it to be the creation date set creation date of item "toto.foo" of front window to modDate </code from memory>
I will try later this morning your advice.
Cheers,
Emile
Jeffrey Berman wrote:
On 2/27/05 11:33 AM, "John C. Welch" <email@hidden> wrote:
On 2/27/05 10:22 AM, "Emile Schwarz" <email@hidden> wrote:
Fortunately, after getting the error message, I went immediately checking the Finder dictionary (instead of wasting hours for nothing).
Someone knows why ? Care to explain why ? Do you know of any work-around ?
The why doesn't matter. Get the dev tools and you can use SetFile to accomplish this.
The 'SetFile' command does let you change the file creation date. However, I've discovered that a 12 AM number needs to be set with "00:mm" time notation. For example,
SetFile -d "02/27/2005 12:01 AM" testfile
sets the creation date of file "testfile" to 12:01 *PM*. However, the following command:
SetFile -d "02/27/2005 00:01 AM" testfile
sets the creation date to the desired 12:01 AM time.
-Jeffrey Berman
_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/applescript-users/email@hidden
| References: | |
| >Re: creation date property of item is r/o ! (From: Jeffrey Berman <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.