Customization > Automation Interface > Functions > Event Functions > GetEventID function (automation interface)
GetEventID function (automation interface)
Syntax:
GetEventID
Returns the Modeler id of the Event dictionary item associated with the current event. The Modeler id is returned as a string.
* 
You can use the standard automation interface functions to get additional information about the Event dictionary item.