Lua:getWindowCaption

From Cheat Engine
Revision as of 00:33, 28 August 2020 by Ajanuw (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

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