Skip to content

Segmentation fault (core dumped) #76

@legop3

Description

@legop3

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)"

image

where is this issue? in my node install? or would it be my build of robot.js?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions