Re: Limited list of files
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.