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

jimbo45

New member
Guru
Gold Member
VIP
Local time
7:06 AM
Messages
5,941
Location
Hafnarfjörður IS
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.

Cheers
jimbo
 

My Computer My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom built, several laptops HP/ASUS
OS
Linux CENTOS 7 / various Windows OS'es and servers
CPU
Intel i7 Intel i5
Memory
8GB, 16GB
Graphics Card(s)
On Motherboard
Sound Card
Realtek HD audio
Monitor(s) Displays
Apple Cinema display, Samsung LCD
Screen Resolution
1920 X 1080
Hard Drives
4 X 1TB SATA
Mouse
Toshiba wireless laser
Internet Speed
> 20MB up
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 Computer My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Clevo P170HM
OS
Windows 7 Ultimate x64 SP1
CPU
i7-2820QM 2.30GHz
Memory
16GB
Graphics Card(s)
Radeon HD 6900M
Hard Drives
Samsung 470 SSD 250GB [System]
Toshiba MK7559 700GB [Secondary]
Antivirus
ESET NOD32
Browser
Firefox 19
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 - reboot.pro although that's a bit too much as an example.

The file ServiceKick.au3 includes the functionality you ask about.
 

My Computer My Computer

OS
ubuntu
Back
Top