Closed grassinicristiano closed 1 year ago
Hi, Please use the forum for usage questions, this place is to be preferred for bug reports. https://openstagecontrol.discourse.group/ (providing a bit more context should also help users to help you)
Sorry, thank you
Hi Jean-emmanuel,
I've my "mainScript" very easy:
var n = (get('MainScript').toFixed(3)*1000) if (n !== 0) { setInterval(function () { n=n-100 var date = new Date(0) date.setSeconds(((n/1000)).toFixed(0)) var timeString = date.toISOString().substring(11, 19); set('timeDisplay', timeString); set('messageArea', "");
}
else { clearInterval();
set('messageArea', 'Stopped by User or 0 time cue') set('timeDisplay', "--:--:--"); set('currentCue', "None...");
}
There'a way to change text color of widget "timeDisplay" when "n"<somevalue?
Thankyou
Cistiano