Bluscream blu
blu commented on issue starred/AutoHotInterception-evilC-1#65 2026-02-07 13:52:01 +00:00
Compatible with AHK2?

@evilC commented on GitHub (Mar 21, 2023):

I have a branch with AHI working for v2 https://github.com/evilC/AutoHotInterception/tree/ahk-v2-support

No docs yet, minimal conversion of example…

blu opened issue starred/AutoHotInterception-evilC-1#66 2026-02-07 13:52:00 +00:00
Accessibility Compliance
blu commented on issue starred/AutoHotInterception-evilC-1#65 2026-02-07 13:52:00 +00:00
Compatible with AHK2?

@wwboynton commented on GitHub (May 12, 2022):

I would also like to know this. Did you have any luck @kintsugi?

blu commented on issue starred/AutoHotInterception-evilC-1#64 2026-02-07 13:52:00 +00:00
AHI.SendKeyEvent doesn't seem to set the .isActive context for that device

@mmelon commented on GitHub (Aug 14, 2021):

actually i apologise it does work. I just can't get it to work across two different scripts. So script A is sendkeyevent ing and script B is #if…

blu closed issue starred/AutoHotInterception-evilC-1#64 2026-02-07 13:51:56 +00:00
AHI.SendKeyEvent doesn't seem to set the .isActive context for that device
blu opened issue starred/AutoHotInterception-evilC-1#65 2026-02-07 13:51:56 +00:00
Compatible with AHK2?
blu commented on issue starred/AutoHotInterception-evilC-1#63 2026-02-07 13:51:55 +00:00
Would it be possible to use interception_wait instead of a 1ms polling loop, to reduce CPU usage?

@evilC commented on GitHub (Jan 14, 2022):

A big thankyou @AlexVallat for alerting me to this Interception feature. I have now released AHI 0.6.0 which implements WaitWithTimeout and a Cancellatio…

blu opened issue starred/AutoHotInterception-evilC-1#64 2026-02-07 13:51:55 +00:00
AHI.SendKeyEvent doesn't seem to set the .isActive context for that device
blu commented on issue starred/AutoHotInterception-evilC-1#61 2026-02-07 13:51:54 +00:00
destroy ContextManager

@serzh82saratov commented on GitHub (Jan 31, 2021):

If there is a subscription present for a given binding,

My context is used for all keys. And my main need is just to turn off any AHI…

blu commented on issue starred/AutoHotInterception-evilC-1#63 2026-02-07 13:51:54 +00:00
Would it be possible to use interception_wait instead of a 1ms polling loop, to reduce CPU usage?

@evilC commented on GitHub (May 27, 2021):

Updated ScanCodeChecker in interception_wait branch to use waiting without modifying ManagedWrapper BTW are you in the Discord channel?

blu commented on issue starred/AutoHotInterception-evilC-1#61 2026-02-07 13:51:54 +00:00
destroy ContextManager

@evilC commented on GitHub (Jan 31, 2021):

There's a specific command for turning AHI on and off - SetState()

blu commented on issue starred/AutoHotInterception-evilC-1#63 2026-02-07 13:51:54 +00:00
Would it be possible to use interception_wait instead of a 1ms polling loop, to reduce CPU usage?

@AlexVallat commented on GitHub (May 27, 2021):

No, not in the discord channel, sorry - I can get it set up for tomorrow afternoon if you will be around at a similar time and would like to…

blu commented on issue starred/AutoHotInterception-evilC-1#61 2026-02-07 13:51:54 +00:00
destroy ContextManager

@serzh82saratov commented on GitHub (Jan 31, 2021):

I haven't seen it before, is it in the new version? I downloaded v0.5.3, tried it AHI.SetState(0) and my script freezes.

blu commented on issue starred/AutoHotInterception-evilC-1#63 2026-02-07 13:51:54 +00:00
Would it be possible to use interception_wait instead of a 1ms polling loop, to reduce CPU usage?

@evilC commented on GitHub (May 27, 2021):

What I meant by that was that context mode is generally glitchy. I am not sure I have any scripts which repro issues, it's been so long since I looked…

blu commented on issue starred/AutoHotInterception-evilC-1#61 2026-02-07 13:51:54 +00:00
destroy ContextManager

@evilC commented on GitHub (Mar 21, 2023):

I see no problem with the following code:

AHI := new AutoHotInterception()
enabled := true
keyboardId := AHI.GetKeyboardId(0x04F2, 0x0112)
cm1…
blu commented on issue starred/AutoHotInterception-evilC-1#63 2026-02-07 13:51:54 +00:00
Would it be possible to use interception_wait instead of a 1ms polling loop, to reduce CPU usage?

@AlexVallat commented on GitHub (May 28, 2021):

For the ManagedWrapper I referred to https://github.com/oblitum/Interception/blob/v1.0.1/library/interception.h#L176 as the source of truth; as it…

blu commented on issue starred/AutoHotInterception-evilC-1#63 2026-02-07 13:51:54 +00:00
Would it be possible to use interception_wait instead of a 1ms polling loop, to reduce CPU usage?

@AlexVallat commented on GitHub (May 28, 2021):

I've taken a fork of interception_wait and modified it to use the same WaitTimeout I did for the ScanCodeCheker experiment, should fix the issue…

blu commented on issue starred/AutoHotInterception-evilC-1#63 2026-02-07 13:51:54 +00:00
Would it be possible to use interception_wait instead of a 1ms polling loop, to reduce CPU usage?

@AlexVallat commented on GitHub (May 30, 2021):

Another idea I've had, we can actually replicate the interception_wait code from the Interception dll ourselves, which allows adding another wait…

blu commented on issue starred/AutoHotInterception-evilC-1#63 2026-02-07 13:51:53 +00:00
Would it be possible to use interception_wait instead of a 1ms polling loop, to reduce CPU usage?

@evilC commented on GitHub (May 27, 2021):

TBH I am really not sure, I certainly don't recall ever investigating interception_wait I just had a play (https://github.com/evilC/AutoHotInterceptio…

blu commented on issue starred/AutoHotInterception-evilC-1#61 2026-02-07 13:51:53 +00:00
destroy ContextManager

@evilC commented on GitHub (Jan 31, 2021):

If it doesn't crash when you do it, I guess not, but TBH I would be kind of surprised if it worked. Certainly, once you add a ContextManager, just…