Sign in to follow this  
Followers 0
Wb-FreeKill

_GUICtrlListViewGetItemText problem..

4 posts in this topic

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... :(

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

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.

 

Share this post


Link to post
Share on other sites

Okay cool, sry then :( ill try it later

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  
Followers 0