I'm newbie to "Electron" framework: I need to create a POC showing communication between "Electron" browser window and a local windows forms application. I'm aware that the "Electron" has abilities of "investigating" the machine and maybe even understand what apps (form application, in my case) are up. I'm aware of the inter process communication (IPC) it has, but it doesn't seems to help me. I would like to know if I have the ability to click on a button in the "Electron" Browser window (BrowserWindow) and make some response (write to a text box, for example) in an up and running form application. Thanks
1 Answers
2
votes
IPC is only for communicating within Electron's main process and render process. It can't be used to let Electron talk to other applications (like Firefox for example). Electron is basically a chromium browser that uses NodeJS to interact with local OS resources.
I am not sure it is possible to do what you want to do unless you create custom Addons in C/C++ to sit between the OS and all running applications. If that isn't your thing, check NPM for something that might exist already.
Out of the box, the closest things you will get are Node's Child Process and command line options, but they won't do what you want them to do based on my understanding of your question.