Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #5348
| Date | 2011-05-14 09:59 +0200 |
|---|---|
| From | Alexander Kapps <alex.kapps@web.de> |
| Subject | Re: turn monitor off and on |
| References | <mailman.1537.1305353327.9059.python-list@python.org> <VYpzp.28137$Vp.6741@newsfe14.iad> <r3qzp.174$cs1.146@newsfe15.iad> <2bqzp.1932$7N5.281@newsfe04.iad> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1540.1305359993.9059.python-list@python.org> (permalink) |
On 14.05.2011 09:29, harrismh777 wrote:
> harrismh777 wrote:
>>>
>>> def turnOnMonitor():
>>> SC_MONITORPOWER = 0xF170
>>> win32gui.SendMessage(win32con.HWND_BROADCAST,
>>> win32con.WM_SYSCOMMAND, SC_MONITORPOWER, -1)
>
>
> Wonder what the equivalent of this is in Linux... ?
Probably xset dpms force {on,off,...}
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
turn monitor off and on Astan Chee <astan.chee@gmail.com> - 2011-05-14 16:08 +1000
Re: turn monitor off and on harrismh777 <harrismh777@charter.net> - 2011-05-14 02:13 -0500
Re: turn monitor off and on harrismh777 <harrismh777@charter.net> - 2011-05-14 02:20 -0500
Re: turn monitor off and on harrismh777 <harrismh777@charter.net> - 2011-05-14 02:29 -0500
Re: turn monitor off and on Alexander Kapps <alex.kapps@web.de> - 2011-05-14 09:59 +0200
Re: turn monitor off and on Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-05-14 07:43 +0000
Re: turn monitor off and on harrismh777 <harrismh777@charter.net> - 2011-05-14 03:05 -0500
Re: turn monitor off and on Terry Reedy <tjreedy@udel.edu> - 2011-05-14 15:58 -0400
Re: turn monitor off and on harrismh777 <harrismh777@charter.net> - 2011-05-14 19:25 -0500
Re: turn monitor off and on Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2011-05-16 12:00 +1200
Re: turn monitor off and on harrismh777 <harrismh777@charter.net> - 2011-05-15 20:48 -0500
csiph-web