• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Set File Creation date
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Set File Creation date


  • Subject: Re: Set File Creation date
  • From: "Paul F. Henegan" <email@hidden>
  • Date: Thu, 06 Jan 2005 16:12:25 -0500

on 18.12.2004 02:25, Paul Berkowitz at email@hidden wrote:

> On 12/17/04 10:54 PM, "Gnarlodious" <email@hidden> wrote:
>
>> Is there any way to set a file's creation date?
>>
>> This runs:
>> tell application "Finder" to set the creation date of (info for someFile) to
>> date "Thursday, December 2, 2004 11:28:16 PM"
>>
>> but doesn't do anything.
>
> First of all, someFile already has a 'creation date' property in the Finder
> - no need for an info for - but it's denoted as [r/o]. So you wouldn't be
> able set it in the Finder.

As you point out, the creation date is r/o. However, it is possible to set
the modification date. Mac OS doesn't like files that have a modification
date before their creation date and will automatically reset the creation
date...

HTH,

paul
--
Paul F. Henegan
<email@hidden>

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: QuarkXpress - master pages
  • Next by Date: Re: Data Storage and Load Script
  • Previous by thread: Re: Applescript-users Digest, Vol 2, Issue 9
  • Next by thread: corrupted messages in Eudora - how to reset status w/ AS?
  • Index(es):
    • Date
    • Thread