Text expanders are single-purpose apps with a subscription attached. In Rebind, expansion is a few lines of script: the trigger is any key or sequence, the output is anything a keyboard can type, and it works in every application because the output arrives as ordinary input.
Boilerplate on a hotkey
-- rebind: min_sdk=3.0.0
-- rebind: name=Signature Key
function OnDown(key)
if key == "F9" then
HID.Type("Best regards,\nSam Chen\nSupport, US Input Company")
return false
end
return true
end
Because scripts are code, the output does not have to be static. Compose the string before typing it: today's date, the contents of the clipboard, a counter that increments per use.
What else fits here
- An abbreviation engine: type a short code, get the full phrase.
- Email templates picked by number key, typed into any client.
- A date and time stamp wherever the cursor is.
- A commit-message template on a chord, prefix included.
- Smart paste that strips formatting by retyping the clipboard as keystrokes.
Generate any of these in RebindGPT.