User Guide
14
467
14 Creating Scripts
You can add sophisticated interactivity and control
to a project with only a few simple scripts.
The DVD-Video specification includes a simple yet powerful scripting language. This
scripting language provides for extensive interactivity between the viewer and the
DVD player. DVD Studio Pro gives you full access to these scripting capabilities.
Scripts in DVD Studio Pro are created as separate elements within a project, so they can
be assigned easily to any element that supports a script. Scripts can be assigned to
buttons or attached to the start or end of any track, story, menu, or marker.
With scripts you can:
• Have the title automatically customize itself to best match the DVD player’s configuration
in areas such as language selection, audio formats, and parental management
• Add specialized features, such as a random play after a menu times out
• Add subtle features, such as having a menu highlight the next button when
returning to the menu after activating a previous button
• And much more
Pre-Scripts
Tracks, stories, slideshows, and menus have pre-script settings. A pre-script is a normal
script that is run before the element plays or displays. It can be used to do things such as
decide whether to play the element or to configure the DVD player before it is played. For
example, you may have a pre-script assigned to a track that checks the DVD player’s
parental management setting to decide whether this track or a different one should play.