cappy2112

Winlist() - what is it really returning

2 posts in this topic

 

 

When I call Winlist(), the first entry in the array is typically between 500-600, and it obviously will fluctuate.

However, I don't have that many programs working, so where are all of these windows?

I know that many processes are running in the background, but having looked at Task Manager many times, I'd say that 100 or less processes are typically running.

 

From the AutoIt Help file:

Quote

WinList

Retrieves a list of windows.

Given that the term "Window" can mean different things to different people, I generally associate this with the "frame" of a top level Window, that is clearly visible, either maximized or minimized. I don't know how AutoIt defines 'Window" nor if it modifies the OS's definition of "Window".

 

To  some, Window could also refer to every Button and other clickable items visible, and if so, that could account for the numbers ff "Windows"  being returned from

WinList().

 

What are your thoughts on this...?

 

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