• 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: Malcolm Fitzgerald <email@hidden>
  • Date: Fri, 24 May 2002 16:27:48 +1000

Try this:


[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]

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)?

--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
_______________________________________________
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.


--
--
Malcolm Fitzgerald email@hidden
Database Manager http://www.asauthors.org
The Australian Society of Authors ph: 02 93180877 fax: 02 93180530
_______________________________________________
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.

References: 
 >list with one item? (From: Marc Venot <email@hidden>)

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