Steve, Try replacing the command on the Clear Alarm button with: !=3D <Priority> 1 clear_alm This should only clear the alarm if it is not a priority 1. However I do not think this will work with multiple alarms selected. Also if the alarm has returned to normal the priority field will no longer have the "1" in it. It will most likely contain an "R", so if selected even a RTN priority 1 alarm would be cleared. It would not be possible to do this with Clear Page. The clear_page functionality is internal to the AM. You might be able to use a combination of matching and clear_page. Filter out priority 1 alarms (via a pre-created match spec file), clear_page, stop the match. You would probably see the AM changing as the matches were applied and then stopped. Something like the following might work. I've never tried it myself. almdisp CAD -match no_priority1.ams clear_page stop_match You can write your own scripts and programs and execute them with the AM built-in command "run" however there is no built-in to do a clear_alarm by name it must be selected. Good Luck, Kathy -----Original Message----- From: foxboro-bounce@xxxxxxxxxxxxx [mailto:foxboro-bounce@xxxxxxxxxxxxx] On Behalf Of steve.shimp@xxxxxxxxxxxxxx Sent: Friday, July 06, 2007 1:48 PM To: foxboro@xxxxxxxxxxxxx Subject: [foxboro] changing clear button action in CAD I have been trudging through the documentation around alarming and haven't quite found what I need. I want to change the "Clear Alarm" and "Clear Page" button actions in the CAD. Instead of simply disabling these buttons, I'd like to be able to have these buttons ignore alarms based upon priority. For example, I don't want priority 1 alarms to be cleared, but all others can. B0193RV taunts me with a "hint" that this can be accomplished, but I haven't been able to discover how. Hopefully someone knows how to do this (on a UNIX-only system). Thanks! Steve Shimp = = _______________________________________________________________________ This mailing list is neither sponsored nor endorsed by Invensys Process Systems (formerly The Foxboro Company). Use the info you obtain here at your own risks. Read http://www.thecassandraproject.org/disclaimer.html = foxboro mailing list: //www.freelists.org/list/foxboro to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=3Djoin to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=3Dleave = Confidentiality Notice: The information contained in this electronic message and any attachment(s) = to this message are intended for the exclusive use of the recipient(s) and = may contain confidential, privileged or proprietary information. If you are= not the intended recipient, please notify the sender immediately, delete a= ll copies of this message and any attachment(s). Any other use of the E-Mai= l by you is prohibited. _______________________________________________________________________ This mailing list is neither sponsored nor endorsed by Invensys Process Systems (formerly The Foxboro Company). Use the info you obtain here at your own risks. Read http://www.thecassandraproject.org/disclaimer.html foxboro mailing list: //www.freelists.org/list/foxboro to subscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=join to unsubscribe: mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave