Create custom scripts to automate many of your common tasks. You can write new scripts, or you can modify current scripts to suit your needs.

step To create a script, from the menus choose:

File
 New
  Script

The Use Starter Script dialog box is automatically displayed, allowing you to choose an existing script to use as the basis for your new script. You can click Cancel if want to write your script without using a starter script as a reference.

step Navigate to the Scripts sub-folder of the SPSS installation folder.

step Select Make totals bold.sbs and click Open.

The script opens in the Script Editor. The Script Editor is a full featured programming environment. Color coding helps to identify different script elements. For example, commented areas are colored green. In starter scripts, these comments explain what the script does and how those ends are accomplished.

step Scroll to the section that handles the color of the totals text. Search for .TextColor if you have trouble locating this section.

Currently, the script changes the color of the totals text to blue. Many other colors are defined in this section and commented out.

step Move the cursor to the begining of the line that changes the text color to blue.

step Type a single quotation mark at the beginning of this line to comment it out.

step Move the cursor to the beginning of the line that changes the text color to red.

step Delete the quotation mark at the beginning of this line.

step From the menus choose:

File
 Save As

step Type Bold and red.sbs for the new filename.

step Click Save.

When you run the new script, the totals line is bolded and the font color changes to red.