Selecting an object during an action
The Select Object command lets you select a particular object during the course of an action. You identify the object to be selected using the Note text box in the Attributes palette. The Select Object function is useful for choosing a particular object during an action on which to perform commands, use palettes, or make selections in dialog boxes. For example, you could pick a specific ellipse in the artwork on which to perform transformation effects such as scale or rotate, change stroke characteristics using the Stroke palette, or apply colors with the Color palette.
To name an object for use during an action: - Select the object to be used in the action.
- Choose Window > Attributes.
- Choose Show Note from the pop-up menu in the Attributes palette.
- Type a name for the object in the Note text box. The object now can be used in an action sequence.
To select an object during an action: - Record an action, as described in Creating and recording actions, up to the point where the object is to be selected.
- Choose Select Object from the pop-up menu in the Actions palette.
- Enter the object name in the Set Selection dialog box. (The name should match the object name entered in the Note text box of the Attributes palette.)
- Set the following options in the Set Selection dialog box:
- Select Case Sensitive to select only objects that exactly match the uppercase or lowercase words in their Note text.
- Select Whole Word to select only objects whose names match every word listed in the Note text box associated with the object.
- Click OK and continue recording the actions.
|