Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Any coders -- need hook into Windows for custom key press

17 Jun 2013   #1

Linux CENTOS 7 / various Windows OS'es and servers
Any coders -- need hook into Windows for custom key press

Hi there
Does anybody know if one can code an application in Windows THAT RUNS IN THE BACKGROUND that does NOTHING except react to a specific key press - ideally I'd like some sort of EVENT to be created at event Windows key + (user custom key), then an ACTION can take place. Then I could say create a table which would launch a specific application or program. This could be quite flexible as I could create in the table a combination of Key presses and applications.

Something like this must exist already in Windows as certain key presses already produce specific actions.

I don't have much experience with this but it doesn't look as if the code would be very large.

Any offers -- hopefully it would run in JavaScript or whatever (I've got Visual Studio) so anything supported by Visual studio or Windows would be fine.


My System SpecsSystem Spec
09 Jul 2013   #2

Windows 7 Ultimate x64 SP1

I don't know anything about coding, so i may be misinterpreting your purposes, but it seems to me what you're describing is pretty much AutoHotkey.
My System SpecsSystem Spec
12 Jul 2013   #3


In AutoIt it is really easy with the function HotKeySet. That is basically what I did with RunAtWinlogon which interprets hotkeys at the Windows login screen; RunAtWinlogon - although that's a bit too much as an example.

The file ServiceKick.au3 includes the functionality you ask about.
My System SpecsSystem Spec


 Any coders -- need hook into Windows for custom key press

Thread Tools

Similar help and support threads
Thread Forum
Symbian S60 App coders??????
I was curious as to know if we have any coders here capable of writing an app for S60 mobile/cell phones. I would love to get a SF app for my Nokia E71 :D:geek:
Hardware & Devices
Microsoft: MSE safe from Windows kernel hook attack
Microsoft: MSE safe from Windows kernel hook attack Source: Microsoft: MSE safe from Windows kernel hook attack ~Lordbob
[Paid job] Looking for PHP coders
Please notify me if this counts as advertising. From my point of view, I'm offering a good deal to the members of SevenForums. Website: ConsoleSpot - PSP News, DS News, PS3 News, Wii News, 360 News, PSP Themes, PSP Wallpapers, and PS3 Themes ConsoleSpot is built on a Linux platform using PHP...
Chillout Room

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 16:57.
Twitter Facebook Google+