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