Lua:getWindowClassName

From Cheat Engine
Jump to navigation Jump to search

getWindowClassName(windowhandle): string - Returns the classname of the window

local hwnd = findWindow("WTWindow", "Game")
print( getWindowClassName(hwnd) ) -- WTWindow