Jump to content

whats up with winlist?


Recommended Posts

  • Moderators

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.

Link to comment
Share on other sites

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*
Link to comment
Share on other sites

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 :)

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