Posted by: Jan
« on: May 01, 2022, 04:22:12 pm »In version 4.0.38 or later, you may use JavaScript for showing real time as a part of the external text:
It currently cannot be used in the same RT with RT+ tags.
Code: [Select]
var t = '%TEXT%';
var srcName = '%SRC_NAME%';
if ((srcName == 'Source 1') || (srcName == 'TEST')) {
var d = new Date();
var h = ('0' + d.getHours()).slice(-2);
var m = ('0' + d.getMinutes()).slice(-2);
t = h + ':' + m + ' ' + t;
}
return t;
It currently cannot be used in the same RT with RT+ tags.