Skip to content
Yardmaster Guide

Edit your AutoHotkey script (Windows)

On Windows, Yardmaster can open your AutoHotkey script in a built-in code editor, so you and your agents can work on it, and reload it each time you save.

Advanced2 minutes

AutoHotkey is a free Windows program that runs your own keyboard shortcuts and text expansions. Yardmaster can open your AutoHotkey script in a built-in code editor, so you can change it (or ask an agent to) without leaving the app.

Set it up#

  1. Install AutoHotkey if you have not already.

  2. Open Settings > AutoHotKey (under Tools & Maintenance) and turn on Enable AutoHotKey Integration.

  3. Next to Script File, click Browse and pick your main .ahk file.

  4. Open the new project in the sidebar. It is named after the folder your script is in, and it shows your script in the editor.

Enable AutoHotKey IntegrationSettings, AutoHotKey · Default: OffAdds an AutoHotKey project with a built-in code editorOpen in YardmasterOpens Yardmaster. Don't have it? Download

Because the script's folder is a normal project, you can also start a session there and ask an agent to add a shortcut for you.

Reload the script when you save#

With Reload on Save on (it starts on), saving in the editor asks your running script to reload. Yardmaster does this by writing a small file, C:\tmp\ahk-reload.signal, so it only works if your script checks for that file and reloads itself when it appears.

Manage shortcuts without code#

With the Manager on, your AutoHotkey project shows a Manager tab next to Advanced (code editor). There you add Hotstrings, Hotkeys and Snippets in forms instead of code, and Yardmaster writes them into one generated file for you (see the Generated file tab).

Did this help?