Acknowledging alarms based on window content

You should be able to create something using queryStatus and acknowledge functions. Setup the query to filter the alarms as you wish. Then get the alarm IDs from that dataset and pass them to the acknowledge function.

https://docs.inductiveautomation.com/display/DOC80/system.alarm.queryStatus

https://docs.inductiveautomation.com/display/DOC80/system.alarm.acknowledge