Is there a way to activate an event by simply selecting a specific view?

I was curious if there is a way to activate an event by simply selecting a view. We have an Emergency Evacuation view that is only used if a building is evacuated and it would be more convenient to simply select that view and all PTZs go to their Emergency Evac preset. I have the event set up and with an overlay button which works but I would like to eliminate that extra step if possible. Thank you.

It would be possible to make a Smart Client plugin that listens for SelectedViewChangedInditation and in that way discover when the view is chosen.

http://doc.developer.milestonesys.com/html/index.html?base=miphelp/class_video_o_s_1_1_platform_1_1_messaging_1_1_message_id_1_1_smart_client.html&tree=tree_search.html?search=selectedviewchangedindication

When the view is detected in that way the trigger the event.

You can see SelectedViewChangedInditation in use if you explore the Message Tester tool plugin sample.

http://doc.developer.milestonesys.com/html/index.html?base=samples/messagetester_sample.html&tree=tree_1.html