I have media keys on keyboard and when Sublime is focused, the media keys don’t work anymore. Sadly I can’t say if this is a “new” issue, as this machine is a clean install.
Sublime ver. 3.1.1 Build 3176
Windows 10 1803 64bit
have you checked if anything is logged when you open the ST console (from the View menu -> Show Console) and type sublime.log_input(True); sublime.log_commands(True)Enter then press your media buttons?
I mean there are a number of keys that don’t show up in the console, but I bet that ST sees. It just shouldn’t intercept them. And generally it doesn’t. And I bet that ST shouldn’t act on media keys, but it still eats them.
You can force them to work even when running on administrator mode. This happens because all programs running on administration mode, have a “exclusivity” with the keyboard, i.e., no other program not also running on administrator mode can access the keyboard, while there is some program with focus running on administrator mode.
Then, all programs running on administrator mode, compete between each other equally for the keyboard keys. Hence, you can keep running Sublime Text as administrator mode, as long as your Music Program is also running on administrator mode.
In case you are remapping your keyboard keys with AHK as suggested on:
You can also keep running Sublime Text as administrator, if you also run your AHK (AutoHotKey.exe) script as administrator.
Usually, on your computer, you should have no program running on administrador mode because it is a very big security issue, because a program running on administrator mode can do anything with your computer, including read other programs memory, and corrupt Windows protected files.