There are several tools to turn off the monitor available online but I want to be able to control which one to be turned off when there is more than one screen being connected to the Windows PC.
[Mod edit: Moved topic from 'Scripts and Functions (v2)' - which is meant for publishing working scripts and functions - since this is a help request.]
Control screen to be turned off with a hotkey
- Noitalommi_2
- Posts: 393
- Joined: 16 Aug 2023, 10:58
Re: Control screen to be turned off with a hotkey
Hi.
For a dual monitor setup you can use this script, otherwise, I don't know.
For a dual monitor setup you can use this script, otherwise, I don't know.
Code: Select all
#Requires AutoHotkey 2.0
#SingleInstance
dS := "DisplaySwitch.exe"
F1::Run dS " /internal" ; only primary
F2::Run dS " /external" ; only secondary
F3::Run dS " /extend" ; both - extend desktop
F4::Run dS " /clone" ; both - clone desktop