Jump to content

Search the Community

Showing results for tags 'desktop application'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. Hi, We have a desktop application that have dozens of pop up windows. I can find the windows very easily and control the application using the Control functions, however, I came across a control that I can't get the text out of it. According to the Window Info tool this control is a "listControl" which looks to me as a listview. (Attached images) I've tried the below: WinActivate("Sales Orders") Local $txt = ControlListView("Sales Orders", "", "listControl1", "GetText", 10, 1) ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : $txt = ' & $txt & @crlf & '>Error code: ' & @error & @crlf) ;### Debug Console Local $stext = ControlGetText("Sales Orders", "", "listControl1") ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : $stext = ' & $stext & @crlf & '>Error code: ' & @error & @crlf) ;### Debug Console Local $hwnd = ControlGetHandle("Sales Orders", "", "listControl1") Local $test = _GUICtrlListView_GetItemTextArray($hwnd) _ArrayDisplay($test) Local $hwnd = WinGetHandle("Sales Orders") ConsoleWrite("! " & _WinAPI_GetWindowInfo($hWnd) & @CRLF) _ArrayDisplay($hwnd) Please note, I've tried using the "listControl1", "[NAME:listControl1]", ID of the control, Class of the control, but the output is the same. And the output is: Starting file test.au3... @@ Debug(8) : $txt = 0 >Error code: 1 @@ Debug(11) : $stext = >Error code: 1 ! test.au3 -> Exit Code: 0 (Runtime: 4.07 sec) Unfortunately this system is not under our control and get this list in a separate (csv, excel) report would be painful, so I try to grab this information from this List control. I'm not waiting for a fully working code here, but could please someone point me in the right direction? I might just don't see the obvious here. Many thanks in advance.
×
×
  • Create New...