Numlock controller

The frustration that launched my interest in python scripts.

The frustration

References and numbers are a part of logistics. For some reason numlock is still a part of windows.

I do not know if it is a bug in microsofts Azure, or if I just have a million accidental numlock presses a day but i cannot handle it when my numeric keyboard turns into arrow keys.

That is why, as usual, I turned to the internet to find out: can i fix this. is this a setting that i can turn off or not.

A few hours of deepdiving on reddit later, the best option seemed to be a python script.

The script I made with AI checks numlock status and if it's off, the script turns it back on. After testing a few intervals i found that 2 checks per second works well with my setup

After trying to understand what every part of the script does, I installed it on my work computer.

But i did not like having to open the script every time I start my computer.

so I made a batch file and added it to the startup folder.

this worked well until IT removed python from my azure environment.

I now have it on my work computer outside of the azure environment and do click it open each time as i suspect IT clears startup apps.