Send.
How concepts map
Side by side
A remap and a hotkey that types text:What’s different
- A required header. Unlike AHK, every Rebind script needs a modeline declaring the Rebind version (
min_sdk) before it will run — Rebind refuses a script without it. The rest of the header (name,process=targeting) is optional. See Modeline. - Sending input yields.
HID.TypeandHID.Presssleep between keystrokes, andNet.*requests block, so they must run inside aRun()/Async()coroutine — not directly in a plainBind/OnDowncallback. - Cross-platform. The same script runs on Windows, macOS, and Linux. AutoHotkey is Windows-only.
- Hardware output. In hardware mode your
HID.*calls leave the Rebind Link as standard USB HID, with deterministic timing — not a softwareSendInput. The same script runs free in software mode first; see How it works. - A typed language. Luau brings types, coroutines, and a real standard library. Sequences and delays use
Run/Sleepinstead ofSetTimer/Loop. - More reach. Beyond remaps and macros, Rebind adds an HTTP and WebSocket server, shared-memory IPC, and remote clients for TypeScript, Python, and Rust — so other programs can drive input directly. See Remote control.