High-level, textual flow of macro engine processing
- ScreenX is recognized.
- ScreenX actions are completed. Note that there is
the addition of pausetimevalue /2 (or pauseattributevalue /2) after
each action if the action is a <prompt> or <insert> and is not
the last action in the set of actions.
- Macro play stops here if the current screen is an exit screen.
- ScreenX pausetimevalue delay
(set by the pausetime attribute or overridden by a local pause attribute
for this screen) is completed.
- Register nextscreens.
- Start a timeout clock for nextscreens.
- Recognition processing of nextscreens loops, doing a new recognition
based on each PSEVENT or OIAEVENT, the arrival of which might be controlled
or affected by contention resolution if it is active, until...
- A nextscreen is recognized, in which case the timeout timer is
stopped. The process returns to the top of the sequence and starts
again, or the timeout timer (timeout attribute of the <HAScript>
element) expires and the macro ends with a timeout error.