Lua:getForegroundWindow
Jump to navigation
Jump to search
getForegroundWindow() - windowhandle : Returns the windowhandle of the topmost window
print( getWindowCaption( getForegroundWindow() ) )