Auto Sync

HostExplorer Programming

Auto Sync

The SendKey function (in its current design) does not allow for automatic pacing when you press AID generating keys. Therefore, if you want to send two sets of strings in a row, such as XYZ@E, you must place a WAIT(TWAIT) command between them. You can instruct HLLAPI to wait until the keyboard unlocks before returning from the SendKey function when you press an AID key. This extension provides an automatic synchronization with the host and simplifies your HLLAPI application.

To enable Auto Sync:

  1. Enable the Type Ahead feature in the profile assigned to the HLLAPI short name. You can set the Type Ahead feature by double-clicking the Session folder and clicking General in the Session Profile dialog box.
  2. Add the following line to the EHLLAPI.Settings section in the HOSTEX.INI file:

[EHLLAPI.Settings]
Auto Sync = On