Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The keystrokes appear to the session as if they are entered by a user. The keystrokes can include host function keys and AID keys.

Namespace:  JollyGiant.Emulation
Assembly:  JGSComdotNet (in JGSComdotNet.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public StatusCode SendKeys(
	string keys
)


Visual Basic (Declaration)
Public Function SendKeys ( _
	keys As String _
) As StatusCode


Visual C++
public:
virtual StatusCode SendKeys(
	String^ keys
) sealed

...

JavaScript
function SendKeys(keys);


Parameters

keys
Type: System..::.StringString String
String of keystrokes, maximum of 255 characters.

Return Value

The StatusCode indicating the result of the operation.

...

Status codeDescription
WHLLOKThe keystrokes were sent successfully.
WHLLNOTCONNECTEDYour application is not currently connected to a host session.
WHLLPARAMETERERRORThe string of keys contains invalid data.
WHLLPSBUSYThe session is busy; all of the keystrokes could not be sent.
WHLLINHIBITEDInput to the session is inhibited; keystrokes were rejected or invalid host function key codes were sent. All of the keystrokes could not be sent.
WHLLSYSERRORThe method failed due to a system error.


Implements

ISession..::.SendKeys(String)

Remarks


Please see the HLLAPI help file for details on key mnemonics.

See Also


Session Class
JollyGiant.Emulation Namespace

Send comments on this topic to Jolly Giant Software

...