Re: filtering a list of items with Finder
Re: filtering a list of items with Finder
- Subject: Re: filtering a list of items with Finder
- From: Andy Wylie <email@hidden>
- Date: Tue, 29 Oct 2002 07:12:40 +1300
on Tue, 29 Oct 2002 06:52:11 ++1300 iWrote:
>
on Mon, 28 Oct 2002 10:57:06 ++0000 has wrote:
>
>
> Unfortunately, I have bad news...
>
>
>
OK, how about some good news, did you try the other example...
>
>
set theApp to application "Finder"
>
>
theApp's files & (theApp's items whose class = +AKs-class cfol+ALs)
>
and just for larfs...
tell theApp to files's name & ((every +AKs-class cfol+ALs whose class = +AKs-class
cfol+ALs)'s name)
tell theApp
if number of file > 1 then
set x to (files as +AKs-class alst+ALs)
else
set x to files as alias
end if
tell (every +AKs-class cfol+ALs whose class = +AKs-class cfol+ALs)
if its number > 1 then
set y to it as +AKs-class alst+ALs
else
set y to it as alias
end if
end tell
end tell
x & y
_____________________________ Andy
_______________________________________________
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.