Jump to content

Autoit and Listbox

Recommended Posts


I'm having trouble with reading text from Listbox from external program. This listbox is on one of the many tabs in the program and Autoit Window Info cannot extract any data from it, for some reason. It seems that all the tabs are transparent so components from other tabs are also visible. However, this listbox does not show in any way. However, I managed to get its class ID by using ControlGetFocus and having control in it. It's called ListBox1.

However, I can't figure out how to get the text stored in it. ControlCommand and GetCurrentLine doesn't work, neither does "GetLine", line# (yes, I know they're for Edit but man can wish :)

Anybody had similar problems? What's the solution?

Link to comment
Share on other sites

  • 4 months later...

Any updates on this old problem? Currently I'm working on achieving this using DLLCall() since a forum search mainly returns results on AutoIt GUI ListBoxes.

Personally I would like to see ControlCommand() handle GetLineCount and GetLine for ListBoxes.

Link to comment
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

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...