O'Reilly logo

DVD Studio Pro 3: In the Studio by Marc Loy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix A. Script Command Reference

This appendix takes an in-depth look at the scripting commands available to you in DVDSP. You can find more information on scripting in the DVDSP 3 User’s Manual.

Argument Types

Before we list the commands, we need to enumerate the types of arguments the commands can use. Figure A-1 highlights the argument sections of the Script Command Inspector.

From the pop-ups highlighted in Figure A-1, you can select one of five types for storing or comparing:

GPRM

General Purpose Register Memory (global variables)

SPRM

System Parameter Register Memory (global status information)

Immediate

Numeric values such as 1 or 255

Jump Target

The same options available to menu buttons and end jumps

Special

Other jump targets such as Current Item, Last Item, and Last Track

Type reference

Let’s go through each type in a bit more detail.

GPRM

GPRM types represent the variables of DVD scripting. DVDSP gives you access to eight such variables. You can store a variety of information in a GPRM. Typically they hold immediate values or jump targets for use throughout a script.

The sections that use arguments in the Script Command Inspector

Figure A-1. The sections that use arguments in the Script Command Inspector

By default, these variables are referred to as GPRM 0 through GPRM 7. You can rename them for each project, though. The Inspector window for both the disc and any ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required