SendKeys

Top  Previous  Next

The SendKeys method sends a string of keys to the virtual screen. This method acts as if keystrokes were being typed from the keyboard.

The keystrokes will be sent to the location given. If no location is provided, the keystrokes will be sent to the

current cursor location.

 

Visual Basic Syntax

 

Screen.SendKeys(text As String, location As OhioPosition)

 

Delphi Syntax

 

Screen.SendKeys(text:string; location:TTnbOhioPosition);

 

 

Parameters

 

Parameters

Description

text

The string of characters to be sent.

location

OhioPosition where the string should be written.