Jump to content
Sign in to follow this  
Guest rob_liberti

Instant Message answering machine help

Recommended Posts

Guest rob_liberti

In my situation, there are multiple windows with the same classname. I want to be able to get them all into an array, so I can discard the parent process based on the title, and then send the rest a reply.

I thought WinList might help but I can't determine which one of those has the specific classname I am looking for. I can try to use the example WinGetHandle, but I don't know how to use that to get an array of all of them.

Any ideas?

Edited by rob_liberti

Share this post


Link to post
Share on other sites
LxP

Welcome to the forums Rob!

You were on the right track -- all you need is a way to pass a class name to the WinList() function. Here's how you can do precisely that:

opt('winTitleMatchMode', 4)
$array = winList('classname=Progman')

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  

×