Tutorial: Page (1) of 5 - 05/17/04 Email this story to a friend. email article Print this page (Article printing at MyDmn.com).print page facebook
DVD Studio Pro Scripting Project 1: Creating a 'last viewed' button By Dave Nagel For most, scripting in DVD Studio Pro is a complete mystery. It's not that it's complex by any means; it's just that there's a dearth of accessible documentation and a lack of real-world examples to provide a reference point for getting started. Nevertheless, scripting can be an essential part of your DVD presentation and can also save you hours of repetitive, redundant work. In short, if you create DVDs, you ought to know scripting.

With this in mind, the idea for this new series of articles on Apple's DVD Studio Pro is to provide you with project-specific examples of DVD scripts in action. There are, of course, many ways to perform any function in DVD Studio Pro, and these examples may not be the most efficient. But they should not only show you how to get the job done, but also get you thinking about how to extend the functionality of what you've just learned.

For our first project in this series, we'll be creating a fairly simple set of scripts that will enable you to have a "Play Previous" button in your presentation. In other words, no matter where you are in the DVD, you can click this button to play the clip you just viewed, without having to create separate buttons for each clip and multiple menus to accommodate this kind of function. It's just one reusable button that "remembers" the last-played track.





Our presentation in this example will include three tracks. (Obviously the benefits of using scripts like these are more significant when you have a whole mess of tracks to work with. But three will suffice to show you what's going on.) It will also have one "View Previous" button. And it will include four little scripts: one for each track and one for the button. You can use your own button or download my custom shape here (80 KB, Stuffit archive).



Scripting the tracks
To begin, we're first going to create the scripts for our individual tracks. These scripts simply set a value when the track is played, which will enable our "View Previous" button to know which track it should play when it's clicked. Here's how it works.

1. Choose Project > Add to Project > Script.



2. Switch over to your Script tab, and you should see your script there with one command listed (labeled "Nop").



3. Click on the command in the Script tab, which will call up that command's properties in the Inspector palette.



4. What we're going to do now is switch that "Nop" command to "Set GPRM."




Page: 1 2 3 4 5 Next Page


Related Sites: Creative Mac ,   Digital Producer ,   Audio Video Producer ,   BN - Broadcast Newsroom ,   Corporate Media News ,   Digital Post Production ,   DVD Creation ,   Presentation Master ,   Oceania ,   MacDVDPro ,   BN - NAB ,   BN - Software
Related Newsletter: DMN Newsletter ,   CMN Newsletter ,   Timeline Newsletter ,   Mac Alert Newsletter ,   KNews Newsletter ,   Digital Media Net ,   DVD Viewpoint ,   DMNForums ,   Tutorial Finder

DMO TEXT LINKS
(Click here to place a textlink on this site)

AV-HS450 16+ Input HD/SD Switcher w/ dual screen MultiViewer
This 16+ input switcher is the best value in its class.
Its exclusive dual screen MultiViewer lets you view up to 20 windows on just two displays.
CLICK HERE!!!

HOT THREADS on DMN Forums
Content-type: text/html  Rss  Add to Google Reader or
Homepage    Add to My AOL  Add to Excite MIX  Subscribe in
NewsGator Online 
Real-Time - what users are saying - Right Now!
    • Re: Acid Pro 7 loops question • JohnnyRoy
    • Re: Rendering to .avi files • yigalsela
Content Insider #148 - The iGen
NO...Doesn't have a thing to do with "that" smartphone...or "that" store...or "that" tablet. It's the next generation. Kids and we mean little kids. That's what today's products are being designed for/targeted at. You happen to buy one...fine. Watch a little, little kid pick up a smartphone. He/she just uses it. They've come pre-wired and we're still trying to figure out how to IM. It's the IGen. They want it instantly. They want to use it instantly. They expect their photos, their video, their music, their stuff immediately when/where/how they want it. Read More
eBay Essential Training: Proxy Bidding
In this clip, lynda.com host Mark Abdelnour takes a look at proxy bidding. He discusses the strategy and how it works. He also discusses the maximum bid, and when to use Proxy bidding. Read More
Insider #149 - Game Demographics
The blood, gore, adrenalin challenges that were unveiled at E3 and enjoyed at ComicCon are fun to look at, easy to hold but are they really the games people want to plunk down their credit cards to own or rent time with? Seems as though the investors, the players who control the controllers have a different idea of a "good" game than the kids who develop them. While mobs of people play educational, informational, stimulating games our kid huddles in his room and mumbles "The Few, The Proud, The Gamers." Read More
Social Media #3
Part of a series of articles to plainly explain what organizations need to consider and carry out in today's social media. Read More
@ Copyright, 2010 Digital Media Online, All Rights Reserved