Re: Opening the newest file in a folder
Re: Opening the newest file in a folder
- Subject: Re: Opening the newest file in a folder
- From: Philip Aker <email@hidden>
- Date: Sat, 15 Dec 2007 11:06:50 -0800
On 2007-12-14, at 14:59:14, Mark J. Reed wrote: What they said. There's no reliable way after the fact to find out which file in a folder was put there most recently. If no file has ever ever been (re)moved from the folder since the folder was created, you can use the directory order (do shell script "ls -f"), but that is very fragile.
I wonder if last access time would suffice?
paragraphs of (do shell script "cd ~/Desktop;ls -tu")
|
_______________________________________________
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