AHK syntax is simple - most of it is loading the DLL.
The below code Subscribes to the word "Fire" and also monitors volume.
; Load CLR library that allows us to load C# DLLs
; Instantiate class from C# DLL
asm := CLR_LoadLibrary("HotVoice.dll")
global hv := asm.CreateInstance("HotVoice")
Gui, Add, Text, Center ww00, Volume
Gui, Add, Slider, xm w300 hwndhSlider
Gui, Show, ,HotVoice
; Subscribe to some buttons and axes on the Titan input port
tooltip % "Fire @ " A_TickCount
GuiControl, , % hSlider, % state
This code has a lot of dependencies, so I am expecting problems and for it to not to work for people until we get it ironed out.
As an end-user, you will need the "Demo" zip attached to this post, plus you will likely also need to install some stuff from microsoft.
Go through this install checklist, you should not need to do steps 5 or 7
You will also need a language pack - get one from here.
Unzip the demo zip, you will need ALL files (CLR.ahk, plus two DLLs in addition to the sample script)
Run Example.ahk and modify as desired.
If you wish to tinker and / or contribute, download the "Source" zip, it has a Visual Studio SLN in it.
Go through the list above, do all steps.