Object Hierarchy | Related C++ Class: EventInfo
EventInfo
v2.0
EventInfo holds read-only information on a particular event such the name, type, event handler name, etc., this information can be accessed through the EventInfo properties. EventInfo objects are created with XSIApplication.EventInfos.
Application | Attributes | Categories | CustomData |
FileName | FullName | Handler | Help |
Language | Mute | Name | NestedObjects |
Origin | OriginPath | Parent | Type |
on error resume next Application.Advise "OnBeginSceneSave","C:\MyEventHandler.vbs",,,"ABCSaveSceneEvent" set info = Application.EventInfos("ABCSaveSceneEvent") LogMessage "Type: " & info.Type LogMessage "Name: " & info.name LogMessage "Token: " & info.Token LogMessage "Handler: " & info.Handler LogMessage "Filename: " & info.Filename LogMessage "Language: " & info.Language if IsArray(info.Attributes) then arr = info.Attributes for i=0 to ubound(arr,1) LogMessage "Attributes " & i & ":" & arr(i) next else LogMessage "Attributes: " & info.Attributes end if if IsArray(info.CustomData) then arr = info.CustomData for i=0 to ubound(arr,1) LogMessage "CustomData " & i & ":" & arr(i) next else LogMessage "CustomData: " & info.CustomData end if |