Re: AppleScript changing file creation date?
Re: AppleScript changing file creation date?
- Subject: Re: AppleScript changing file creation date?
- From: Timothy Bates <email@hidden>
- Date: Wed, 23 Jan 2002 11:01:34 +1100
tell application "Finder"
activate
creation date of (choose file)
-->date "Friday, 18 January 2002 3:06:57 PM"
end tell
On 23/1/02 10:42 AM, "Andrew Nielsen" <email@hidden> wrote:
>
Hi
>
>
I know there are OSAXen that can do this in Mac OS 9 or earlier,
>
however I'd like to be able to change file creation dates in Mac OS X
>
from within AppleScript. I have a bunch of digital photos in various
>
folders that have bizarro creation dates thanks to a bug in some
>
capture software, and I'd like to be able to fix them based on the
>
capture date that's contained inside the image files. I can read the
>
capture date no problems using other software and AppleScript, but
>
can't find any way to change the actual file creation date. TIA.
Dr Timothy Bates <
mailto:email@hidden>
Macquarie Centre for Cognitive Science (MACCS)
Macquarie University
Ph 61 (2) 9850 8623
Fx 61 (2) 9850 6059