Re: Creating a script that can set its own modification date
Re: Creating a script that can set its own modification date
- Subject: Re: Creating a script that can set its own modification date
- From: Christopher Nebel <email@hidden>
- Date: Wed, 28 Nov 2007 19:01:01 -0800
On Nov 28, 2007, at 4:50 PM, David A. Cox wrote:
tell application "Finder"
do shell script "touch -t 202102211322 " & quoted form of POSIX
path of (path to me)
end tell
By the way, you don't need the "tell" block around that "do shell
script" statement. In fact, it's a bad idea to have it there -- it
makes Finder handle it, which means Finder won't be able to do its
regular job until it finishes.
--Chris Nebel
AppleScript Engineering
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden