• 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: Limited list of files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Limited list of files


  • Subject: Re: Limited list of files
  • From: g3pb <email@hidden>
  • Date: Tue, 20 Feb 2001 21:42:23 -0900

-- something like this should get you going

tell application "Finder"
set aliasList ,
to every item of alias "HD:folder:folder:" as alias list
set aliasList to sort aliasList by modification date
set shortList to items 1 thru 4 of aliasList
end tell

-- hcir
mailto:email@hidden


> I want to get a list of the latest three or four items (either files
> or folders) by modification date within a folder. I can get a list of
> all the items, but I fail to create working syntax to restrict the
> list or parse out a few items.
>
> What I want to do is peek into my folder of downloaded Info-mac
> digests and pop up a dialog or window showing the latest items. I'll
> teach myself to display the info, but I need help restricting the
> list.


  • Follow-Ups:
    • Re: Limited list of files
      • From: Dale Saukerson <email@hidden>
References: 
 >Limited list of files (From: Dale Saukerson <email@hidden>)

  • Prev by Date: Re: Facespan 3.5.1: Is it good, or bad?
  • Next by Date: Re: applescript-users digest, Vol 2 #405 - 15 msgs
  • Previous by thread: Limited list of files
  • Next by thread: Re: Limited list of files
  • Index(es):
    • Date
    • Thread