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.

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.

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

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.

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.

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

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

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

Delete the quotation mark at the beginning of this line.

From the menus choose:

File
Save As

Type Bold and red.sbs for the new filename.

Click Save.

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