keyboard-hook Questions

10

It seems that if you call ToAscii() or ToUnicode() while in a global WH_KEYBOARD_LL hook, and a dead-key is pressed, it will be 'destroyed'. For example, say you've configured your input language ...
Lichter asked 26/12, 2009 at 23:24

4

Solved

I tried to write a program which hooks keyboard messages to pronounce the name of each key whenever it is pressed in Ubuntu (KDE); without interfering with normal action of keyboard in programs (ju...
Palomino asked 30/3, 2014 at 20:31

2

Solved

I've got two keyboards attached to my computer. A normal full-size keyboard and a numeric keypad. I want to "remap" the keys on the numeric keypad, but leave the full keyboard alone. So, when the u...
Yim asked 6/12, 2012 at 11:26

7

Solved

I want to capture a keyboard shortcut in my application and trigger a dialog to appear if the user presses a keyboard combo even outside of the app. Similar to Google Desktop Search's Ctrl, Ctrl to...
Preform asked 2/3, 2009 at 22:52

4

Solved

I have an app which uses a keyboard hook procedure in a library. The wParam in the hook for one message is 255 which we think is "(reserved / OEMClear)". I'd like to work out the source of this mes...
Chablis asked 26/5, 2009 at 14:29

5

Solved

I am working on a program that uses keyboard hooks. However, when the PC that the program is running on is just slightly overloaded, it causes Windows to disconnect the hook from the program, causi...
Missus asked 18/7, 2011 at 3:17

1

I am a speedrunner (somebody who likes to finish games in the fastest way possible) on PC games and I'd like to record my inputs while I play in order to automatically replay a run later. So I've c...
Septavalent asked 10/7, 2015 at 5:38

4

First of all I need to make it clear that I have no interest in keylogging. I need a way to monitor keyboard activity at the most basic level while my application is in the background. I don't nee...
Hamlett asked 30/4, 2012 at 12:17

1

i dont know a better title for the question , but i`ll illustrate my problem. I am working on application that acts like a mp3 player , it uses the Multimedia keys to play/pause , stop the song , ...
Tainataint asked 30/4, 2012 at 21:46

3

Solved

I'm trying to create an OS X keyboard hook for assistive technology purposes (i.e. don't worry, not a keylogger). When a user presses a key, I want to prevent the real keypress and send a fake key...
Capability asked 26/4, 2011 at 3:37

7

Solved

We have some global keyboard hooks installed via SetWindowsHookEx with WH_KEYBOARD_LL that appear to randomly get unhooked by Windows. We verified that they hook was no longer attached because ca...
Silicic asked 16/4, 2010 at 18:22

2

Solved

I have put together a JNA code for installing keyboard hook in Windows (using the JNA examples). The code compiles and everything, and I get the hook installed (I get handle to the hook successfull...
Magnificence asked 20/6, 2010 at 8:33

2

I want to make a program in vb.NET 2008 which will listen keyboard in background, i.e. even though the application is minimized (globally). If a specific key is been pressed by user, it should keep...
Gastrotomy asked 23/2, 2013 at 7:54

1

This is in reference to a question asked in Detecting text changes in Word 2016 from VSTO add-in While the answer provided by Dirk Vollmar works, I noticed that hitting one key triggers KeyboardHo...
Favourite asked 1/9, 2016 at 6:40

2

Solved

I need to capture global keyboard messages, so I use SetWindowsHookEx() with WH_KEYBOARD_LL. But it only works when application is in focus and does not trigger Callback globally. Almost the same c...
Stob asked 21/3, 2013 at 12:47

3

I am trying to write a simple global keyboard hook program to redirect some keys. For example, when the program is executed, I press 'a' on the keyboard, the program can disable it and simulate a '...
Detroit asked 9/4, 2014 at 23:37

4

Solved

There's something I'm trying to do with wxPython and I can't figure out how. (I'm on Windows 7 and I'm okay with a Windows-only solution.) I want to catch key events globally. This means key-up, k...
Gorlovka asked 26/7, 2015 at 19:15

2

Solved

In a few words: blocking Win up after Win + Tab makes Windows think Win is still down, so then pressing S with the Win key up for example will open the search charm rather than just type "s"... unt...
Hyperborean asked 28/11, 2014 at 2:35

4

Solved

I'm trying to set a low level windows keyboard hook to grab three keys pressed even if the application is not in focus. To do this I'm calling SetWindowsHookEx as // Create an instance of HookProc...
Impanel asked 25/8, 2010 at 15:47

5

Solved

I'm trying to write a simple macro recorder in Python for OSX - something which can capture mouse and key events as the script runs in the background and replay them. I can use autopy for the latte...
Genitive asked 26/3, 2012 at 1:3

3

I like to know if its possible to use win32 keyboard hook function (SetWindowsHookEx , SetWindowsHookEx ) in a Qt application. If possible pls provide a sample code on using SetWindowsHookEx , Se...
Pack asked 30/1, 2010 at 12:36

1

Solved

I need to connect more than one keyboard/mouse with a single computer. Manymouse library can identify different mouses, but is there a library which can identify different keyboards? I mean, when...
Fistula asked 23/5, 2013 at 9:6

2

Solved

I know this can be done for Windows and that XGrabKey can be used for X11, but what about Mac OS X? I want create a class that allows setting shortcut keys that can be invoked even when the applica...
Reynaldoreynard asked 24/5, 2010 at 5:17

1

Solved

I have programmed an application that has an overlay-kind of window that can be shown and hidden via hotkey while another application has the focus. Said other application is a DirectX game that ru...
Apostate asked 9/4, 2013 at 9:51

2

Solved

I have a application that runs in the background like i may keep my app in the system tray.If it remains on system tray my app will do it's job. Whenever a user press F10 or F9 some works will be d...
Hitlerism asked 15/3, 2013 at 14:7

© 2022 - 2024 — McMap. All rights reserved.