All the macros defined in the Scripting Project of the SPS will be listed.
These commands are also available in the context menu that appears when you right-click any component in the Scripting Project Tree.
Estos comandos también están disponibles en el menú contextual que aparece al hacer clic con el botón derecho en cualquier componente de la Estructura del proyecto de scripting.
You can then specify the Global Scripting Project file (see screenshot below).
Macros in the Global Scripting Project will then be displayed in the submenu of the Macros command.
The Global Declarations component is present by default in every Scripting Project (see screenshot below), and therefore does not have to be created.
Declaraciones globales El componente DeclaracionesGlobales está presente por defecto en todos los proyectos de scripting (imagen siguiente) y, por tanto, no hace falta crearlo.
The Scripting Project can be saved temporarily in memory, either by clicking the Save button or Save & Close button.
Los proyectos de scripting se pueden guardar en memoria de forma temporal haciendo clic en el botón Guardar o Guardar y Cerrar.
To name or rename a macro, click the macro name in the Scripting Project tree and press the F2 function key, or right click the name and select Rename from the context menu.
Poner un nombre a la macro o cambiarle el nombre Para dar un nombre a una macro o cambiar su nombre, haga clic en el nombre de la macro en el panel Estructura del proyecto de scripting y pulse la tecla F2.
The Scripting Project Tree pane contains a toolbar with icons (screenshot below).
El panel Estructura del proyecto de scripting también incluye una barra de herramienta con varios iconos (imagen siguiente).
The Scripting Project is saved with the SPS only when the SPS is subsequently saved.
El proyecto de scripting se guarda con el SPS solo si se guarda el archivo SPS.
These macros are saved in the Altova Scripting Project file (.asprj file).
Todas ellas se guardan en el archivo de proyecto de scripting de Altova (archivo.asprj).
After you have finished creating all the required components, save the Scripting Project (by clicking the Save icon in the Scripting Editor toolbar).
Cuando termine de crear todos los componentes del proyecto, haga clic en el icono Guardar de la barra de herramientas para guardar el proyecto de scripting en memoria.
Macros 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).
Al pasar el ratón por el comando Macros aparece un submenú con todas las macros definidas en el proyecto de script que está activo en XMLSpy (imagen siguiente).
Then click OK. The new Scripting Project is created.
Haga clic en Aceptar para crear el proyecto de scripting nuevo.