Log in

View Full Version : Last pressed Button stay Highlighted?


srfscenar
20th May 2003, 19:33
hi guys! I am using Scenarist 2.6.
I have a menu with many buttons, and each one plays a trailer.
I want everytime i return to that menu to have highlighted the last pressed button.

Any ideas???

Thanx in advance!

dvdboy
20th May 2003, 20:32
Maybe not the most elegant solution, but as you know which highlight plays which trailer, can't you set the highlight in the post command for the trailer?

Or could you set a gprm with the button number in the post for each trailer, then in the pre-command on your menu check your gprm and set the highlight accordingly?

Sorry I haven't got precise instructions, I'm currently not sat at my scenarist station.

DVD-Boy

srfscenar
21st May 2003, 11:05
...if i set to the post command "highlight me that button" i have to add another command under that to take me back to my menu.Well...it didnt work.It highlights me always the first button...

What i thought is that.in the track editor, in the simulation window, subpicture and highlight, highlight, i set the Forced Selected Button # to nonexistent and IT WORKED GREAT!!!

thanx friend.

"2 minds are better than 1"

Bish0p
22nd May 2003, 15:44
Originally posted by dvdboy
Or could you set a gprm with the button number in the post for each trailer, then in the pre-command on your menu check your gprm and set the highlight accordingly?

DVD-Boy
I've tried that many a time and its never worked for me, when returning to the menu it always returns to the 1st button

srfscenar
23rd May 2003, 09:45
bishOp, did u try the solution i used and work with or the GPRMs? which one didnt work for u?

auenf
23rd May 2003, 16:00
maestro will let you link anything to any button on any menu, im sure scen can do similar, but i think its a little harder to find. something to do with 'initial buttoon highlight' but im not sure

Enf...

dvdboy
24th May 2003, 12:13
This was just posted on the DVD list, which may be of interest...


In the pre-command of your menu (Lines commented by //)

mov gprm0,sprm4 // Move the current highligh value to GPRM0
add gprm0,1 // Add 1 so it is the next button
mul gprm0,1024 // Highlights are based on multiples of 1024
if (grprm0=8192) mov gprm0,1024 // Non existant 8th button h/l 1
sethl_btnn hl_btnn=gprm0 //Set your button highlight based on GPRM0

Before on your menu track put the value forced selected button to
nonexistent.



I hope my comments make sense and are correct. This code is for a screen with seven buttons, hence the getout clause for an eigth highlight.

DVD-Boy