Search the Community
Showing results for tags 'window list'.
-
I've used WinList() to give me a list of all the windows it finds on the system. I then search through that list to find a few windows which match a title string. Now I want to present that smaller list of Title/strings to the user, so that they can select ONE of them. Which widget would be best for this operation? Ideally, the widget should return the index of the item selected, and if possible only allow the user to select 1 item. I don't expect there will be more than 10 Windows running on the systems I'm working with. In all practicality, I've only seen 4 at the max. Thanks
-
Hi all, I need to get the list of windows which are resting in taskar. That means, windows which i can toggle through ALT TAB. I use "WinList" function. But it gives me all the windows. Then i tried to filter it like this; Local $lst = WinList() Local $Row = 0 For $i = 1 To $lst[0][0] If $lst[$i][0] = "" And Not BitAND(WinGetState($lst[$i][1]), 1) Then _ArrayDelete($lst,$Row) EndIf $Row +=1 Next _ArrayDisplay($lst) But this code doesn't delete the 2nd column. I have read the help file and saw an example which deletes an entire row from a 2 dimensional array. I have used the same method but please look this image. This is what i have got.