Display condition, Comparing display conditions and pre-scripts – Apple DVD Studio Pro 4 User Manual
Page 607
Note: The same issue can occur with slideshows; however, you cannot correct it unless
you convert the slideshow to a track.
Display Condition
The menus, tracks, and stories within DVD Studio Pro can have a display condition applied
to them that determines whether they appear, and if not, what should appear instead.
For example, based on the DVD player’s aspect ratio setting, the condition can determine
whether to play the current track or a track that is better suited to the aspect ratio setting.
Or, you can choose to show or not show a menu based on the language setting.
By assigning a pre-script to the element or running a script before it is selected, you can
include settings in the General Purpose Register Memories (GPRMs) as part of the condition.
See
for information on setting up scripts.
Comparing Display Conditions and Pre-Scripts
All three elements (menus, tracks, and stories) that can have display conditions can also
have pre-scripts. Pre-scripts are scripts that are assigned to an element. They can do
everything a display condition can do and more. There are some specific differences to
be aware of:
• When an element has both a pre-script and a display condition, the pre-script executes
first.
• Pre-scripts only execute if you have jumped to the root of the element they are assigned
to, either by choosing the element’s name in the Connections tab or the name in square
brackets in the shortcut menus. If you connect directly to a marker, slide, or menu
button, the pre-script does not run. Display conditions, however, run any time the
element it is assigned to is jumped to, whether you jump to its root or to a specific
marker, slide, or button.
• On the DVD, pre-scripts are automatically placed with all other scripts in the VTS 1 file
group. This can cause slight delays when executing them because the DVD player may
have to jump significant distances to get to and from the script. Display conditions
reside in the same file groups as the element they are assigned to, which makes them
more efficient when playing.
Note: You can use the VTS Editor to manually place pre-scripts in the same VTS block
as the element it is assigned to. See
for more information.
607
Chapter 23
Using Advanced Features