Ranmaru Posted October 18, 2007 Posted October 18, 2007 How to get the class of a window? Can't seem to find any function or solution for this. The AutoIt Window Info tool can show this for a window, but I need to know how to get the class with AutoIt script.
GaryFrost Posted October 18, 2007 Posted October 18, 2007 _WinAPI_GetClassName SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
Ranmaru Posted October 18, 2007 Author Posted October 18, 2007 _WinAPI_GetClassName Sorry if this sounds newbish, but.. I can't find anything about this function(???) from the help file or the forums at that so I just tried using it as a normal function and this is what I got. D:\PROGRAMMING\AutoIt\Randows\randows.au3 (69) : ==> Unknown function name.: GUICtrlCreateListViewItem($win_list[$i][0] & "|" & $win_list[$i][1] & "|" & WinGetProcess($win_list[$i][1]) & "|" & $processes.Item(WinGetProcess($win_list[$i][1])) & "|" & $state & "|" & _WinAPI_GetClassName($win_list[$i][1]), $my_list) GUICtrlCreateListViewItem($win_list[$i][0] & "|" & $win_list[$i][1] & "|" & WinGetProcess($win_list[$i][1]) & "|" & $processes.Item(WinGetProcess($win_list[$i][1])) & "|" & $state & "|" & ^ ERROR
GaryFrost Posted October 18, 2007 Posted October 18, 2007 Sorry, it's in the latest Beta SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference.
Ranmaru Posted October 18, 2007 Author Posted October 18, 2007 Sorry, it's in the latest BetaAh yeah. I recently purchased a new PC and when I installed AutoIt I forgot to install the latest beta. Thanks.
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