GetEventEx

Purpose

This function returns a reference to an event with the given name.  The returned object can be used to access properties of the event.

Parameters

Parameter: event name
Type: string
Description: This is the name of the event.

Returns

Return value: event reference
Type: object as EventClass

Example

dim ev

set ev = hs.GetEventEx("night event")

msgbox "The event type is: " & cstr(ev.ev_abs_time)