import win32gui
# Get the handle to the top-level window
hwnd = win32gui.GetDesktopWindow()
def print_window_title(_hwnd, unused):
if win32gui.IsWindowVisible(_hwnd):
print(win32gui.GetWindowText(_hwnd))
win32gui.EnumWindows(print_window_title, None)
04-17
2932
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交