Search found 4728 matches

by evilC
13 Oct 2019, 12:31
Forum: Scripts and Functions
Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Replies: 246
Views: 43869

Re: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!

v0.4.10 has been released! Devices now poll at 1ms instead of ~15ms This now means that if you are using a mouse set to 1000hz updates, AHK will be notified of mouse movement much more rapidly. However, this may result in very high CPU load as AHK is not very suitable for this high a rate of input s...
by evilC
07 Oct 2019, 08:56
Forum: Scripts and Functions
Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Replies: 246
Views: 43869

Re: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!

This is a known issue, adding more conditions to a #If statement increases the delay, and I *think* #if statements have a certain amount of time to resolve true or false before AHK just assumes false. What you could try is to set a global variable to indicate which app is active, as that may resolve...
by evilC
25 Sep 2019, 08:31
Forum: Ask For Help
Topic: Passing a variable as a key to obtain an associative array value
Replies: 2
Views: 176

Re: Passing a variable as a key to obtain an associative array value

I don't see Description_IN_ARRAY[] being initialised anywhere, are you sure it's an array?
I see Engagement_IN_ARRAY being initialised, but don't see it being used anywhere
by evilC
11 Sep 2019, 13:32
Forum: Scripts and Functions
Topic: .NET Framework Interop (CLR, C#, VB)
Replies: 153
Views: 50623

Re: .NET Framework Interop (CLR, C#, VB)

Thanks, how about maybe we create a repo on GitHub for CLR interop stuff where we can collect code snippets, tricks and tips?
Maybe also include some guides on how to set up Visual Studio .NET projects for easy use with AHK?
by evilC
11 Sep 2019, 12:14
Forum: Scripts and Functions
Topic: .NET Framework Interop (CLR, C#, VB)
Replies: 153
Views: 50623

Re: .NET Framework Interop (CLR, C#, VB)

I recently noticed qwerty12's post about parsing a List<T> from .NET code and had a stab at writing a wrapper class to handle it all, this is what I came up with so far - basically it lets you Count(), MaxIndex() etc as well as enumerate a List<T> as if it were an AHK array: #include CLR.ahk code = ...
by evilC
06 Sep 2019, 07:24
Forum: Scripts and Functions
Topic: AutoHotStreamDeck - AHK wrapper for Elgato Stream Deck (Keys with screens in them!)
Replies: 16
Views: 4493

Re: AutoHotStreamDeck - AHK wrapper for Elgato Stream Deck (Keys with screens in them!)

There is no installation, AHK scripts do not need to be installed You cannot use it to call functions in other scripts, as AHK does not support this Code within an AHSD script creates a button on an SD device, which you then point at a function in that same script I am not sure if you can run multip...
by evilC
29 Aug 2019, 03:24
Forum: Scripts and Functions
Topic: CvJoyInterface - A new, class based vJoy library
Replies: 17
Views: 11049

Re: CvJoyInterface - A new, class based vJoy library

It says in the first post why I wrote another version. If you already have working code, no need to change
by evilC
23 Aug 2019, 16:28
Forum: Scripts and Functions
Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Replies: 246
Views: 43869

Re: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!

v0.4.8 of AHI has been released! https://github.com/evilC/AutoHotInterception/releases/tag/v0.4.8 Fixed the bug @tmplinshi just reported Updated the Monitor app - there are now Copy buttons to copy the VID/PID of your device to the clipboard [Edit] I forgot to prefix the VID/PID with 0x, so I delete...
by evilC
23 Aug 2019, 11:55
Forum: Scripts and Functions
Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Replies: 246
Views: 43869

Re: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!

Ohh, I think I maybe see the issue - it's passing true/false, but the GetDeviceIdFromHandle method uses a lookup table with 1/0 for keys. I am not sure what I was smoking when I wrote that Does this also fix it? [code] GetKeyboardIdFromHandle(handle, instance := 1) { return this.GetDeviceIdFromHandl...
by evilC
23 Aug 2019, 07:37
Forum: Scripts and Functions
Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Replies: 246
Views: 43869

Re: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!

Did you unblock the DLLs?
What version of AHK are you using? If 64-bit, try 32-bit unicode
by evilC
20 Aug 2019, 10:50
Forum: Scripts and Functions
Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Replies: 246
Views: 43869

Re: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!

installed driver (I think)
It should be very obvious if you did it right, you will get a response back from the command-line saying that install was successful.
Did you maybe just double-click the EXE instead of running it from a command-line?
by evilC
15 Aug 2019, 15:51
Forum: Scripts and Functions
Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Replies: 246
Views: 43869

Re: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!

v0.4.6 has been released!
  • Added MoveCursor method to move the cursor to a specific position
    This is similar to the AHK MouseMove command
  • NumLock is now bindable
by evilC
14 Aug 2019, 06:45
Forum: Ask For Help
Topic: AHK works sporatically
Replies: 2
Views: 345

Re: AHK works sporatically

If an application only sees keys send by the script intermittently, Delete the line SendMode, Input and add the line SetKeyDelay, 0, 50 in it's place. The problem is that the game is polling for key state (Likely once every 50ms or so) and when it does not work, what is happening is that AHK is pres...
by evilC
05 Aug 2019, 04:42
Forum: Ask For Help
Topic: Are there other alternatives? (class_dd , winring0)
Replies: 2
Views: 273

Re: Are there other alternatives? (class_dd , winring0)

See AutoHotInterception, linked in my signature
by evilC
05 Aug 2019, 04:41
Forum: Ask For Help
Topic: Help adding GUI to my script. (script works, not with GUI)
Replies: 1
Views: 128

Re: Help adding GUI to my script. (script works, not with GUI)

Without code it would be pretty hard to help you
If you want a user-defined hotkeys system, I have a library that will do that for you here: https://www.autohotkey.com/boards/viewtopic.php?t=38651
by evilC
05 Aug 2019, 04:37
Forum: Ask For Help
Topic: Very specific hotkey time catching question
Replies: 4
Views: 478

Re: Very specific hotkey time catching question

I have a library for handling short / long press here: https://www.autohotkey.com/boards/viewtopic.php?f=6&t=45116
by evilC
02 Aug 2019, 04:28
Forum: Scripts and Functions
Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
Replies: 246
Views: 43869

Re: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!

That's the Interception driver, which this library uses We tried to pay the money to get that upgraded version, but he would not sell for a one off fee - instead he set up a patreon account and asked for a monthly income and would release it after 6 months or so. You can see the conversation here: h...

Go to advanced search