Search the Community
Showing results for tags 'get text'.
-
i am trying to get text from label between <td> tag but it was say not found. #include <IE.au3> $oIE1 = _IEAttach ("Shop") Local $stext = ' Bhindi' ;~Local $oTds = _IETagNameGetCollection($oIE1, "label") Local $oTds = _IETagNameGetCollection($oIE1, "td") For $oTd In $oTds If $oTd.InnerText = $stext Then $iStext = $oTd.NextElementSibling.InnerText MsgBox(0, "Found", $iStext) Else MsgBox(0, "", "Not Found") EndIf Next <tr title="" style="width: 2
- 6 replies
-
- get text
- .nextelement
-
(and 1 more)
Tagged with:
-
I am trying to read 310.00 from <td>, But it returning empty #include <IE.au3> #include <Array.au3> $oIE = _IEAttach ("Shop") Local $totPri = '<td style="text-align: right;" colspan="5">Total Price </td>' , $totPri = "0" Local $oTds = _IETagNameGetCollection($oIE, "td") For $oTd In $oTds If $oTd.InnerText = $totPri Then $totPri = $oTd.NextElementSibling.innertext EndIf Next MsgBox (0, "", $totPri) HTML :
- 6 replies
-
- get text
- .nextelement
-
(and 1 more)
Tagged with:
-
I am doing a automatic task that key in material number and retrieve the material information from database (The application was developed using Microsoft .Net). I use the ControlSetText to send text to textbox and use ControlGetText to get contents of textbox. But for DISPLAY only textbox, ControlGetText gets nothing. Is there other instruction can do this function? Appreciate for any suggestion.
-
Hi there, I need to get text from another application.( A dictionary) But the text area of that program has no control ID. See this image of that program and it's window info.
-
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 Instanc