Guicontrols – Apple Shake 4 User Manual

Page 98

Advertising
background image

98

Chapter 2

Setting a Script’s Global Parameters

To open or load a script that contains a missing macro:

1

Click the Globals tab.

2

Expand the renderControls subtree.

3

Set macroCheck to one of the following options:

abort load: does not load the script

sub. with text: substitutes a Text node in place of the missing macro

sub. no text: substitutes a MissingMacro node

4

Open/load the script.

To set the default macroCheck behavior to substitute a MissingMacro node, include the
following in a .h file:

sys.useAltOnMissingFunc = 2

For more information on .h files, see “

Creating and Saving .h Preference Files

” on

page 355.

guiControls

The parameters within the guiControls subtree allow you to customize the functionality
and display of controls in Shake’s graphical user interface. These settings are
individually saved by each script you create.

displayThumbnails
Turns all thumbnails in the Node View on and off. For more information on customizing
the thumbnail display, see “

Customizing Thumbnail Display

” on page 253.

displayThumbnails has three subparameters—thumbSizeRelative, thumbSize, and
thumbAlphaBlend.

thumbSizeRelative
Scales all thumbnails to the same size, or leaves them at different sizes relative to the
original sizes of the images. By default, all thumbnails are displayed at the same width.
To display thumbnails at their relative sizes, turn on thumbSizeRelative.

thumbSize
Lets you adjust the size of thumbnails in the Node View. If thumbSizeRelative is turned
on, all nodes are resized relative to one another.

thumbAlphaBlend
Turns thumbnail transparency on and off. When thumbAlphaBlend is on, moving one
thumbnail over another results in a fast look at how the nodes might appear when
composited together in the Viewer. More usefully, it gives you an instant view of which
images have transparency in them.

Advertising