rr-/screeninfo

save width and height to a variable

Impre-visible opened this issue · 4 comments

how to save the width and the height of all the screen to a variable ? 1 variable for each screen

rr- commented

I don't understand what you're asking for.

if i do that :

for m in get_monitors():
    print(str(m))

i have all the info, know i just want to get the width in m and the height in m

rr- commented

print(m.width, m.height, m.x, m.y)
for details consult screeninfo/common.py.

thanks