Jump to content

Recommended Posts

Posted

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.

Posted

_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

Posted

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. ;)

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...