Please enable JavaScript to view this site.

 

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

 

None

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.

Delete Layer

QuarkXPress 2016

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).

Delete Page

QuarkXPress 2016

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.

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.

Modify Text in Box

QuarkXPress 2016

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.

Change to Picture Box

Using the Change to PictureBox option displays the picturebox alignment editor, shown on the right.

 

Note that when using QuarkXPress, to use the None alignment, your output file must have at least 2 item styles defined, and that the None alignment cannot be used on a textbox that uses the No Style object item style.

 

This editor is used to specify the position, scale and other options, related to replacing the current textbox (the one where the macro token was located) by a picture box.

 

The inserted graphics file's full path name is determined by the value of sRESULT.

 

If you are inserting a PDF document, then you can also specify which PDF box to use.

Change Z-Order

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, 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, paragraph actions, and nResult actions.

 


Topic 108257, last updated on 07-Aug-2022