How to simulate a key-press in ExtendScript?
问题 currently I want to write a script for AE, which relieves me of some keyboard inputs. Once the script is running, I want to click with the mouse, and then some key-inputs for example X Y and Z should be simulated. The little GUI and the eventhandler are no problems, but the simulation of key pressing. Please help. var win = new Window ("dialog", "Dummy"); win.aButton = win.add ("button", undefined, "Start"); win.bButton = win.add ("button", undefined, "Stop"); //Start win.aButton.onClick =