@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…
@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…
@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?
@evilC commented on GitHub (Jan 31, 2021):
There's a specific command for turning AHI on and off - SetState()
@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…
@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.
@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…
@evilC commented on GitHub (Mar 21, 2023):
I see no problem with the following code:
@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…
@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…
@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…
@serzh82saratov commented on GitHub (Jan 31, 2021):
If I do this for everyone try AHI.CreateContextManager (0) Or so for one AHI.Instance.SetContextCallback (4, {}) Can this affect stability?
@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…
@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…
@AlexVallat commented on GitHub (May 27, 2021):
As an experiment, I've converted ScanCodeChecker to use Wait instead of polling in my fork: https://github.com/AlexVallat/AutoHotInterception/commit…