Answer the question
In order to leave comments, you need to log in
How to force nodejs to run inside a window running as administrator?
I need to simulate keystrokes inside the game, for this I installed kbm-robot. I wrote a script to simulate the key sequence I needed, ran it in a text editor and everything works more than fine, then I switched from theory to practice, after running the script I opened a game that runs exclusively as an administrator, and the keystroke did not work. I'm more than sure that the script needs administrator rights, but it crashes when run like this. Have you experienced something like this? Maybe you can suggest a solution..
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question