SendKeys Example

 

This example will open notepad, and send keystrokes to it after a 50 millisecond pause.

 

Sub Main

 Shell "notepad.exe", 1

 'Pause for 50 milliseconds before send

 Action.SendKeys("1", "50", "this is a test of the AutoMate send keystrokes engine")

End Sub