Skip to contentSkip to Content

Hello world

Here’s the shortest useful HDC script. It sets a human-like typing pace and types a greeting:

hello.hdc
REM My first HDC script SET_SPEED $Human STRINGLN Hello from Mantis!

Line by line:

  • REM — a comment. The compiler ignores everything after it on that line.
  • SET_SPEED $Human — paces every keystroke that follows so it looks like natural typing rather than an instant paste.
  • STRINGLN Hello from Mantis! — types the text exactly as written, then presses Enter.

Save the file, hit Compile (Ctrl+B) in HiveFusion Studio, pick your device’s COM port, and hit Upload (Ctrl+U). Plug H1 in without holding the Upload button, and it types the line above on whatever has focus.

H1 types keystrokes blindly — it has no idea what’s on screen. Always test a payload against the same OS and keyboard layout you’re targeting before you rely on it.

Last updated on