I want to create some short-cuts for my system. For example:
If user press Ctrl+B and active windows on screen is not browser(for example user is in MyDocument folder or Home directory), browser will open.
For doing it, I need to read keyboard input always and check it for short-cuts.
How can i read keyboard input?
Reading user input entering from keyboard
Started by pronetin, Jun 02 2010 02:38 AM
1 reply to this topic
#1
Posted 02 June 2010 - 02:38 AM
|
|
|
#2
Posted 02 June 2010 - 02:48 AM
You have to use hooks. I actually recently did some work with global hooks. It's pretty complicated stuff if you're a beginner, but it's not too bad if you know what you're doing. I actually know you can find a pretty good tutorial for it here.
They use it for keylogging and such, but you can process it however you want. Get to the point where you understand that tutorial, then if you still need help on how to open a process, I can help you out with that.
They use it for keylogging and such, but you can process it however you want. Get to the point where you understand that tutorial, then if you still need help on how to open a process, I can help you out with that.


Sign In
Create Account

Back to top









