-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
var robot = require("robotjs"); var mouse = robot.getMousePos(); console.log(mouse.x + ', ' + mouse.y); var hex = robot.getPixelColor(mouse.x, mouse.y); console.log("#" + hex + " at x:" + mouse.x + " y:" + mouse.y);
this is my code, it's just a small thing that should tell me the coordinates and color code of where the cursor is. instead it outputs the coordinates and then "Segmentation fault (core dumped)"
where is this issue? in my node install? or would it be my build of robot.js?
Metadata
Metadata
Assignees
Labels
No labels