Add Notes to Alarm in Client Window

No prob, here’s a small improvement:

alrms = system.dataset.toPyDataSet(event.source.selectedAlarms)
if len(alrms) > 0:
	source = alrms.getValueAt(0,1).split(':')
	tag = source[3]
	try:
		Notes = system.tag.getConfiguration(tag)[0]['alarms'][0]['notes']
	except:
		Notes = ""
	event.source.newSelect = system.dataset.addColumn(alrms, 6, [Notes], 'Notes', str)
else:
	event.source.newSelect = system.dataset.addColumn(alrms, 6, [], 'Notes', str)