• 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: filtering a list of items with Finder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: filtering a list of items with Finder
      • From: Paul Berkowitz <email@hidden>
  • Prev by Date: Re: email@hidden
  • Next by Date: Re: filtering a list of items with Finder
  • Previous by thread: Re: filtering a list of items with Finder
  • Next by thread: Re: filtering a list of items with Finder
  • Index(es):
    • Date
    • Thread