Recommended Posts

Yes there is one.. I coded it for myself a few years ago and then hacked my TV card remote control drivers so that I could turn off the monitor while in bed :) Ill have a dig around and see if I can find it.. It is really easy to code anyway, so in 2 weeks once my finals are over I can recode it if I cant find it.

Link to comment
https://www.neowin.net/forum/topic/164539-turn-off-monitor/#findComment-2069018
Share on other sites

Just thought I would add the following.

The C++ version I just coded above will turn off the primary monitor. If you have a multiple monitor setup, the others will remain on. Ive just checked and I will be able to recode it to do all monitors, but wont do it at the moment as Im at uni without my second monitor to test it on.

Im pretty sure the same will apply to the delphi app (the first one I posted).

If people want it for multiple monitors then Ill do it during the summer, or in 2 weeks when my exams are over if some people could test it for me.

Hope the new, smaller, faster app is to everyones liking

Kieran

Link to comment
https://www.neowin.net/forum/topic/164539-turn-off-monitor/#findComment-2069439
Share on other sites

Kieran

"and then hacked my TV card remote control drivers so that I could turn off the monitor while in bed "

if possible could you give some details on this - would a key remapping work as well?

Well you can do anything that will just call the .exe that turns the monitor off. So for instance, if you have one of the microsoft keyboards with the shortcut keys on it, you can use their drivers to make one of the shortcut keys run the .exe. Alternatively, you could use a 3rd party keyboard mapper that has the ability to call an .exe. That way you could get any key on your keyboard to call the .exe. Personally, if going down this route, I would code my own app to do it that uses about 2k of memory and so doesnt bog your system down. If people want me to do this, I will, but this one really does have to wait till after my exams. They finish on the 19th, then Ill be drunk till the monday after. So Ill do it then.

Ill just have a little hunt and see if I can find an example of the TV card stuff I hacked. It was for the (any of then I think) hauppauge TV card... Well it looks like I deleted it at some point (I dont use my TV card anymore).

...... 5 minutes later.... OK Im back. The stupid fire alarm just went off in my building. Was a false alarm though..... now where was I?

OK. If you have a hauppauge TV card, the file you are looking for is something like IRRemote.dll or IRRemote32.dll. Something like that. I know it starts with 'IR', and its in one of the Windows directories (System32?). Anyway (make a copy of the file first before you do any editing incase you mess it up!) open this file and you will see a list of all the mappings from the remote. You will see how they have called programs in there, so you just have to follow the same format. One thing you have to be careful about is that it wont accept long file names, so either keep it somewhere near the root of your hard disk, or I think I got it working by typing the directories the way that DOS interperates them, like \Documen...\Kieran\ with the dots. Something like that anyway (if in doubt, just put it somewhere on the hard disk where you dont have to do this). Once you have made the changes, save the file, close the IR software and load it back up. Now press the button on the remote that you assigned. Hopefully it will work. If it doesnt work, it may just close down the IR software. This isnt an issue as it closes down nicely and can just be started up again when you have edited the file some more.

Once you have got that working you can go to town on it. I remember I could control most things on my computer from my remote. I could turn off the monitor, close down the PC, start media player, play tracks, skip tracks, close down any program, turn random play on and off, turn the system volume up and down. It was great, but now I just have a TV in my room so I dont use it any more.

Hope that helps

Kieran

Edited by Kieran
Link to comment
https://www.neowin.net/forum/topic/164539-turn-off-monitor/#findComment-2072102
Share on other sites

  • 3 weeks later...
kieran,

its a great program .

however, my monitor turns back on after like a minute or so ...

and it keeps doing that :p

any ideas?

Sorry for the no-reply. Neowin did its wonderful thing of unsubscribing me from this topic. As I said in the PM I sent you, the monitor will come back on if a key is pressed or you move the mouse, so it sounds like the mouse is moving. This could be down to vibrations or it being an old mouse (they tend to wander). If its not an optical mouse, try cleaning the ball, otherwise turn the mouse upside down when your not using it :)

Link to comment
https://www.neowin.net/forum/topic/164539-turn-off-monitor/#findComment-2161161
Share on other sites

  • 3 weeks later...
i used wizmo some time back.

http://www.grc.com/wizmo/wizmo.htm

Thanks for the link! I have multiple monitors and want my system volume turned up so I can hear it when I leave the room and this is perfect! I've mapped my Logoff key on my keyboard to run that shortcut and it works like a charm!

Link to comment
https://www.neowin.net/forum/topic/164539-turn-off-monitor/#findComment-2267628
Share on other sites

  • 5 months later...

Ive just been looking at the stats for my web site and I saw that one of the top referrer's is this topic. I also noticed that my link in a previous post is pointing to the wrong place on my server now. The correct link is:

..:: Click Me ::..

For some reason I can't edit my previous posts :angry:

Hope that helps some people,

Kieran

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.