I'm trying to read some characters out of a mainframe application window.
I already got 2 functions like this working:
one for sending single keys like F1 and the other one for sending a string at certain coordinates (y=row / x=column).
This code gives me an error:
Internal : Could not execute code stage because exception thrown by code stage: ECL37170: Ungültige Parameter. Ungültige Daten.
If I hardcode the values ( 1 , 2 , 4 )its working as intended and returns me a string 4 characters long from the coordinates row 1 column 2
I already got 2 functions like this working:
one for sending single keys like F1 and the other one for sending a string at certain coordinates (y=row / x=column).
Code:
Dim autECLPSObj As Object
autECLPSObj = CreateObject ("PCOMM.autECLPS")
autECLPSObj.SetConnectionByName("A")
outputstring = autECLPSObj.GetText(y,x,zeichen)
This code gives me an error:
Internal : Could not execute code stage because exception thrown by code stage: ECL37170: Ungültige Parameter. Ungültige Daten.
Code:
Dim autECLPSObj As Object
autECLPSObj = CreateObject ("PCOMM.autECLPS")
autECLPSObj.SetConnectionByName("A")
outputstring = autECLPSObj.GetText(1,2,4)
If I hardcode the values ( 1 , 2 , 4 )its working as intended and returns me a string 4 characters long from the coordinates row 1 column 2