Difference between revisions of "Lua:getWindowCaption"

From Cheat Engine
Jump to navigation Jump to search
(Created page with "<p><b>getWindowCaption(windowhandle)</b> : string - Returns the caption of the window</p> <p></p> <pre> local hwnd = findWindow("WTWindow", "Game") print( getWindowCaption(hwn...")
 
(No difference)

Latest revision as of 00:33, 28 August 2020

getWindowCaption(windowhandle) : string - Returns the caption of the window

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