Skip to Content
DVD Studio Pro 3: In the Studio
book

DVD Studio Pro 3: In the Studio

by Marc Loy
October 2004
Intermediate to advanced
352 pages
13h 46m
English
O'Reilly Media, Inc.
Content preview from DVD Studio Pro 3: In the Studio

Display Conditions

Before we close out this chapter on scripting, we should mention one other script-like feature available in DVDSP. You can attach a display condition to menus and tracks. This is like a simple script that tests some condition before playing the menu or track. If the condition is met, the item will play as usual. If the condition is not met, playback jumps to some other resource you provide. Figure 7-36 highlights the Display Condition area on a track's Inspector page.

The Display Condition section of a track

Figure 7-36. The Display Condition section of a track

For example, you could have written the play-once feature with a very simple script and a display condition. For the script (set as the End Jump target for your intro clip) you just need to record the fact that you played the intro and go on to the main menu, as shown in Figure 7-37.

A simple script to record the fact that you've seen the intro clip

Figure 7-37. A simple script to record the fact that you've seen the intro clip

Now attach a condition to the intro clip. If the introduction has not been played, go ahead and show it. Otherwise jump to the menu. That configuration looks like Figure 7-38.

The display condition for the new play-once project

Figure 7-38. The display condition for the new play-once project

Of course, for this to work properly you need to change ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Apple Pro Training Series DVD Studio Pro 4, Second Edition

Apple Pro Training Series DVD Studio Pro 4, Second Edition

Martin Sitter, Adrian Ramseier, Jem Schofield
Apple Pro Training Series: DVD Studio Pro 4

Apple Pro Training Series: DVD Studio Pro 4

Martin Sitter, Adrian Ramseier
Apple Pro Training Series: DVD Studio Pro 4, Third Edition

Apple Pro Training Series: DVD Studio Pro 4, Third Edition

Martin Sitter, Adrian Ramseier, Robbie Carman, Richard Harrington

Publisher Resources

ISBN: 0596005881Errata Page