Hello, I decided to make a phone program to use it to control the computer (via bluetooth). Everything would be fine if it wasn't for one problem, namely I want to assign the phone key the appropriate shortcut (key combinations on the keyboard) that would turn off the computer. If someone knows such an abbreviation, I am asking for help
Win + L is out, alt + f4 is also out because at most it closes the applications on the computer but will not shut down the system. I know you can make a shortcut on the desktop and assign it the properties "shutdown -s ..." and then assign a key combination to that shortcut, but it would be impractical if someone else used this program on their computer. So I am asking for a hint,
if anyone wants, I can send this program to him when it is ready.
if anyone wants, I can send this program to him when it is ready.