Eradicator Posted August 16, 2008 Share Posted August 16, 2008 Greetings, I need to get a handle on several windows (of the same name.). E.G. I have "Untitled - Notepad", "Untitled - Notepad", and "Untitled - Notepad". I want my program to look and realise there are three windows named say, $winTitle and then stick each handle in an array called $windowArray. Is this possible? Regards, Eradicator Link to comment Share on other sites More sharing options...
Szhlopp Posted August 16, 2008 Share Posted August 16, 2008 Greetings, I need to get a handle on several windows (of the same name.). E.G. I have "Untitled - Notepad", "Untitled - Notepad", and "Untitled - Notepad". I want my program to look and realise there are three windows named say, $winTitle and then stick each handle in an array called $windowArray. Is this possible? Regards, Eradicator HelpFile<WinList WinList -------------------------------------------------------------------------------- Retrieves a list of windows. WinList ( ["title" [, "text"]] ) Parameters title [optional] The title of the window to read. text [optional] The text of the window to read. Return Value Returns an array of matching window titles and handles. Remarks 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] = 2nd window title $array[2][1] = 2nd window handle (HWND) ... $array[n][0] = nth window title $array[n][1] = nth window handle (HWND) RegEx/RegExRep Tester!Nerd Olympics - Community App!Login UDFMemory UDF - "Game.exe+753EC" - CE pointer to AU3Password Manager W/ SourceDataFiler - Include files in your au3!--- Was I helpful? Click the little green '+' Link to comment Share on other sites More sharing options...
Eradicator Posted August 16, 2008 Author Share Posted August 16, 2008 (edited) Thanks. Edited August 17, 2008 by Eradicator 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