it
it
is shorthand for a script’s
default target. The following example returns the
string
“9.0,”
which is the Finder’s version in Mac OS 9. The
script’s default target was previously set to the
Finder by declaring the Finder as a parent property
(see current application
in
this chapter or Chapter 3 for more information on
parent properties). Therefore, it
is a reference
to the Finder:
property parent : application "Finder" tell it to get its version (* returns the value of the Finder's version property *)