|
TUTORIAL TOPIC: SCRIPTING
TUTORIAL TITLE: SCRIPTING SUBTITLE SELECTION
This tutorial shows how to Script the Selection of Subtitle Streams. This is similar to using a Button to set a subtitle stream, but does it using Scripts! This tutorial is available for instant download as a fully assembled DVDSP project for site members. If you are a member, and logged in, use this link for download: Scripting Subtitles 3.30 Mb
Welcome visitor! Thanks for dropping by...
The complete contents of this Tutorial are available to DVD Pro Club Members.
If you'd like to enjoy the rest of the Tutorial, please login - or why not join today?
Scripting Subtitles
Controlling the subtitle stream currently playing can be done a number of different ways, including directly from the subtitle button on the DVD remote control.
Scripts can contain a SetSystemStream command that sets the value of the Subtitle stream to be played.
Here's what it looks like in the Script Inspector:
The syntax is pretty simple:
Set System Stream St(Stream#) View On [Off]
When using Scripting, be sure to end every script with a Jump to some other element. Leaving this command off will cause the script to dead-end when the script execution is completed, thereby crashing the DVD player.
That's It! - Enjoy this tutorial, and don't forget to rate it for others!
Bruce - "the Digital Guy"
By the way - If you like this project and want to own it completely assembled and ready to go,
visit the Recipe4DVD Downloads Store , where you can find some variations waiting for you to explore!
To see details of the projects, visit "ProPack2 Details" for project 35 in the Pro-Packs Main Menu item.
|