Jump to content

_GUICtrlListViewGetItemText problem..


Recommended Posts

I have a script with two GUI,s and when (i do what i want) i want my script to read from my listview witch is located in the second gui

If _GUICtrlListViewGetItemText($QueueList,0, 2) = 55 Then

;do something

EndIf

This is in a loop, and it will only read the text from it when the second GUIs is in focus :( this is really not cool because it have to do it instantly, and making the window active is not good, i don't want to do that..

Is this a bug or what? it really bugs me... :(

Link to comment
Share on other sites

You are not supplying a windowtitle & text

_GUICtrlListViewGetItemText($QueueList,0, 2, "Win title", "text")

Looks like no bug to me

Edited by Ejoc
Start -> Programs -> AutoIt v3 -> AutoIt Help File -> Index -> (The Function you are asking about)----- Links -----DllStruct UDFsRSA Crypto UDFs
Link to comment
Share on other sites

At least the title the text from the window is optional.

Both are optional, but with 2 "GUIs" you should supply the function as much info as possible.

Edit: If no window title is given then the active window title is captured and used to help get the info from the listview.

Edited by gafrost

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

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
 Share

  • Recently Browsing   0 members

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