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 5:21 PM, reckoner <recko...@gmail.com> wrote: > 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 8/24/2010 4:33 PM, 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 the screen coordinates of the window locations so they >> can be restored. >> >> First, the program must detect the multiple desktops and then >> understand if the screen coordinates of those >> windows are related to the primary or secondary desktop. >> _______________________________________________ >> python-win32 mailing list >> python-win32@python.org >> http://mail.python.org/mailman/listinfo/python-win32 > _______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32