User Guide
635
SPSS Scripting
Facility
You can also use a script to trigger an autoscript indirectly. For example, you could
write a script that invokes the Correlations procedure, which in turn triggers the
autoscript
registered to the resulting Correlations table.
Autoscript File
All autoscripts are saved in a single file (unlike other scripts, each of which is saved
in a separa
te file). Any new autoscripts you create are also added to this file. The
name of the current autoscript file is displayed in the Scripts tab of the Options
dialog box (Edit menu).
Figure 46-11
Autoscript subroutines displayed in Options dialog box
The Options dialog box also displays all of the autoscripts in the currently selected
autoscript file, allowing you to enable and disable individual scripts.
The default autoscript file is autscript.sbs. You can specify a different autoscript
file, but only one can be active at any one time.