Altova XMLSpy 2025 Professional Edition

Event: OnProjectOpened(objProject as SpyProject)

 

Description

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

 

Examples

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

 

© 2018-2024 Altova GmbH