Question
app.addEventListener("keydown" ... fails. Is there a way?
app.addEventListener("keydown", function (kd) { pressed(kd) });
app.activeDocument.addEventListener("keydown", function (kd) { pressed(kd) });
both fail -- "keydown" is not a recognized event type
Is there a way to add a keydown event listener at the app level?
(Trying to write a script that will process keystrokes sent by an external app...)
