image

Variables

image

The variables pane displays the values of your script’s variables.

To see the variables pane:

image

Variables are displayed in alphabetical order, grouped into the following categories:

  1. Inherited variables (blue background).

    A script’s persistent variables include those acquired through AppleScript’s script object inheritance mechanism.

    By default, a script’s parent is the AppleScript scripting component. Therefore, the variables pane will usually display this object and its variables twice — once by virtue of being the script’s parent, and again by virtue of being the global script object AppleScript.

  2. Top-level entities.

The variables pane is an outliner, with all that this entails. For example:

Script Debugger preserves the value of persistent top-level entities when a script is saved and re-opened.



image
Times Errors
image