Lua:findWindow
Jump to navigation
Jump to search
findWindow(classname OPTIONAL, caption OPTIONAL): windowhandle - Finds a window with the given classname and/or windowname
https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-findwindowa
print( findWindow("WTWindow", "Game") )