IBM Host get Text Color ?

matuopm

Member
I use these IBM Functions / Librabries to read out text with blueprism from the IBM HOST program.


I copied some Visual Basic examples and created some code stages that worked for me:
Code:
Dim autECLPSObj As Object
autECLPSObj = CreateObject ("PCOMM.autECLPS")
autECLPSObj.SetConnectionByName("A")
DIM autECLOIA as Object
autECLOIA = CreateObject("PCOMM.autECLOIA")
autECLOIA.SetConnectionByName("A")
if (autECLOIA.WaitForInputReady()) then
    outputstring = autECLPSObj.GetTextRect(y,x,y,(x+zeichen-1))
end if

I'm lookin for a function that would also give me the color of the text. Because we have some indicator numbers ... these numbers have certain values but they also differ in color: green yellow red ...
and I need to get the color of it
 
Top