Re: monitor turned off
- Posted by tone.skoda at gmx.net Feb 11, 2003
- 462 views
I thought it wasn't possible. Monitor supports standby. Is standby same as turning off monitor? For example, is better to turn off monitor overnight or just leave it to go into standby mode? ----- Original Message ----- From: "Carl W." <euphoria at cyreksoft.yorks.com> To: "EUforum" <EUforum at topica.com> Subject: Re: monitor turned off > > tone.skoda at gmx.net wrote: > > > Can I find out, with code, if monitor was turned off? > > Or can I turn off monitor with code? > > Not without specific hardware. The cable connecting a computer to a monitor > is (usually) one-way. > > As for turning a monitor off, most CRT monitors have a physical on/off > switch due to the large voltages generated inside them. It would be totally > impossible to flip such a switch using software alone. > > You might have better luck if you can find a way to send the monitor into > standby mode (if it has one) instead - to do that you would need to > interface with the graphics and monitor drivers and send the right calls. > > Most operating systems detect whether the screen is on or off by asking the > user: > "Can you see this message?". If the answer is yes, chances are the screen is > on. > > Of course, you could go 'mad scientist' and build a hardware/software > interface with power switching relays and stuff. ;) > > -- > [ Carl R White == aka () = The Domain of Cyrek = ] > [ Cyrek the Illogical /\ www.cyreksoft.yorks.com ] > > > > TOPICA - Start your own email discussion group. FREE! >