Open AnjaP7 opened 7 years ago
Hi,
I have a problem getting dragging working under Mac OS using node.js. The mouse is moving, but it doesn't scroll through my app.
var mouse = robot.Mouse(); mouse.autoDelay.min = 100; mouse.autoDelay.max = 200; robot.Mouse.setPos (x1, y1); mouse.press (robot.BUTTON_LEFT); robot.Mouse.setPos (x2, y2); mouse.release (robot.BUTTON_LEFT);
I tried scrollV too, but with the same result.
Whats wrong? Anja
Hi,
I have a problem getting dragging working under Mac OS using node.js. The mouse is moving, but it doesn't scroll through my app.
var mouse = robot.Mouse(); mouse.autoDelay.min = 100; mouse.autoDelay.max = 200; robot.Mouse.setPos (x1, y1); mouse.press (robot.BUTTON_LEFT); robot.Mouse.setPos (x2, y2); mouse.release (robot.BUTTON_LEFT);
I tried scrollV too, but with the same result.
Whats wrong? Anja