Skip to content

Instantly share code, notes, and snippets.

@mikeal
Created June 2, 2009 22:42
Show Gist options
  • Save mikeal/122642 to your computer and use it in GitHub Desktop.
Save mikeal/122642 to your computer and use it in GitHub Desktop.
try {
EventUtils.synthesizeKey(aKey, modifiers, win);
} catch(e) {
throw new Error("Synthesizing key event failed. \n"+e)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment