I'm trying to test the functionality of a Dialog window in Mathematica in an automated way. To do so, I need to be able to simulate keypresses to trigger UI elements programmatically. Is there a way to do this from within Mathematica?

  • 2
    $\begingroup$ You can use JLink, keyEvents, mouseEvents $\endgroup$ – Kuba May 4 '15 at 19:32
  • 3
    $\begingroup$ It can be done, but frankly PITA - easier to use something like AutoHotkey. $\endgroup$ – ciao May 4 '15 at 19:32

Browse other questions tagged or ask your own question.