The following example shows how to use the SendKeys method to send a string of keys to the presentation space for the connection associated with the autECLPS object.
' Initialize the connection
Dim rc
autECLConnList.Refresh
autECLPSObj.SetConnectionByHandle(autECLConnList(1).Handle)
rc = autECLSession.autECLPS.SendKeys("This is a test.")
Msgbox rc