I have been using both Keyman and Autohotkey for many years - both of them fantastic pieces of software! However, I have just recently found some conflict between the two. It seems that, when Keyman is running, the hotstring functionality of Autohotkey is disabled. I presume this has something to do with keyboard hooks and conflicts between the two programs.
However, I would dearly love to resolve the problem as I need the functionality of both Keyman and the Autohotkey hotstrings.
It is possible to disable the serialised input queue, which you could do to test this theory. This requires making a change to the Windows registry.
Warning: Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall the operating system. We cannot guarantee that these problems can be solved. Modify the registry at your own risk.
Start Registry Editor (regedit.exe)
Navigate to HKEY_CURRENT_USER\Software\Keyman\Keyman Engine
Select Edit/New/Key and name the key Debug.
Select the new Debug key, and select Edit/New/DWORD value and name the value Flag_ShouldSerializeInput. It will be created with the default value 0.
Exit and restart Keyman (you may need to restart Windows).
I was very pleased to find your reply to Bruce’s post as I’m having exactly the same problem. So I changed the registry as you described, but unfortunately this this didn’t get me any further.
In addition to AHK hotstrings still not working, rotas (as they are called in InKey, where you press a key multiple times) now don’t work properly any more.
The following normally lets me press SHIFT LCTRL LALT K_1 once to produce ½, twice to produce ⅓, and three times to produce ¼:
But with the new Registry key this produces a string of all three, ½⅓¼, which is of course not what we want.
In addition, any RALT key combinations don’t work any more. They just don’t produce anything.
After removing the Debug Registry key, things are back to ‘normal’, except that, of course AHK hotstrings don’t work, which is a real bummer, because I have hundreds of them!
In InKey 2, AHK hotstrings sometimes don’t work any more either. In such a case I just need to restart the specific AHK script and then they work again. But how can I get it to work with Keyman at all? It would be really great if a solution could be found for this!
This then, is my request, to make Keyman work with AutoHotkey.
PS: I’m using Keyman 14.0.270
PPS: This editor doesn’t let me start a line with + (it changes it to a list bullet), so I needed to put a dot before it.
Hi Marc and everyone
Just wanted to check with you if there’s any progress of making Keyman work together with AutoHotkey hotstrings. I’d love to switch from InKey to Keyman but I have hundreds of AutoHotkey hotstrings that I wouldn’t want to miss.
I’ve just verified that the issues are still present in 15.0.265. This is not all that surprising given we haven’t had an opportunity to investigate further. I’ve added some more testing notes to the bug.
Our Keyman for Windows lead, @ross, may be able to look into fixing this (he just got back to work yesterday so it might take him some time to catch up).