[python-win32] Detecting when a system has multiple monitors (desktops)

2010-08-24 Thread Tony Cappellini
Does anyone know how to detect if a system has multiple monitors (desktops) through Python? I've written a program which allows the user to open multiple stand-alone windows. When I run this program I usually drag these windows to my secondary monitor. I was to save the screen coordinates of the

Re: [python-win32] Detecting when a system has multiple monitors (desktops)

2010-08-24 Thread Tim Roberts
Tony Cappellini wrote: Does anyone know how to detect if a system has multiple monitors (desktops) through Python? I've written a program which allows the user to open multiple stand-alone windows. When I run this program I usually drag these windows to my secondary monitor. I was to save

Re: [python-win32] Detecting when a system has multiple monitors (desktops)

2010-08-24 Thread reckoner
Tony: All of this is handled in the dragonfly package: http://code.google.com/p/dragonfly/ Note that you do not need speech recognition in order to use it. In particular, look at from dragonfly import Window, monitors and the window.py file in the distribution. Good luck! On

Re: [python-win32] Detecting when a system has multiple monitors (desktops)

2010-08-24 Thread Tony Cappellini
Thanks- but I think Tim's solution is more native and has the added benefit of not requiring any additional software.. I was thinking too much into the problem. However, I will keep your reply for future reference. There may be a time when I need the monitors package. On Tue, Aug 24, 2010 at