• 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: Fri, 14 Dec 2007 17:59:14 -0500

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.


On 12/14/07, has <email@hidden> wrote:
>
> On 14 Dec 2007, at 18:32, Doug McNutt wrote:
>
> > At 12:12 -0600 12/14/07, Craig Cope wrote:
> >> I need to open any file most recently dropped into a folder so I
> >> can do some text manipulation on it.
> >
> > The modification date of a file will not change just because it is
> > moved into a different folder.
>
>
> Sounds like a job for folder actions, either for processing the file
> as soon as it's dropped, or for writing the file's name to a hidden
> text file for later reference.
>
> HTH
>
> has
> --
> http://appscript.sourceforge.net
> http://rb-appscript.rubyforge.org
>
>  _______________________________________________
> 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
>


--
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

  • Follow-Ups:
    • Re: Opening the newest file in a folder
      • From: Philip Aker <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>)

  • Prev by Date: Re: Dumb Finder scripting question
  • 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