How to implement BrowserWindow.sendKeys/sendMouse?


#1

Hi,
I’d like to extend atom/electron some functionality which allows me to send keyboard and mouse events to BrowserWindow.

After hour long reading of the entire C++ source code, I could only find the EventEmitter class but I still don’t know how to call this from Javascript.

Can somebody help with some pointers? All I want is to replay recorded user-actions (mouse/keyboard), at any time.