Problem with DVD Script Destination Button

BruceDale wrote on 4/18/2011, 1:16 PM
When I specify certain Destination buttons in a DVD script command in combination with a Condition, the DVD Script window goes blank and the command is not accepted. I want the statement to look like:
if (GPRM0 = 1) then Link page:"Clog Dancing (Page3)", button: "1:Link - Disk 2 (1: Dance 1)"
Most of the time it works, and always has in the past. But for this project, two of the buttons on the page won't allow me to put them as destination buttons unless I remove the condition. Weird.
This menu page is a copy of another menu page. The buttons I'm having trouble with are new buttons that were copied from another project. All their properties look fine but I wonder if something is still there that is interfering with it being compatible. I've tried exiting DVD Architect and restarting, deleting the DVD script and starting over.

Any ideas?

Comments

BruceDale wrote on 4/18/2011, 3:01 PM
Ok. So I found out what the problem is. The DVD script command ended up being too long! My example in my question has not got the same titles in it as I have - they are very long and I shortened them for the question. So that would have fooled you. Anyway, not sure what the maximum length of the command is allowed to be but I unclicked "Title Object" for the title on the page so the menu defaults to the title "Menu" and all works fine now.
PeterDuke wrote on 4/18/2011, 5:11 PM
Glad you were able to sort it out because I suspect many of us haven't used scripting with DVDA. Perhaps you could say briefly why you find scripting useful and what others might find useful about it.
Former user wrote on 4/19/2011, 7:50 AM
I have used scripting a few times.

I wanted the menu to only play so many times before it automatically activated a button and played video.

I need to see what REGION the player was to determine which disclaimers to run before a video (different languages)

Needed to read the active language used in order to activate correct button to change language.

You can also design various play scenarios based on certain variables.

Dave T2