Jump to content
Sign in to follow this  
AU3Newbie

How to get the Windows Class?

Recommended Posts

AU3Newbie

Here's what I'm talking about...

snap000610.bmp

=============

IN AHK:

WinGetClass

Retrieves the specified window's class name.

WinGetClass, OutputVar [, WinTitle, WinText, ExcludeTitle, ExcludeText]

--------------------------------------------------------------------------------

In Au3:

WinGetClassList

Retrieves the classes from a window.

WinGetClassList ( "title" [, "text"] )

======================================================

Now,I'd like to get the result as that of AHK's Windows Class,not of Au3's Class list.How can I do it?

Thank you!

Edited by AU3Newbie

Share this post


Link to post
Share on other sites
smashly

Hi

Have a look in the udf section of the help file under WinAPI Management for _WinAPI_GetClassName()

Cheers

Share this post


Link to post
Share on other sites
AU3Newbie

Hi

Have a look in the udf section of the help file under WinAPI Management for _WinAPI_GetClassName()

Cheers

thank you.

I think so,too.1st,Include the WINAPI file,then,from the title get the handle,from the handle get the class.

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.