Shortcut to turning off 1 monitor in dual set up


  1. Posts : 11
    Windows 7 Ultimate x64
       #1

    Shortcut to turning off 1 monitor in dual set up


    This may be a bit confusing, so I'll try and explain it as good as possible.

    I have a dual monitor set up, but when I play games like Crysis, it's nice to not be sending data to the second monitor and eating up my video card resources. So what I usually do is right click, go to the Nvidia control panel, and turn off the secondary monitor.

    I'm curious if there's a way I can make a command or shortcut to click or bind keys to, that will turn the second monitor off and on when I'm playing.

    I know programs exist that you can create a shortcut to (and bind keys to) that will turn off your monitors, but I need one that will only shut off the secondary, and not the primary monitor.

    Is this fairly easy (I'm fairly adept with basic programming), or would it require some serious programming skills and creating my own programs?
      My Computer


  2. Posts : 71,978
    64-bit Windows 11 Pro for Workstations
       #2

    Hello Suburban Atlas,

    Would just turning off/on the monitor by using the monitors power button itself work for this? If there's no power to the monitor, the graphics will not send anything to it.
      My Computer


  3. Posts : 370
    Windows 7 Ultimate x64
       #3

    Don't forget about the Win+P shortcut for choosing how to use the extra monitor. It can be Computer Only, Duplicate, Extend, or Projector Only. Set it to Computer Only and the other screen should be blank.

    https://www.sevenforums.com/tutorials...on-switch.html
    Last edited by Brink; 21 Aug 2010 at 11:52. Reason: added link
      My Computer


  4. Posts : 1
    Windows 7 Home Premium 64bit
       #4

    I have written a simple .bat file that should toggle your second monitor for you.
    This is what is in it:

    @echo off
    title ScreenOff
    cls
    for /f %%A in (SreenOff.Dat) do set power=%%A
    echo %power%
    if "%power%"=="ECHO is on." (
    set power=on
    )else (
    if "%power%"=="nope" (
    echo Switching ON
    DisplaySwitch.exe /extend
    set power=on
    )else (
    echo Switching OFF
    DisplaySwitch.exe /internal
    set power=nope
    )
    )
    (echo %power%)> SreenOff.Dat

    I have also attached the file, and by the way you can set a key shortcut to the executable in its properties.
    Shortcut to turning off 1 monitor in dual set up Attached Files
      My Computer


  5. Posts : 51
    Windows 7 Proffesional x64
       #5

    Hello1423 said:
    I have written a simple .bat file that should toggle your second monitor for you.
    This is what is in it:

    @echo off
    title ScreenOff
    cls
    for /f %%A in (SreenOff.Dat) do set power=%%A
    echo %power%
    if "%power%"=="ECHO is on." (
    set power=on
    )else (
    if "%power%"=="nope" (
    echo Switching ON
    DisplaySwitch.exe /extend
    set power=on
    )else (
    echo Switching OFF
    DisplaySwitch.exe /internal
    set power=nope
    )
    )
    (echo %power%)> SreenOff.Dat

    I have also attached the file, and by the way you can set a key shortcut to the executable in its properties.
    Hey

    I was just looking for very similar thing !

    And... gently stealing the topic...

    The script above turn off all screens but 1. I have 4 screens. Out of which I want to turn off 1. Is there a way to specify ID of screen that I want to turn off?

    The second thing that I noticed ist hat when it turns off screen it changes the setup to 3 screens - meaning it refreshes all UI and sets the windows to be 3 screen setup not 4. Can I somehow preserve the 4 screen setup but just disable 1 screen? Or set it black/off not sure?

    I'm mostly working on 3 screens and the 4th one only once a while. I cant disable it with power button because then windows goes to 3 screens and all my color calibration profiles gets messed up :- (
      My Computer


  6. Posts : 1
    windows 7 family
       #6

    Scrren off


    Hello,

    Your Bat file is working great. But I want to do the opposite of what it does i.e Turn off my pricipal screen and leave on the extend one on. would you please give the text of the bat file with these changes, Thank you very Much
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 09:31.
Find Us