Skip to content

scrollMouse(x, y) is not working in Windows 10 #663

Open
@akanshSirohi

Description

@akanshSirohi

Expected Behavior

robot.scrollMouse(0, 100); // It should scroll the screen upwards

Current Behavior

robot.scrollMouse(0, 100); // Doing nothing...

Steps to Reproduce (for bugs)

  1. Rebuilt RobotJS for ElectronJS with the following command npm rebuild --runtime=electron --target=12.0.4 --disturl=https://atom.io/download/atom-shell --abi=48
  2. Run
const robot = require("robotjs");
robot.scrollMouse(0, 100);

Context

Using RobotJS in desktop automation application built in ElectronJS

Your Environment

  • RobotJS version: 0.6.0
  • Node.js version: 14.7.0
  • npm version: 6.14.7
  • Operating System: Windows 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions