Alarm script - existing alarms

If we add a script for when an alarm goes active/inactive
Will that run on alarms that are currently in alarm ?