Open N1ghtTheF0x opened 4 years ago
To move the mouse cursor to a specific location and key input
in the console:
Could not open main display (npm Error log) 2020-05-25T15_20_19_061Z-debug.log
I looked through some closed issues but I did everything they said there and nothing changed
const robotjs = require('robotjs') robotjs.moveMouse(80,100) // should move the mouse robotjs.keyTap("f11") // should press the key F11
I wanted to create something like this in JavaScript but this is the only thing missing
same problem here, I'm using the readme's example and get
Could not open main display Segmentation fault (core dumped)
Expected Behavior
To move the mouse cursor to a specific location and key input
Current Behavior
in the console:
Possible Solution
I looked through some closed issues but I did everything they said there and nothing changed
Steps to Reproduce (for bugs)
Context
I wanted to create something like this in JavaScript but this is the only thing missing
Your Environment