Language Guide

CHAPTER 5
Objects and References
Reference Forms 127
EXAMPLES
some word of paragraph 5
some word whose style contains outline
Every Element 5
The Every Element reference form specifies every object of a particular class in
a container.
SYNTAX
every className
pluralClassName
where
className is a singular class name (such as word or paragraph).
pluralClassName is the plural form defined by AppleScript or an application
(such as words or paragraphs). The plural form of an object class name has
the same effect as the word every before an object class name. Plural forms are
listed in application dictionaries.
VALUE
The value of an Every Element reference is a list of the objects in the container.
If the container does not contain any objects of the specified class, the list is an
empty list. For example, the value of the expression
every paragraph of {1, 2, 3}
is the empty list:
{}