Joke758 Posted September 9, 2006 Posted September 9, 2006 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!
Moderators SmOke_N Posted September 9, 2006 Moderators Posted September 9, 2006 Joke758 said: 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 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.
Joke758 Posted September 9, 2006 Author Posted September 9, 2006 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!
Moderators SmOke_N Posted September 9, 2006 Moderators Posted September 9, 2006 I posted the way to do it script wise for the Class of the windows in the wrong thread!! 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 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now