Re: order in which the files are listed in droplet file list
Re: order in which the files are listed in droplet file list
- Subject: Re: order in which the files are listed in droplet file list
- From: Jason Bourque <email@hidden>
- Date: Mon, 20 Aug 2001 17:09:24 -0400
On 8/19/01 4:55 AM, "Zsolt Magyar" <email@hidden> wrote:
>
Dear All,
>
>
First of all pls reply to me directly as I'm not on the list. Unfortunately
>
I can take some time for scripting just occasionally.
>
>
This should be an easy one but I can't figure it out.
>
>
The code is:
>
>
------------
>
>
on open (list_of_aliases)
>
display dialog list_of_aliases as string
>
end open
>
>
------------
>
>
In which order will the files be listed, is it name related or creation date
>
related or modification date related or, how do I select them or what?
>
>
I have a bunch of xls file names and they always open in some strange
>
order....
>
>
Thanks,
>
>
Zsolt
Well the finder has the power to change the order. Below is by name but you
can sort anyway a window can.
on open these_items
if (count of these_items) > 1 then
tell application "Finder"
set these_items to sort these_items by name
end tell
end if
end
Jason Bourque