Macros Resulting Text Actions

Navigation:  ScriptLine Properties > Macros Options > Resulting Actions >

Macros Resulting Text Actions

Previous pageReturn to chapter overviewNext page

The text resulting actions are the ones that determine which text will replace a given Macro token. The options are :



The macro token is replaced by no text. This is used when you are using the macro to modify a textbox (change shade, delete, ...) without inserting any text.


The macro token is replaced by the value of sResult obtained from evaluating the selected macro. This is the default setting.

Text Below

If you select this option you can include tokens and Special Characters Tokens. For example you may wish the token to be replaced by the weekday name in capitals; you would then set the text below to '[DDDD]'.


Lets you specify that the macro tokens of the current index should be replaced by Xpress Tags. This is extremely powerful as you can select text with all the desired formatting (including rules above/below, space after, ...) as token replacement. The use of Xtags is discussed in more detail in the examples topics.


You can also choose to have the text chosen replace the Token Only (the most common case), or All Text in Box.


To understand what happens when you use the latter setting, consider what a user of QuarkXPress would do manually to mimick that setting : double-click on the token to select it, then press CTRL+A to select the text of the entire box, and finally type in the new text. While this option is often used in other Text Actions settings, in the case of text, there is always a risk that the typed-over text will pick-up the attributes of the wrong portion of the textbox's text (this is not an issue with the other All Text in Box settings which merely add an additional attribute, rather than cutting out text as is the case here). For an example of its use, see Replacing the Token Text.

Topic 108255 updated on 16-Nov-2017.
Topic URL: