Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python get focused window

from win32gui import GetWindowText, GetForegroundWindow
print(GetWindowText(GetForegroundWindow()))
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #focused #window
ADD COMMENT
Topic
Name
7+7 =