View Single Post
Old 04-26-2011, 09:56 AM   #120
johnrule
Human being with feelings
 
johnrule's Avatar
 
Join Date: Jun 2010
Location: Northern California
Posts: 273
Default

Quote:
Originally Posted by nolman View Post
what would be nice is to have the actual tracknames (list)as arm buttons
It was a simple change in the JavaScript code:
Code:
	      tempObj = document.getElementById("TRACK_" + q[1] + "_LABEL");		// LABEL
	     if(tempObj == null) { 
     		iobj = document.getElementById(currentGroup); 
		tempObj = iobj.contentDocument.getElementById("TRACK_" + q[1] + "_LABEL");
		tempObj.value = q[2];
	     } else {
	      tempObj.value = q[2];
	     } // tempObj
This has already been added to the next version...you can add this to the "data/html_data/xJavaScript.txt" file in the RTE installation folder if you want to update now. Just put it after the "SOLO" statement...it looks exactly like this (but with the word "SOLO").

What this does is set a text field called "TRACK_X_LABEL" (where "X" is a number) with the name of the track (when it receives one). It needs to be a text field because the buttons are images, and a label change will not show.
johnrule is offline   Reply With Quote