Skip to contentSkip to Content

Strings

HDC has four ways to type text, each suited to a different situation:

CommandBehavior
STRING <text>Types the text exactly as written. No newline afterward.
STRINGLN <text>Types the text, then presses Enter.
FAST_STRING <text> (Pro)Types text using batched HID key codes instead of the standard path — a Pro-tier feature for very high WPM injection, well beyond normal typing speed.
STRING_BLOCK … END_STRINGTypes several source lines as one continuous line — each inner line has its leading whitespace stripped and the newlines between them are ignored, so the whole block comes out as a single line with no Enter presses in between or at the end.

Example of each

strings.hdc
STRING Hello REM ^ types, no Enter afterward STRINGLN Hello REM ^ types, then presses Enter FAST_STRING Hello REM ^ Pro: same result, very high WPM STRING_BLOCK This block spans three source lines but types as one continuous line with no Enter presses. END_STRING

FAST_STRING is a Pro feature — it exists to push typing speed far above what STRING / STRINGLN can do, at the cost of the OS having less time to keep up with each keystroke.

Last updated on