Jump to content
Sign in to follow this  
TheWulf

Is there a method to get the name of all objects?

Recommended Posts

TheWulf

I'm looking for a method to list all the objects in w Window; something similar to WinGetClassList but instead of getting a list of the classes I need a list of all objects (without or without their class)

This needs to work with AutoItX as well.

Edited by TheWulf

Share this post


Link to post
Share on other sites
TheWulf

Yea, example : If there were 2 command buttons and a text box, it would return the name of all these objects, such as

Button1
Button2
TextBox1

Share this post


Link to post
Share on other sites
ezzetabi

Get text of a Winspy window?

Share this post


Link to post
Share on other sites
TheWulf

Cool.. I'll port that to VB in a few and give it a try, thanks.

Share this post


Link to post
Share on other sites
Guest Py7|-|[]/\/

@Larry

Why do you use Send("#r") instead of WinMinimizeAll()?

Share this post


Link to post
Share on other sites
ezzetabi

... #r and Winminimizeall() have nothing in common.

Win+R open the Run dialog.

Do you know what is that? Yes! That old dialog the people used before Ezzetabi invented Run!, now lonely and forgot.

I understood if you don't remember. :)

Share this post


Link to post
Share on other sites
TheWulf

Port to VB?

<{POST_SNAPBACK}>

Yes, to use with AutoItX. I don't write scripts, I prefer to use the DLL and do my stuff in VB.

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.