Creating a Shortcut for Display Settings


  1. Posts : 3
    W
       #1

    Creating a Shortcut for Display Settings


    I am looking for a way to create a Keyboard Shortcut that switches my display setup for Windows 10



    So essentially I am looking for a command/macro/shortcut/bat file that when it's run Screen A becomes the Primary Screen and Screen B becomes the Secondary screen, and an opposite command/macro/shortcut/bat file that when it's run Screen B becomes Primary and Screen A becomes the main

    Do you know of a way to do this without installing additional programs?
      My Computer


  2. Posts : 34,900
    Win 10 Pro (1903) (2nd PC is 21H2)
       #2

    Hi, this tenforums tutorial includes an option to create a shortcut which appears to meet your need.
    Create Display Switch shortcut in Windows 10

    (I searched the tutorials section for you).

    Having created a shortcut you can assign a hotkey.

    Hope that's what you're looking for.
      My Computers


  3. Posts : 17,831
    Windows 10
       #3

    The easiest way would be a command-line .bat shortcut with a key stroke assignment:
    (lines 2 and 3 differ with your setup)

    Code:
    @echo off
    cd "C:\Windows\System32\nircmd.exe"
    nircmd.exe setprimarydisplay 1
    ... but, you gotta grab NirCmd, if you don't have it.
      My Computer


 

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

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




Windows 10 Forums