Re: list with one item?
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.