Resume command, Gprm mode command, Exit command – Apple DVD Studio Pro 4 User Manual

Page 498

Advertising
background image

3

For each stream you select, use the pop-up menu to choose the stream (Immediate mode)
or GPRM register (GPRM mode).

4

If you select the subtitle stream, select the View checkbox to force the subtitle to appear.

Resume Command

The resume command works like the Resume button on a DVD player’s remote
control—when executed as a step in a script, the disc starts playing from where it last
left off.

Note: When the resume command is executed from a pre-script, the result may not match
your expectations. Instead of playing the last menu or track that the viewer saw, the track
or menu that had the pre-script assigned to it plays instead (which, even though the
viewer had not seen it, was the last element “viewed”).

GPRM Mode Command

Each 16-bit GPRM register can be set to function as a memory location or as an
incrementing counter. By default, all GPRM registers, including those partitioned to smaller
registers than 16-bits, are set to be memory registers.

Counter mode: The value loaded into the register increments once per second. This

mode can be a useful way to determine how far into the track the viewer has played.

Register mode: A value written to a register remains there until a new value is written

or the disc is ejected.

To configure the GPRM mode command

1

In the Script Command Inspector, click either the Counter or Register Mode button to
set the selected GPRM’s mode.

2

Choose the GPRM register to configure with the Set To pop-up menu.

Only 16-bit GPRM registers appear in the pop-up menu. See

Setting a GPRM’s Mode

for

more information.

Exit Command

The exit command provides a way to stop the title from playing back. If, while a script is
running, an exit command is encountered, the script stops running and you are prevented
from playing the title. For example, you may want to do this in response to the player’s
region setting.

498

Chapter 20

Creating Scripts

Advertising