Re: list with one item?
Re: list with one item?
- Subject: Re: list with one item?
- From: Matthew Smith <email@hidden>
- Date: Thu, 23 May 2002 23:04:55 -0700 (PDT)
On Friday, May 24, 2002, at 05:58AM, Marc Venot <email@hidden> wrote:
>
the script is in an application with a subfolder "photo" which include some
>
files.
>
>
[script]tell application "Finder"
>
set x to folder of item ("" & (path to me))
>
set Ledossierphoto to folder "photos" of x
>
set liste_Lesgrandesphotos to (name of every file of Ledossierphoto) ,
>
whose file type is in ({"GIFf", "JPEG", "PICT", "TIFF"} as list)
>
...
>
end tell
>
[/script]
>
>
liste_Lesgrandesphotos is only a list with more than one item.
>
How to make it a list whatever the number of item(s)?
I am not sure what you want. Are you wanting to know how many items are in liste_Lesgrandesphotos? As in:
count of items of liste_Lesgrandesphotos
--
Matthew Smith
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.