Altova XMLSpy 2023 Enterprise Edition

Event: OnProjectOpened(objProject as SpyProject)



This event gets fired whenever a project gets opened in XMLSpy. The new project gets passed as parameter.



Given below are examples of how this event can be scripted.


XMLSpy scripting environment - VBScript:

Function On_OpenProject(objProject)

End Function


XMLSpy scripting environment - JScript:

function On_OpenProject(objProject)




XMLSpy IDE Plugin:

IXMLSpyPlugIn.OnEvent (6, ...)        // nEventId = 6


© 2017-2023 Altova GmbH