Macos Input Injection

Post synthetic keyboard and mouse events on macOS reliably from an agent or automation tool. Covers CGEventPost tap locations (HID vs session) and which tools use which, why CGEventFlags modifiers are not always honoured downstream, the TCC permissions each API needs, the hs.task garbage-collection footgun that silently kills a spawned process, and the fact that macOS disables a slow event tap while hs.eventtap:isEnabled() keeps returning true. Use when injected keystrokes vanish, reach the wrong machine or app, or when an event tap mysteriously stops receiving events.

pooriaarab Updated 1 repo stars

File contents

pooriaarab/skills commit c99d2011f9

Frequently asked questions

npx get-skill add pooriaarab/macos-input-injection