sendKeys function


sendKeys

sendKeys (keystring)

Sends keys to the current session. Unlike sendCommand this function does not require the current input field to be empty nor does it append an Enter; this allows you to execute non-text commands such as cursor movement and erase functions.

Parameters:

keystring - String of the keys.

Returns:

This function does not return a value.

Example

function sendSomething(command)
// make sure command input field is empty by doing a back tab and erase EOF first
sendKeys("@B@F")
sendCommand(command)
return 0

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*