Re: screen size/resolution in win32 in python

2007-03-19 Thread Larry Bates
adri80386 wrote: > Hi: > > How I can get the current screen resolution settings (screen.width and > screen.heigth in pixels) in python. > > Thanks in advance > > Adrian > Please think about the fact that people sometimes now have 2 and even 3 monitors. Don't do anything with this that would s

Re: screen size/resolution in win32 in python

2007-03-18 Thread Tim Golden
adri80386 wrote: > Hi: > > How I can get the current screen resolution settings (screen.width and > screen.heigth in pixels) in python. You want the GetSystemMetrics function from the pywin32 packge: from win32api import GetSystemMetrics print "width =", GetSystemMetrics (0) print "height =",Ge

screen size/resolution in win32 in python

2007-03-18 Thread adri80386
Hi: How I can get the current screen resolution settings (screen.width and screen.heigth in pixels) in python. Thanks in advance Adrian -- http://mail.python.org/mailman/listinfo/python-list