Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I turn off my display using nircommand which uses Window's default switch off monitor function. The problem with this is that, the display turns on when I move my mouse or type something in the keyboard(like controlling spotify).

I need to shut down the monitor and not have it turn itself on on an event, is there any way to do that?

share|improve this question
2  
Use the button on the monitor? – EBGreen Aug 2 '12 at 15:22
    
@EBGreen The way my computer monitor is positioned makes it hard for me to reach it – HackToHell Aug 2 '12 at 15:23
2  
I checked with AutoHotKey, it's the same, there doesn't seem to be a command which allows to turn off the screen. Only to put to stand-by. – Gnoupi Aug 2 '12 at 15:31
1  
My comment was at least partially tongue in cheek. I suspect that you will not be able to do this. The best thing that I could think of would be to run a script that will use nircommand to sleep the monitor every 5 seconds or so then have a hot key to kill the script. – EBGreen Aug 2 '12 at 15:58
up vote 1 down vote accepted

Of course, if anything else fails on the software side, there's always the "hardware" solution:

Remote control Socket

One button, switch on and off the display, and it's not out of reach.

share|improve this answer
2  
(Dear USA, your power sockets look sad. Or shocked. Either way, it's disturbing) – Gnoupi Aug 3 '12 at 8:19

Since you are using Windows 7, you could try switching the display with Win+P to a position in which it would redirect all to the external display.

More directly, you could make a shortcut to the program which is called by this shortcut:

Switch to External (and black out the main screen)
%windir%\System32\DisplaySwitch.exe /external

Switch back to the main screen 
%windir%\System32\DisplaySwitch.exe /internal

Of course, this would work only if you don't actually have an external display plugged.

share|improve this answer
    
Nice Idea, but it doesn't work in my computer :/ – HackToHell Aug 2 '12 at 15:38
    
Hm, I guess it works only if you have a way to plug an external output to begin with? – Gnoupi Aug 2 '12 at 15:39
    
Plausibly, I do not have another port in my mobo :/ – HackToHell Aug 2 '12 at 15:43

You can do this with C#. Personally if I were doing this, I would write a small executable in C# that simply takes an argument for which action it will perform and then write a wrapper in autoit that monitors for whatever criteria it needs to take any action using that executable.

share|improve this answer
    
Umm, If I do not get better answer, I will write my own. – HackToHell Aug 2 '12 at 16:11
    
That's the same command I was finding to use with AutoHotKey (AutoHotKey can use "SendMessage"). It's a standby signal only, unfortunately, and it will wake up on mouse movement or key press. – Gnoupi Aug 3 '12 at 5:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .