0

I'm trying to get the resolution of the specific window. Is there any option that it is possible? for example, I would to get 800 X 600, the resolution of the gta link to the picture to understand what I meant https://imgur.com/a/JA7QdtO

  • 1
    maybe this helps: https://stackoverflow.com/questions/151846/get-other-running-processes-window-sizes-in-python – marcos Feb 03 '20 at 17:43
  • Does this answer your question? [Get other running processes window sizes in Python](https://stackoverflow.com/questions/151846/get-other-running-processes-window-sizes-in-python) – Tomerikoo Feb 03 '20 at 17:47

1 Answers1

0

using pygetwindow:

>>> import pygetwindow as gw

>>> window = gw.getWindowsWithTitle('Grand Theft Auto V')[0]

>>> window.height
600
>>> window.width
800
RVIDAN
  • 120
  • 10