Sign in to follow this  
Followers 0
Shaarad

Window classes....

4 posts in this topic

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.

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

hmm, WinList("[CLASS:CLASS NAME HERE]")

Edit:

http://www.autoitscript.com/autoit3/docs/intro/windowsadvanced.htm

That may help you.

Edited 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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

Thanks a lot to all ! Got the required thing...

:huh2:;):alien:


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.

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
Sign in to follow this  
Followers 0