JesusIsKing Posted December 11, 2007 Share Posted December 11, 2007 how do i get it? because im doing a _GUICtrlListGetText and I don't know how to find the index of the listbox Link to comment Share on other sites More sharing options...
Achilles Posted December 11, 2007 Share Posted December 11, 2007 how do i get it? because im doing a _GUICtrlListGetText and I don't know how to find the index of the listboxI would suggest you get the latest Beta first... all the _GuiCtrlList* functions have been changed to _GUICtrlListBox_* in AutoIt 3.2.10.0 (I think)Once you do that look for _GUICtrlListBox_GetText... To get the index I think you'll have to go through the whole list box (use a for next loop) and check the text in each one. My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list] Link to comment Share on other sites More sharing options...
GaryFrost Posted December 11, 2007 Share Posted December 11, 2007 Number of ways. _GUICtrlListBox_GetAnchorIndex _GUICtrlListBox_GetCaretIndex _GUICtrlListBox_GetCurSel And some imagination you can figure out a few other ways. 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now