• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Opening the newest file in a folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Opening the newest file in a folder


  • Subject: Re: Opening the newest file in a folder
  • From: "Mark J. Reed" <email@hidden>
  • Date: Sat, 15 Dec 2007 14:30:08 -0500

Last access time doesn't change when you move a file either.

Essentially, a folder is a storage container, and the files are boxes.
 If the container arrived empty, and you fill it systematically, then
you can tell by the location of the boxes which one was put there
last.  But otherwise, you can't, even with a sign-in/sign-out sheet
for the container and a dated log of manifest changes on each box.



On 12/15/07, Philip Aker <email@hidden> wrote:
> 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")
>
>
> Philip Aker
> echo email@hidden@nl | tr a-z@. p-za-o.@
>
>
>
>


--
Mark J. Reed <email@hidden>
 _______________________________________________
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

References: 
 >Opening the newest file in a folder (From: Craig Cope <email@hidden>)
 >Re: Opening the newest file in a folder (From: has <email@hidden>)
 >Re: Opening the newest file in a folder (From: "Mark J. Reed" <email@hidden>)
 >Re: Opening the newest file in a folder (From: Philip Aker <email@hidden>)

  • Prev by Date: Re: Getting the time zone
  • Next by Date: Re: Dumb Finder scripting question
  • Previous by thread: Re: Opening the newest file in a folder
  • Next by thread: Re: Opening the newest file in a folder
  • Index(es):
    • Date
    • Thread