Shaarad Posted June 8, 2011 Posted June 8, 2011 Hello everyone, I have several windows open simultaneously. I want to get the list of windows with a particular class into an array. How this can be done ¿ I am a bit confused. I tried winlist() to get the list of all windows but I am struck. Please help. Thanks a lot. 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.
Moderators SmOke_N Posted June 8, 2011 Moderators Posted June 8, 2011 (edited) hmm, WinList("[CLASS:CLASS NAME HERE]") Edit: http://www.autoitscript.com/autoit3/docs/intro/windowsadvanced.htm That may help you. Edited June 8, 2011 by SmOke_N 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.
Xenobiologist Posted June 8, 2011 Posted June 8, 2011 Opt('WintitleMatchMode', 4) Opt("WinSearchChildren", 1) ;~ $text = WinGetClassList("[CLASS:MozillaWindowClass]", "") $text = WinGetClassList("", "") MsgBox(0, "Text read was:", $text) Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times
Shaarad Posted June 8, 2011 Author Posted June 8, 2011 Thanks a lot to all ! Got the required thing... 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.
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