Jump to content
Sign in to follow this  
xian_lhm

How to get the content of DISPLAY field - (Moved)

Recommended Posts

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. 

Share this post


Link to post
Share on other sites

Moved to the appropriate forum, as the Developer General Discussion forum very clearly states:

Quote

General development and scripting discussions. If it's super geeky and you don't know where to put it - it's probably here.


Do not create AutoIt-related topics here, use the AutoIt General Help and Support or AutoIt Technical Discussion forums.

Moderation Team


Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By jmp
      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&nbsp;</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 :

    • By kcvinu
      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.

    • By kcvinu
      Hi all,
      I would like to know how to read or get text from another applications like notepad, word etc.. I have used WinGetText(). But it gives the title and some other text. I need to get what the user types on word or notepad. Please help. Thanks in advance.
    • By krishpun
      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
×
×
  • Create New...