closeupman Posted December 20, 2004 Posted December 20, 2004 Is there a way to have an array of windows title bars. So i can keep track of count of windows open and /or check other misc. stuff? I though of any array, but autoit doesn't allow dynamically allocated arrays. Would I have to do an api call or is it possible w/autoit? thanks, david
CyberSlug Posted December 20, 2004 Posted December 20, 2004 Newest AutoIt beta has a WinList function WinList ( ["title" [, "text"]] )If no title and text is given then all top-level windows are returned.The array returned is two-dimensional and is made up as follows:$array[0][0] = Number of windows returned$array[1][0] = 1st window title$array[1][1] = 1st window handle (HWND)$array[2][0] = 1st window title$array[2][1] = 1st window handle (HWND)...$array[n][0] = nth window title$array[n][1] = nth window handle (HWND) Use Mozilla | Take a look at My Disorganized AutoIt stuff | Very very old: AutoBuilder 11 Jan 2005 prototype I need to update my sig!
ioliver Posted December 20, 2004 Posted December 20, 2004 That's great! A WinList() function. I was looking for something like that a while back. Thanks again AutoIt. Ian "Blessed be the name of the Lord" - Job 1:21Check out Search IMF
closeupman Posted December 20, 2004 Author Posted December 20, 2004 Thanks Slug. I'll have to wait till I update then, just getting to learn the stable version one.
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