Please enable JavaScript to view this site.


The setting that controls the overall box resulting actions of a Macro is Box Action.



The None default setting does nothing to the textbox that contains the current Macro token.

Delete Box

The Delete Box setting deletes the current textbox.

Delete Group

Using the Delete Group setting will also delete all objects (not only text boxes) which are grouped to the current textbox.

The Delete Layer setting causes the deletion of all the objects that are located in the same layer and the same page as the textbox containing the source Macro Token (this does not delete the layer, just the objects located on it).


Requires QuarkXPress 2016-2024 or InDesign

The Delete Page setting causes the deletion of  the page on which is located the textbox containing the source Macro Token (this deletes the actual document page, not only the objects on it).


For testing testing/debugging purposes, you can use the Keep Pages diary generation option to delete all objects on the page, and leave a marker that the page is to be deleted, instead of deleting the actual page.


Requires QuarkXPress 2016-2024 or InDesign

Modify Box

These options are used to modify the box attributes of textboxes, such as background color and shade, as well as frame color, thickness and style.


This group of options also appears in the saras advanced change actions and the current month and current week minicalendar options.

Using the Modify Text in Box option is used to modify the overall text attributes of textboxes, such as the number of columns, the gutter width, the vertical alignment, the first baseline alignment, and the text inset, as shown in the screenshot on the right.


Requires QuarkXPress 2016-2024 or InDesign

Change to Picture Box

Using the Change to PictureBox option replaces the current textbox (the one where the macro token was located) by a picture box and inserts into it the graphics file whose full path name is determined by the value of sRESULT.

within the same layer

within the same layer

Using the Change Z-Order option allows you to specify that the resulting action should be to change the z-Order of the textbox containing the current macro token (ie. make the textbox appear if front of, or behind, other objects of the same layer).


The available z-order changes are shown on the right.


As specified above, and as is the case for saras, the z-order change only occurs within the same layer, as the position of each layer in the list of layers determines the relative z-position of objects on each layer (that is to say the objects of a given layer are either all in front of, or all behind, all the objects of any other layer).


See also: text actions, text style actions, and nResult actions.


Topic 108257, last updated on 28-Nov-2023