Script Editor Icon

Checking the results returned

You can track each value returned by your script using the Result History window.

To check your results:

In Script Editor, choose Window > Result History.

As you run a script in Script Editor, each time a value is loaded into a variable, it appears in the log. This is a great aid in debugging a script, allowing you to observe what changes are occurring to your variables.