Using Autohotkeys with Keyman

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.

Any help would be greatly appreciated!

Hi @Bruce, welcome to the community!

I suspect that any conflict between Keyman and Autohotkey may be due to Keyman’s serialised input queue. This feature ensures that rapidly typed sequences don’t end up out of order. You can read (much) more technical detail on our blog at https://blog.keyman.com/2018/10/the-keyman-keyboard-input-pipeline/

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.

  1. Start Registry Editor (regedit.exe)
  2. Navigate to HKEY_CURRENT_USER\Software\Keyman\Keyman Engine
  3. Select Edit/New/Key and name the key Debug.
  4. 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.
  5. Exit and restart Keyman (you may need to restart Windows).