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.
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 ...
Get DVD Studio Pro 3: In the Studio now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.