Sign in to follow this  
Followers 0
Ranmaru

Class of Window

5 posts in this topic

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.


Share this post


Link to post
Share on other sites



_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


Share this post


Link to post
Share on other sites

Sorry, it's in the latest Beta

Ah yeah. :)

I recently purchased a new PC and when I installed AutoIt I forgot to install the latest beta. :P

Thanks. ;)


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