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:
XMLSpy scripting environment - JScript:
XMLSpy IDE Plugin:
IXMLSpyPlugIn.OnEvent (6, ...) // nEventId = 6