turn monitor off and on

Astan Chee astan.chee at gmail.com
Fri May 20 00:15:48 EDT 2011


On Mon, May 16, 2011 at 7:29 PM, Gabriel Genellina
<gagsl-py2 at yahoo.com.ar>wrote:

>
> Your script worked fine for me, 2.6 and XP also. Perhaps your monitor
> device driver is buggy or does not implement the required functionality.
> Mine is from Philips.
>
>
I'm actually using windows 7. Maybe its the difference in OS? Anyway, yes,
the monitor turns back on if the keys are pressed.
I've gone with a pygame/autoit hack which doesn't turn the monitor off (just
black) and then removes the black screen (no offence).
Thanks again for the helps
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20110520/c843efe4/attachment.html>


More information about the Python-list mailing list