Language Guide

CHAPTER 7
Control Statements
214 Considering and Ignoring Statements
Considering/Ignoring 7
Considering and Ignoring statements cause AppleScript to consider or ignore
specific characteristics, called attributes, as it executes groups of statements.
SYNTAX
considering attribute [, attribute ... and attribute ] 
[ but ignoring attribute [, attribute ... and attribute ] ]
[ statement ]...
end considering
ignoring attribute [, attribute ... and attribute ] 
[ but considering attribute [, attribute ... and attribute ] ]
[ statement ]...
end ignoring
where
statement is any AppleScript statement.
attribute is an attribute to be considered or ignored. Attributes are listed next
under “Attributes”.
ATTRIBUTES
An attribute is a characteristic that can be considered or ignored in a
Considering or Ignoring statement. A Considering or Ignoring statement
can include any of the following attributes:
case: In string comparisons, uppercase letters are not distinguished from
lowercase letters (all letters are treated as lowercase letters). If this attribute is
considered, uppercase letters are distinguished from lowercase letters.
white space: Spaces, tab characters, and return characters are considered
in string comparisons. If this attribute is ignored, the strings are compared as
if these characters were not present; for example "Brick house" would be
considered equal to "Brickhouse".