Search the Community
Showing results for tags 'read text'.
-
Hello everyone, I would like to get some advice or help with my code. I am try to make a simple script, what is reading the text form other program GUI. I do have an old communicator what was made with Delphi, and i try to read the message what i am geting on it. Here is the Info from the communicator: INSTANCE1 is the TOP side, and INSTANCE2 is the bottom side. I could manage only to sending message with script, but i could not read the exact panel text. See below. Local $WHnd = WinList("[CLASS:TMainForm]", "") ControlSend($WHnd[1][1], "", "[CLASS:TRichEdit; INSTANCE:1]", "asd") I tried to read it with GuiCtrlRead, and _GUICtrlRichEdit_GetText, and WinGetText but somehow it did not work, or i am just too lame to make it alive. Any idea how to make it or is it posible to make it with AutoIT? Tricky,
-
I have a control with [ClassNN:TDBWPRichText1] I tried using the below, but it is not reading the text, please help $data=ControlGetText("Power of Appeals","Government Agency Information","[ClassNN:TDBWPRichText1]") MsgBox(1,1,$data) The details captured by info tool is below. The ID keeps changing each time I open the application >>>> Window <<<< Title: Power of Appeals Class: TMainForm Position: -9, -9 Size: 1384, 752 Style: 0x17CF0000 ExStyle: 0x00010100 Handle: 0x002203E4 >>>> Control <<<< Class: TDBWPRichText Instance: 1 ClassnameNN: TDBWPRichText1 Name: Advanced (Class): [CLASS:TDBWPRichText; INSTANCE:1] ID: 789304 Text: Position: 250, 150 Size: 948, 442 ControlClick Coords: 336, 132 Style: 0x56A10000 ExStyle: 0x00000000 Handle: 0x000C0B38 >>>> Mouse <<<< Position: 595, 343 Cursor ID: 0 Color: 0xFFFFFF >>>> StatusBar <<<< >>>> ToolsBar <<<< >>>> Visible Text <<<< Government Agency Information Alabama