I've run through all archives I could think of, including Google code
search, but found no answer...
My application need to send a key hold event to another app, say
Front Row, to simulate "Cursor down" repeatedly. With a few quirks,
CGEventCreateKeyboardEvent does a key down and a key up reliably, but
I am stuck with simulating a "key hold", probably called
"autorepeat". There is a key "kCGKeyboardEventAutorepeat" available,
but I can't get it to work.
Has anyone accomplished this?
Please note: sending key down/key up very fast is different from
holding down a key.