Im trying to make a program that turn off my laptop screen when windows has started, becasue the screen is going to an external moniter instead. There is a special Function key on my laptop (Fn) and the key press Fn + F4 turns off the screen.
Is this possible? is there a key code for an Fn key because it isnt standard on all keyboards. And if it is possible how can i imitate this key press from my program.
Thanks for any pointers