Answers for "get window with title python"

11

get screen size python

>>> import pyautogui

>>> width, height= pyautogui.size()

>>> print(width)
1366

>>> print(height)
768
Posted by: Guest on July-16-2020
1

get active window title python

import win32gui
w=win32gui
w.GetWindowText (w.GetForegroundWindow())
Posted by: Guest on September-08-2020

Python Answers by Framework

Browse Popular Code Answers by Language