Send keys to a session without getting any transition response information.
void HostConnection.quickSend(String Keys) |
Arguments
HostConnection
Required. A HostConnection object.
Keys
Required. A string of characters to send to the host. May also contain mnemonic sequences to send action keys to the host (e.g. "[enter]" for the enter action key).
Remarks
No connect method is needed with the HostConnection object before using this method.
Use in conjunction with a "monitor" thread/connection. When the quickSend method has executed the monitoring thread will return with sync information.
The following c# example method keys into the active screen along with an enter key:
void QuickEnter(string sessionKey, string keys)
{
HostConnection oConn = new HostConnection();
oConn.sessionKey = sessionKey;
oConn.quickSend(keys + "[enter]");
}
Requirements
Inventu Viewer+
See Also
Connect | waitForUpdate | waitForUpdateFlag | sessionMonitor
Applies To: HostConnection object
© 2022 Inventu Corporation