How the HCL ZIETrans macro processing engine uses these timing elements and attributes
For non-exit screens (the exitscreen attribute is set to “false”), a delay of pausetimevalue is executed once after a screen's actions have all been executed, but before the registration or recognition of the next screen begins. If the pause attribute is defined for the screen, then the value of pause is used instead of the value of pausetime for the post-actions delay.
For macro screens defined as exit screens (the exitscreen attribute set to “true”), the pausetime attribute (and any pause attribute defined for that exit screen) is essentially ignored and there is no additional delay automatically executed after all of the screen's actions are completed. This keeps the macro engine from adding extra delays once it has navigated to the final screen of the macro.
In addition, for all macro screens, the macro sleeps for pausetimevalue /2 after each <prompt> or <insert> that is not the last action on the screen.
<actions>
<prompt...
<extract...
<extract...
<prompt...
<insert...
</actions>
In a macro, <pause> elements are executed inline wherever they are placed, and are not overridden by the pausetime attribute or pause attribute settings, but might be overridden by the ignorepauseforenhancedtn attribute of the <HAScript> element if it is set to "true".
<actions>
<prompt...
<extract...
<extract...
<prompt...
<insert...
<pause value="150"/>
</actions>