i have old topic about problem . someone told my to use robot you can do your thing with it . anyway i have try install robotjs but its show me project-path\node_modules\robotjs>if not defined npm_config_node_gyp if someone know the step for instaling robotjs with electron please help (:
Hello again @msly ,
Robotjs is special because it need to be recompiled on your system when installed specifying the electron version. They actually made specific instructions on their GitHub wiki where they explain how to rebuild it:
Hope I helped.
Install RobotJS using npm:
npm install robotjs
It’s that easy! npm will download one of the prebuilt binaries for your OS.