Sign in to follow this  
Followers 0
Joke758

classname

5 posts in this topic

How can I know the classname of a program?


[u]My Programs:[/u]Word Search Creator - Make your own Word SearchShortHand - Hide a secret message in a jpg fileHex Editor - Edit your Binary fileIncrease file size - Increase the size of any filesArt Generator - A program that generate random picture[u]My Functions:[/u]16-Bits Hash - My Hash function similar to MD5Probabilities - My probabilities function (factorial, permuation, combination)_GetDate() - Convert a date to a day of the week_Base(), _Dec() - Convert a number in any base (bin, oct, hex, dec). Create your own!

Share this post


Link to post
Share on other sites



How can I know the classname of a program?

ClassName of a program? Care to be more specific? ClassNameNN's are for Controls ... PID's are for executables ... Class is for GUI's

[center]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.[/center]

Share this post


Link to post
Share on other sites

Classnames for windows = AutoIt Info Tool

Share this post


Link to post
Share on other sites

yeah thanks!


[u]My Programs:[/u]Word Search Creator - Make your own Word SearchShortHand - Hide a secret message in a jpg fileHex Editor - Edit your Binary fileIncrease file size - Increase the size of any filesArt Generator - A program that generate random picture[u]My Functions:[/u]16-Bits Hash - My Hash function similar to MD5Probabilities - My probabilities function (factorial, permuation, combination)_GetDate() - Convert a date to a day of the week_Base(), _Dec() - Convert a number in any base (bin, oct, hex, dec). Create your own!

Share this post


Link to post
Share on other sites

:)

I posted the way to do it script wise for the Class of the windows in the wrong thread!! :P

MsgBox(64, '', _ReturnClass(WinGetTitle('')))

Func _ReturnClass($hwnd)
    If IsString($hwnd) Then $hwnd = WinGetHandle($hwnd)
    Local $aDLL = DllCall('user32.dll', 'int', 'GetClassName', 'hwnd', $hwnd, 'str', '', 'int', 40000)
    If Not @error Then Return $aDLL[2]
EndFunc

[center]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.[/center]

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