Jump to content
Sign in to follow this  
RZLucian0127

How to Get Control Class Name

Recommended Posts

RZLucian0127

Im Started a program like this:

$winName = WinGetHandle("Yahoo Name (YahooID)")

Now what i want to do is how to detect or to get the Control Class Name or ClassNN of the said Window for BuzzButton, EmoteIcons, Send Button, TextArea, Video Call using mouse detection.. or in any case, is there a way to detect their corresponding ClassNN so that i can call a ControlClick on every buttons?

if theres any way, please send some example codes

Thanks mates!

Share this post


Link to post
Share on other sites
RZLucian0127

seeing how you used yahoo, you are interacting with a web based window. If so, then use the IE.au3 controls. Read about them in the help file

No bro not only for yahoo, for example with Windows Media Player or Some Applications like Photoshop, how can i get the Control Class of Every Buttons using MouseOver.

Thanks for fast reply.

Share this post


Link to post
Share on other sites
RZLucian0127

look at the AutoIt window info tool. It does what you need. Note, it doesn't work on Web based buttons.

got it bro thanks for your help i found it in GUIGetCursorInfo ( [winhandle] )

Share this post


Link to post
Share on other sites
monoscout999

_WinAPI_GetClassName()

Share this post


Link to post
Share on other sites
RZLucian0127

what i want to get is the CONTROL CLASS NAME of the current Windowhandle

Example:

1. Windows Installer got NEXT and CANCEL.. how do i get the ClassNN of the NEXT and CANCEL.

2. Yahoo Private Message Box... how do i get the ClassNN of the Buzz button.

Another Example:

the NEXT got NextBTN Class Name after i got it when i hover the Next Button.

Thanks to you all guyz i really appreciate it..

Hope you can help me mates

Share this post


Link to post
Share on other sites
monoscout999

Use the autoit windows info tool. MPH already told this. read your whole thread before posting

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  

×