Basically I need a module that works in the background (when the console window is not in focus) to simply detect/log when a key was pressed or a mouse click event took place. It should work the same regardless of if the console window or the node.js application that this will be a part of is in focus or not, i.e. even if the window is minimized. The module should work on Windows systems 7,8 and 10. I am hoping to find an independently working script that does this so that i can later use it as a part of an Electron app. I have tried some modules for this and searched , like 'keypress', 'node-keylogger', 'robotjs' and 'iohook'. None of these modules have the simple listener that i am looking for, for working all the time.
via BrstDev
No comments:
Post a Comment