Resume function

New to DVD 4 and struggling to understand the scripts functions and despite reading as much info as poss in manual and on the web I still cannot figure out how to programme a script to get the resume button to bring the viewer back to where the main feature left off playing. Can anyone be bothered to explain in terms of one syllable? (I know it has been gone over ad infinitum, sorry!)Be even better if it was possible to send a screen shot of the commands in the script inspector. Thanks anyway.

powermac, Mac OS X (10.4.10)

Posted on Feb 9, 2009 6:45 AM

Reply
6 replies

Feb 9, 2009 12:42 PM in response to mion

Hi - welcome to the discussions!

The resume function is pretty simple as scripts go, but it is important to know why you need to use it in a script, since a lot of resume information is automatically stored and can be actioned in different ways.

For example, playing a track and pressing the menu button takes you to a menu. Pressing it again takes you back to the track - a resume.

Resume info is only stored if a track has played. If you go from a track to a menu, then on to another or subsequent menus, pressing resume (or menu) will take you back to the track again, even if it was in a different part of the DVD.

Similarly, if the track had finished playing, the resume function can give different results, some of which are unpredictable, depending on player functionality. You can resume back to the beginning of the track, to the end jump (and hence a menu) or nothing will happen.

So, knowing these things, the resume function in a script is easy to implement. You create a script, which gives you a single line (with NOP in it) in the script editor. Click on that line and look in the property inspector. The drop down list at the top lets you set different commands, one of which is the word 'Resume'.

If you save this script, with just one line, and point a menu button at it, then the disc will look for the resume information and attempt to complete the resume function.

So - why do you need to script this? Is any of the automated functionality going to be of use?

Feb 11, 2009 4:02 AM in response to Hal MacLean

Hi Hal,

Thanks for the reply and I am off to try it out . . new to the game because the firm I work for has been credit crunched and needs it's editor,me, to author simple DVDs. Ok, says I and have got everything I need it to do almost sorted . . well, I might be proven wrong soon! I have copied the layout from previous DVDs the firm made in this series of docs to keep the style uniform and there in the Audio Setup menu is the resume button, which resumes to where the viewer left off when he suddenly realised he wanted 5.1 audio. So I reckoned I ought to supply that function too.
Mike

Feb 11, 2009 5:46 AM in response to mion

Hi again Hal . . No luck i'm afraid. If I just write down what I have done perhaps you can spot what I a doing wrong.

Made a RESUME button in Menu 2.

In Button Inspector I have
NAME: RESUME
Target:Script

In STYLE tab I have
ASSET: this is the name of the main documentary feature of the DVD
ADVANCED:STREAMS I left this alone

In Simulator I start the main feature in Menu 1. Pause it after 30 secs or so, press menu and then in Menu 1 press the Audio Setup button.That takes me to Menu 2 where I then press the Audio (5.1)button and then the RESUME button. The screen goes blank. Like me!

Any idea what I am up to?!
Thanks for your time
Mike

Feb 11, 2009 3:57 PM in response to mion

OK - I assume that you have the audio set up button targeting itself but setting the audio stream to the 5.1 stream, and then you go to the resume button on that same menu. When you run the script it has the single line 'resume'?

Have you seen this:
http://www.kenstone.net/fcphomepage/dvd_setup_andresume.html

It goes through a lot more than you need, but shows exactly how I would set this up. In fact, I've used this system a fair few times, and have extended it further recently. You can skip over a lot of it, but look at how Alex has structured it, and what his scripting is - it covers a lot of the stuff you need.

Feb 12, 2009 3:50 AM in response to Hal MacLean

Thanks Hal,

Yep, that's exactly what I have done with the audio button, audio stream and resume button . . and 'resume' is on a single line in the script.

I will wade into the Article and hope the old grey cells don't overload! I might be gone some time . .

By the way you seem to be just down the road as I live in Rickmansworth in Herts. So hi from WD3!
All the best
Mike

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Resume function

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.