Some programs deny hotkeys
Some programs deny hotkeys
Until now, HIDMacros didnt work inside of Adobe Reader. Recently it also doesn't work when a google Chrome window is active. Is there a way for you to fix that? Or is it only the other applications blocking hotkeys?,
If you need examples: Ctrl + Alt + 1 , 2 , 3 , 4 , 5 won't work inside of a chrome window and inside a Adobe Reader window :/
If you need examples: Ctrl + Alt + 1 , 2 , 3 , 4 , 5 won't work inside of a chrome window and inside a Adobe Reader window :/
Re: Some programs deny hotkeys
also an addtion, actually, when I press the hotkeys myself, they will work (in chrome, as well in adobe reader)
Re: Some programs deny hotkeys
Before I check, is there someone else having this problem?
Petr Medek
LUAmacros author
LUAmacros author
Re: Some programs deny hotkeys
hey, glad you are responding. I can give a bit more detailed information.
I'm using HIDMacros to send commands like Ctrl + Alt + 1 to Winamp, which are global hotkeys configured inside of Winamp to rate, pause, skip songs. I'm using the macros on a keypad AND a wireless keyboard. Both work fine. Macros outside of the faulty programms from both work too, on both devices.
It used to work fine in chrome for a long time. Only lately it doesn't anymore.
BUT: If I press the hotkeys myself CTRL ALT 1 , it will work.
Programs i have tested where this same behaviour shows are:
Chrome 18.0.1025.168
Adobe Reader 10.1.3
Skype 5.8.0
Everything in Windows 7 64bit Professional
Also for a short time I am getting an error when I quit HIDmacros
I'm using HIDMacros to send commands like Ctrl + Alt + 1 to Winamp, which are global hotkeys configured inside of Winamp to rate, pause, skip songs. I'm using the macros on a keypad AND a wireless keyboard. Both work fine. Macros outside of the faulty programms from both work too, on both devices.
It used to work fine in chrome for a long time. Only lately it doesn't anymore.
BUT: If I press the hotkeys myself CTRL ALT 1 , it will work.
Programs i have tested where this same behaviour shows are:
Chrome 18.0.1025.168
Adobe Reader 10.1.3
Skype 5.8.0
Everything in Windows 7 64bit Professional
Also for a short time I am getting an error when I quit HIDmacros
Re: Some programs deny hotkeys
Also I'd like to add that the Programs have to be active to will stop the macro from working. When I click on the desktop or Windows Explorer, I can start the macro by hitting the button on the Numpad or Wireless Keyboard
Re: Some programs deny hotkeys
If you need to control winamp I would rather choose some script control through ActiveX. Try to google "winamp activex control", install some plugin and put appropriate script into scripted macro. This would be better way then rely on global hotkeys.
Regarding you problem - yes, I can do similar test as I'm using also Win7 64bit, but this will take time, because currently I have no time for my hobbies (like coding HIDmacros )
Regarding you problem - yes, I can do similar test as I'm using also Win7 64bit, but this will take time, because currently I have no time for my hobbies (like coding HIDmacros )
Petr Medek
LUAmacros author
LUAmacros author
Re: Some programs deny hotkeys
I am having this problem as well. Battlefield 3 worked first, but is not working any longer. Firefox seems to consume the key events as well. Is there anything I can do to help you resolve this issue?
Re: Some programs deny hotkeys
Details?
What is your macro action, what exactly "doesn't work" means?
What is your macro action, what exactly "doesn't work" means?
Petr Medek
LUAmacros author
LUAmacros author
Re: Some programs deny hotkeys
I can see that HID macros doesn't receive the events at all. The "Test Area - last input event" updates correctly if a window that doesn't steal the events is focused. But it will not update if I have a window that steal the events focused (e.g. Firefox or Battlefield 3).admin wrote:Details?
What is your macro action, what exactly "doesn't work" means?
My macro action is sending the F13/F14/F15 keys, but I am completely sure that there is no issue with the macros themselves, as you can see in my explanation above.
Do you know of any tool I could use to identify the problem?
Upon further testing I found that events are not consumed. Using https://github.com/jleb/AHKHID I can intercept all events, even in Firefox.
To try it out yourself:
- Install AutoHotkey. Download AHKHID.ahk and example_2.ahk.
- Add the line #Include %A_ScriptDir%\AHKHID.ahk first in example_2.ahk.
- Launch example_2.ahk and input into UsagePage:1 Usage:6 and tick RIDEV_INPUTSINK.
Re: Some programs deny hotkeys
So it means:
- you start hidmacros
- you start Firefox and give it a focus
- then as you type in Firefox the "Test area - last input event" is not updated with pressed keys that go to Firefox? Any key is not logged in HidMacros just because you have Firefox window opened and active?
- you start hidmacros
- you start Firefox and give it a focus
- then as you type in Firefox the "Test area - last input event" is not updated with pressed keys that go to Firefox? Any key is not logged in HidMacros just because you have Firefox window opened and active?
Petr Medek
LUAmacros author
LUAmacros author