Android Assassin
Beta member
- Messages
- 2
I am trying to find/figure out the code used for the "WIN+L" shortcut for use in a Java program I am making. I have looked and gotten that the WINDOWS Key is VK_LWIN, or 0x5B, and the L Key is 0x4C. But for the shortcut, what would the code be saying "Hey, these 2 keys are being pressed together."? I tried 0xA7, but that is the code for Browser Forward.
If this is a fairly stupid question, I apologize. Am just getting back into programming. Still reading up, but am obtaining information for my project.
Or if anyone knows Java well, what would be the best method for sending the key combination WIN+L to the PC?
(Yes, I am trying to create a button in my program that will lock/log off the user with a push of one button in the program)
If this is a fairly stupid question, I apologize. Am just getting back into programming. Still reading up, but am obtaining information for my project.
Or if anyone knows Java well, what would be the best method for sending the key combination WIN+L to the PC?
(Yes, I am trying to create a button in my program that will lock/log off the user with a push of one button in the program)