I have a script that keeps my computer awake by switching the num lock on and off every few seconds (this is needed, there is no alternative to this). Ever since last week, a num lock notification is showing up on the top of my screen every few seconds. I have followed multiple 'solutions' to disable this, but I can't see the settings they refer to.
Multiple articles have said to go to Settings > System > Display > Advanced display settings > Display adapter properties for Display 1 and then a window pops up where there is a Screen configurations tab where you can uncheck Enable on-screen display.
I can't find this tab anywhere and would like to know where else I can find this setting to disable the num lock and caps lock notification.
Below are the options I can see inside Advanced display settings.
SetThreadExecutionState
. Here is a utility that calls it for you. winsourcecode.blogspot.com/2020/05/…. More info docs.microsoft.com/en-us/windows/win32/api/winbase/…. This is how media players etc prevent sleeping when running.