UPSman2 Posted June 12, 2008 Posted June 12, 2008 (edited) why does $a = WinList () MsgBox(0,"",$a[0][0]) return 173 when i have like 3 windows open also winlist is being buggy for me in other areas (maybe its just my pc) but can someone confirm or deny or explain this? Edited June 12, 2008 by UPSman2
Moderators SmOke_N Posted June 12, 2008 Moderators Posted June 12, 2008 why does $a = WinList () MsgBox(0,"",$a[0][0]) return 173 when i have like 3 windows open also winlist is being buggy for me in other areas (maybe its just my pc) but can someone confirm or deny or explain this?Winlist isn't buggy, only how you use it is. [0][0] contains all the windows that are open, just because you can't see them, doesn't mean they don't exist. If you only want to see the ones visible, then run the example in the help file and see how it uses BitAnd() (IsVisible) to return only visible windows. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.
UPSman2 Posted June 12, 2008 Author Posted June 12, 2008 Winlist isn't buggy, only how you use it is. [0][0] contains all the windows that are open, just because you can't see them, doesn't mean they don't exist. If you only want to see the ones visible, then run the example in the help file and see how it uses BitAnd() (IsVisible) to return only visible windows.ok, thank you *bow*
iZno Posted June 12, 2008 Posted June 12, 2008 Lol, I made a mistake today, I tried to hide each window I got. I also believed it will hide only visibles windows, as you expected too ;] But wow, it hided like 200 windows xD no more taskbar, no more control tasks, etc Lol take care with it
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