Re: Modification date in leopard
Re: Modification date in leopard
- Subject: Re: Modification date in leopard
- From: Christopher Nebel <email@hidden>
- Date: Mon, 3 Mar 2008 12:02:53 -0800
On Mar 2, 2008, at 4:56 AM, david wrote:
In 10.4 I could use
set d to modification date of file "system:private:tmp:test"
to get the modification date of a file. In 10.5 this doesn't work
anymore. I guess I could use a shell script but that feels like a
lot of hassle. There must be built in support for this in
Applescript but Google didn't find anything.
Suggestions?
That sort of thing (without a tell block) relies on the action being
run by System Events, which isn't true any more in Leopard. Add an
explicit 'tell application "System Events"', and it should work on
either system.
--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