• 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: Filters with "entire contents of"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Filters with "entire contents of"


  • Subject: Re: Filters with "entire contents of"
  • From: Michelle Steiner <email@hidden>
  • Date: Sun, 17 Oct 2004 09:29:56 -0700


On Oct 17, 2004, at 4:51 AM, Axel Luttgens wrote:

I think the first three variations don't work because they just don't contain any valid filter reference forms.

Let's consider the first one; it may be viewed as:
<property> of <object> whose <boolean>
In this case, the "<property> of <object>" part is "entire contents of f", which yields another object (that may be viewed as some kind of container - one that comes with every container); the end result is thus equivalent to asking for:
<anobject> whose <boolean> [1]

If "entire contents of" returns a property, that's true. Here is an interesting dichotomy:


tell application "Finder"
	class of (entire contents of (choose folder))
	class of foo
end tell

--> list of the classes of each item

tell application "Finder"
	set foo to (entire contents of (choose folder))
	class of foo
end tell

--> list

--
"Beware the march of ideas."

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Filters with "entire contents of"
      • From: Michael Terry <email@hidden>
    • Re: Filters with "entire contents of"
      • From: Michael Terry <email@hidden>
References: 
 >Filters with "entire contents of" (From: Michelle Steiner <email@hidden>)
 >Re: Filters with "entire contents of" (From: Axel Luttgens <email@hidden>)

  • Prev by Date: Re: CAD software for circuit simulation
  • Next by Date: Re: itunes: how to change a track's "date added" info
  • Previous by thread: Re: Filters with "entire contents of"
  • Next by thread: Re: Filters with "entire contents of"
  • Index(es):
    • Date
    • Thread