Navigation: Menu Commands > Tools Menu
Mousing over the Macros command rolls out a submenu containing the macros defined in the Scripting Project that is currently active in XMLSpy (screenshot below).
Clicking a macro in the submenu (see screenshot above) runs the macro.