Example
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.
Dim autECLPSObj as Object
Dim autECLConnList as Object
Set autECLPSObj = CreateObject("PCOMM.autECLPS")
Set autECLConnList = CreateObject("PCOMM.autECLConnList")
' Initialize the connection
Dim rc
autECLConnList.Refresh
autECLPSObj.SetConnectionByHandle(autECLConnList(1).Handle)
rc = autECLSession.autECLPS.SendKeys "IBM is a really cool company", 3, 1
Msgbox rc