This functionality is only available for certain module packages. Info / Copyright

Action: generatemacros


Parameters

Description

PROJECTNAME

Project name with complete file path (optional).
If nothing is entered, the selected project will be used if the action is to be run over the user interface (e.g. via the script or ribbon). When executing from the Windows command line, PROJECTNAME must be specified or ProjectAction has to be used before that. Otherwise a system message will appear.

PAGENAMEn

Names of the pages to be considered (optional). Here, n is a number.

INSTALLATIONSPACENAMEn

Names of the layout spaces to be considered (optional). Here, n is a number.

STRUCTUREn

Structure identifier of the layout spaces to be considered (optional). Here, n is a number.

WINDOWMACRODIR

Directory for window macros (optional).

PAGEMACRODIR

Directory for page macros (optional).

FILTERSCHEME

Filter scheme (optional).
Default value: most recently used filter scheme. When transferring an empty string the most recently used scheme is used.

OVERWRITE

Overwrite mode (optional).

TYPE

Type of task that the action is to perform:
PREPARE: Prepare macros for automatic generation
GENERATE: Generate macros
If nothing is specified, macros are generated.

GroupMacroBoxes

Specifies whether macro boxes and their contents are grouped (optional, 0 = No, 1 = Yes).
Default value: 1
This parameter has an effect only if the parameter TYPE has the following value: PREPARE.

GroupPageMacros

Specifies whether the contents of a page macro is grouped (optional, 0 = No, 1 = Yes).
Default value: 0.
This parameter has an effect only if the parameter TYPE has the following value: PREPARE.

SetHandleActive

Specifies whether the Activate handles check box of the respective macro is to be activated (optional, 0 = No, 1 = Yes).
Default value: 0.
This parameter has an effect only if the parameter TYPE has the following value: PREPARE.

Note:

Only such projects where the Type of project property is set to "Macro project" are taken into consideration.