AHK sample
Using the AutoHotkey sample bundle
The AutoHotkey sample bundle in samples/ahk-sendcommand
shows how to send a
command to a HotkeylessAHK server.
Prerequisites
You will need a working nodecg-io
installation. If you have non yet take a
look at installation guide. You may need to
install this bundle, so take a look at the
“Try an included sample”-Guide. It
will also tell you how to log in and how to use the GUI.
You also need:
- A running HotkeylessAHK setup.
Configure the AutoHotkey sample bundle
- In NodeCG, create a new ahk service instance.
-
Enter the host and port of the HotkeylessAHK Server:
{ "host": "localhost", "port": 42800 }
After entering it, click save.
-
Set the sample's (
ahk-sendcommand
) dependency to be the newly created service instance (of typeahk
). - A small window with the text “Hello World” should have popped up.