• 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: list with one item?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: list with one item?
  • Next by Date: Re: list with one item?
  • Previous by thread: Re: list with one item?
  • Next by thread: Question: Key state as test?
  • Index(es):
    • Date
    • Thread