User Guide
Working with selected objects 75
Group
• elements
• groupType
To return the number of objects in a selected group, type the following code:
numOfObjectsinGroup = fw.selection[0].elements.length;
Instance
• symbolID
• transformMode
• instanceType
• urlText
• altText
• targetText
To return the
instanceType for the currently selected instance, type the following code:
instance = fw.selection[0].instanceType;
Text
• antiAliased
• antiAliasMode
• autoKern
• orientation
• pathAttributes
Note: For the complete list of pathAttributes properties, see “pathAttributes” on page 76.
• randSeed
• textRuns
• textureOffset
• transformMode
To return the
antiAliasMode setting for the currently selected text block, type the
following code:
antiAliasedSetting = fw.selection[0].antiAliasMode;