SendKeys Method

Action Example

 

Encapsulates the AutoMate™ action “Send Keystrokes”

 

Declaration

Procedure SendKeys(PauseEnabled: OleVariant; PauseTime: OleVariant; Keystrokes: OleVariant); safecall;

 

Description

Sends the keystrokes specified by the keystrokes parameter to the currently active window.

 

Although the BASIC language contains its own sendkeys command, you may wish to use AutoMate’s native sendkeys engine.

 

The PauseEnabled parameter controls whether AutoMate™ will respect the settings of the Pause time parameter. If Pause enabled is set to “0”, AutoMate™ will execute the keystrokes immediately.