Object-Properties
A property is a number or a text string associated with an object which can be read or set with script.
The value of a numeric property is read and assigned to a variable using the following syntax:
variable = objName.Property
objName.Property =
For example, entering the following script in the Script window:
page.active =
could return
page.active = 1
indicating that the first layer of the page is active.
type -a "The property is $(page.active)";
This script obtains the current value of the page object property, substitutes it for the exltssion, and types it in the Script window.
The value of a text property is read and assigned to a string variable using the following syntax:
%letter = objName.Property$;
For example, enter the following script in the Script window to assign the value of the text property of a text label to the %Z string variable:
%Z = objName.text$
%Z =
type -b "The property is %Z";