Starter commands
Diatom/User guide/Starter commands

Starter commands

Use the examples with the complete Windows x64 runtime and its matching AHK_Z build, base scripts and native components.

Add the commands

Copy starter_commands.toml into <Diatom>\src\user, or a subfolder of the configured src_dir. Save as UTF-8 and restart.

Shortcut Action
Ctrl+Alt+F8 Readiness message
Ctrl+Alt+F9 Open Notepad
Ctrl+Alt+F10 Runtime folder
Ctrl+Alt+F11 Export activity log
Ctrl+Alt+F12 Exit

The original sample messages are in Chinese and can be edited. Command identifiers and hotkeys are identical in both language versions of the guide.

Hotkey host

Keep an existing def_hotkey host. A new package without one can use the minimal host. It uses the original dog=1 header to start and receive generated hotkeys after return.

Customize

Change a message first, restart and verify. Change key to reassign a shortcut. Add an alias only after checking the actual gesture name and existing definitions.

See the gesture reference for mouse commands and their configuration. Check for duplicate command names before adding the examples to your runtime.

New package configuration

The provided conf.toml is a starting point for a new runtime folder. no_dll=1 selects the Job backend while the matching AutoHotkey.exe, thread.dll and supporting files remain required. Merge settings deliberately when updating an existing setup.

User guide

Loading the guide…