MACSCRPT Archives

June 2011

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mark Lively <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Mon, 13 Jun 2011 14:25:46 +0000
Content-Type:
text/plain
Parts/Attachments:
text/plain (11 lines)
On Jun 13, 2011, at 10:06 AM, Emmanuel LEVY wrote:

> I don't even know how you set a modification date...
> 


set afile to "" & (path to desktop) & "Party Over.pdf"
do shell script "touch  -t 199912312359 " & quoted form of POSIX path of afile

-Mark
If everything looks like a nail then isn't a hammer all you need?

ATOM RSS1 RSS2