Dampe Posted March 2, 2008 Share Posted March 2, 2008 Sorry if this has been posted, I couldn't find it anywhere on the site or help file. I am using the WinList function to retrieve all active windows How do I count how many windows are in the array? Example: I have 3 windows active, "notepad", "firefox" and "windows live messenger", leaving me with a total of 3 Therefor, $windows = WinList() MsgBox (32, "", $windows[1]) MsgBox (32, "", $windows[2]) MsgBox (32, "", $windows[3]) How can I find out what the maximum in the array is? Link to comment Share on other sites More sharing options...
Valuater Posted March 2, 2008 Share Posted March 2, 2008 its a two dimensional array!http://www.autoitscript.com/autoit3/docs/f...ons/WinList.htm8) 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