AutoHotKey Actions
Execute your Streamer.bot actions with AutoHotKey
You can use AutoHotKey to execute your Streamer.bot Actions in realtime via the UDP Server
Prerequisites
- Install AutoHotKey v2
Navigate to the AutoHotKey website to download and install AutoHotKey v2 - Download Example Scripts
Whipstickgostop/streamerbot-ahk
View source on GitHub or direct .zip download
Instructions
- Enable the Streamer.bot UDP ServerNavigate to Servers/Clients > UDP Server in Streamer.bot
- Enable
Auto Start
and then start the UDP Server
- Enable
- Open Example Script in Editor
- Extract the
streamerbot-ahk
zip to any location. - Open the extracted folder and then open the
example-do-action.ahk
in any text editor.
- Extract the
- Update Connection Settings
- If you changed UDP Server settings in Streamer.bot, update the
StreamerbotUDP
connection details to match your configuration.
example-do-action.ahk; Update Streamer.bot Host IP and port as needed sb := StreamerbotUDP("127.0.0.1", 4242)
- If you changed UDP Server settings in Streamer.bot, update the
- Configure HotKeys
- Setup Key Combinations
- By default, the script is configured with hotkeys on and .
- You can add or modify any hotkeys as needed.
- Update Action IDs
- In Streamer.bot, on the action you want to execute from AHK, and select
Copy Action ID
- Update the
sb.DoAction("<action-id>")
lines to use your selected action ID
- In Streamer.bot, on the action you want to execute from AHK, and select
example-do-action.ahk; Set to your desired keybind or key combination F11:: { ; Set to your desired Action ID sb.DoAction("94754342-3397-4dbc-8b16-123906b34015") }
- Setup Key Combinations
- Start Script
- Run the
example-do-action.ahk
script
and (or your updated hotkey combinations) should now execute your selected actions! - Run the
Tips & Tricks
- You can easily create your own new scripts from scratch by simply including the core
lib/streamerbot.ahk
file from any new.ahk
script!