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.
  • Posts

    • YES!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    • Apple are scared of their customers! They have built a brand over the years of "it just works out of the box", but that slows innovation. Samsung's master stroke was the Galaxy Ultra: "Let's cram everything into one handset, make it so stupid only real nerds will love it, some of the features will work, some won't, but the audience will have such a high tolerance they won't care". Apple has no such device and so they are constantly worrying these days about the fallout of creating a new experience that customers might not like. I know it is often cited the reason they don't build a touchscreen Mac Book is they don't want to cannibalise the the iPad market, but I think it's equally cold feet after the criticism Microsoft receive trying to make a touch compatible desktop OS
    • HandBrake 1.11.2 by Razvan Serea HandBrake is an open-source, GPL-licensed, multiplatform, multithreaded video transcoder, available for MacOS X, Linux and Windows. Handbrake can process most common multimedia files and any DVD or BluRay sources that do not contain any kind of copy protection. Here is a detailed breakdown of HandBrake’s features: Built-in Device Presets—Get started with HandBrake in seconds by choosing a profile optimized for your device, or choose a universal profile for standard or high quality conversions. Simple, easy, fast. For those that want more choice, tweak many basic and advanced options to improve your encodes. Supported Input Sources—Handbrake can process most common multimedia files and any DVD or Blu-ray sources that do not contain any kind of copy protection. Outputs: File Containers: .MP4(.M4V) and .MKV Video Encoders: H.265 (x265 and QuickSync), H.264(x264 and QuickSync), H.265 MPEG-4 and MPEG-2, VP8 and Theora Audio Encoders: AAC / HE-AAC, MP3, Flac, AC3, or Vorbis Audio Pass-thru: AC-3, E-AC3, DTS, DTS-HD, TrueHD, AAC and MP3 tracks Additional features: Title/ Chapter Selection Queue up Multiple Encodes Chapter Markers Subtitles (VobSub, Closed Captions CEA-608, SSA, SRT) Constant Quality or Average BitRate Video Encoding Support for VFR, CFR and VFR Video Filters—Deinterlacing, Decomb, Detelecine, Deblock, Grayscale, Cropping and Scaling Live Video Preview HandBrake 1.11.2 changelog: All platforms Video Fixed a crash that happened when doing a 2-pass lossless x265 encode Fixed a memory leak that happened when doing a 2-pass MPEG-4/MPEG-2/VP9/FFV1 encode Audio Updated the list of supported dithers and encoders combinations Fixed the Core Audio AAC encoder 7.1 channel layout Subtitles Fixed the VobSub palette creation in the MP4 container Build system Improved build system compatibility with older build tools Third-party libraries FFmpeg 8.0.2 (decoding and filters) SVT-AV1 4.1.0 (AV1 video encoding) Linux Added WebM MIME type to the list of the supported formats Mac Improved handling of unsupported presets Updated Sparkle automatic update library Windows Improved handling of unsupported presets Improved queue low space pause behaviour Fixed the automatic audio track name generation Fixed the summary description of HDR video Download: HandBrake 64-bit | Portable 64-bit | ~30.0 (Open Source) Download: HandBrake ARM64 | Portable Links: HandBrake Website | Other Operating Systems | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • So, an article that has nothing to do with Windows 11, still gets Windows 11 in the title and a build number as the picture? Dell have a buggy build of Support Assist HP have UEFI settings that need unlocking for the secureboot cert upgrade to take place.
    • What I can't seem to understand is that Google are paying SpaceX? Surely it would be the other way round, with SpaceX needing Google's datacenters etc.? Oh well, this level of money and power is way outside of my comprehension at the best of times.
  • Recent Achievements

    • One Month Later
      DJC50PLUS earned a badge
      One Month Later
    • Week One Done
      DJC50PLUS earned a badge
      Week One Done
    • Proficient
      Eric Biran went up a rank
      Proficient
    • Dedicated
      Conjor earned a badge
      Dedicated
    • Week One Done
      Windows Guy earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      493
    2. 2
      PsYcHoKiLLa
      243
    3. 3
      Steven P.
      72
    4. 4
      neufuse
      67
    5. 5
      ATLien_0
      67
  • Tell a friend

    Love Neowin? Tell a friend!