Pause() action

Overview
The Pause action pauses a script for the number of milliseconds defined by the unlockDelayMs resource.

Its purpose is to add an explicit delay after sending an AID to the host, giving the host time to finish processing before the emulator executes the next macro or script action. This is needed only when the unlockDelay resource is set to false, and only for hosts that unlock the keyboard before they are finished with processing.

Previous versions of the x3270 emulators all had unlockDelay set to true by default, so an explicit delay like this would not be necessary. However, this caused all interactions with the host to slow down, often unnecessarily.

Examples
String("command1") Enter Pause String("command2") Enter

Version history
Added to x3270 4.1 in 2020.