Typeit — Types at the Operating-System Level

Typeit — Types at the Operating-System Level An architecture diagram generated by Archify. Settings · shortcut · speed · Architecture component Settings shortcut · speed Accessibility · macOS permission · Architecture component Accessibility macOS permission Typeit Window · paste the text here · Architecture component Typeit Window paste the text here Electron main · arms and shrinks · Architecture component Electron main arms and shrinks Global Shortcut · F9 start · pause · Esc · Architecture component Global Shortcut F9 start · pause · Esc Keystroke Engine · human rhythm · Architecture component Keystroke Engine human rhythm Any App or Field · browser · Word · editor · Architecture component Any App or Field browser · Word · editor Floating Bar · click-through · Architecture component Floating Bar click-through osascript · System Events · OS-level keystrokes — nothing to compile, nothing to rebuild osascript System Events PowerShell · SendInput · UNICODE · OS-level keystrokes — nothing to compile, nothing to rebuild PowerShell SendInput · UNICODE your text shortcut + speed arms it you press F9 keys with isTrusted macOS gate shrinks to it macOS Windows OS-level keystrokes — nothing to compile, nothing to rebuild Legend Frontend Backend Database Security External

Why not the clipboard

  • • The keys are generated at the operating-system level, not in the page
  • • To the site they are indistinguishable from a physical keyboard: events carry isTrusted
  • • No paste event fires, no clipboard is touched, no document.execCommand

Why not a native module

  • • osascript and PowerShell were chosen over robotjs or nut.js deliberately
  • • There is nothing to compile and nothing to rebuild for each Electron version
  • • On Windows each character is sent as Unicode rather than as a key code

Out of the way while it types

  • • The app arms, shrinks to a floating bar and stays click-through
  • • So an accidental click cannot steal focus from the field being filled
  • • The same shortcut pauses and resumes; Esc cuts everything