Open
Description
onRefresh:
send(theIP, 53000, '/workspace/' + theWorkspace + '/cue_id/' + theCueList + '/children');
interpretIncoming:
if (address.endsWith('children')) {
var replyData = JSON.parse(args[0].value); // decode the JSON reply from Qlab
var toReturn = replyData.data; // get the cue display name from within the JSON
console.log(toReturn[0]);
var cueList = []
for (let i in toReturn) {
cueList.push(toReturn[i].name)
}
receive(nameAddress, cueList.join('\r\n'));
}
Possibly, display a list of cue names but keep a list of IDs in the menu. Then, if possible, find a way to highlight the current cue?