Reference Script Results from other Objects
After a variable has been entered into the experimental context as an attribute, that attribute may then be accessed by other E-Prime objects occurring within the same scope. For example, once the random value has been set as an attribute at the beginning of the trial Procedure, that attribute may be referenced by a TextDisplay object in order to display the value as the stimulus during the trial. To refer to an attribute, use square brackets surrounding the attribute name (e.g., [Stim]) in the Text field of the TextDisplay object.
NOTE: Most properties of E-Studio objects may be changed through script as well. For example, to change the location of the display area defined by a TextDisplay object, the X property for a TextDisplay object named TextDisplay1 could be set as TextDisplay1.X = 100. This command sets the horizontal location of the display area to begin at pixel location 100.