I want grayscale mode to turn on at a specific time every day, then turn off automatically a few hours later. I know ctrl + windows + c can be used to do it manually but it would be great to automate the process such as turning on at 9pm and off at 7am for example.
2 Answers
It is possible. You need a tool for sending the keys ctrl+windows+c and a way to schedule this sending. These tools are:
- AutoHotkey
- The SCHTASKS batch command, or alternatively the Task Scheduler.
You will need to create a AutoHotkey script to send the key combination,
which is a one-liner file with the .ahk extension:
send, #^c
You will need to schedule its execution at the days and times that you wish, using the SCHTASKS command or the Task Scheduler.
You may also disable the hotkey
ctrl+windows+c
by changing in the registry the DWORD item HotkeyEnabled at the key
HKEY_CURRENT_USER\Software\Microsoft\ColorFiltering.
Its value is 0 to disable and 1 to enable, and the modification takes
effect immediately.
You may do so programmatically by either using again AutoHotkey with the
RegWrite command,
or by using the batch
REG command.
- 498,455
Apparently, Windows 10 doesn't officially support automatic grayscaling depending on the time yet. You can try suggesting that to Windows through the Windows' Feedback Hub.
- 163
- 2
- 8