-
Notifications
You must be signed in to change notification settings - Fork 922
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
scrollMouse(x, y) is not working in Windows 10 #663
Comments
you should focus first. eg. moveMouse to target and then troggleMouse down ,and final do scrollMouse |
I found the working solution for this, and this is successfully tested on Windows 10. mouseScrollInputs[0].mi.mouseData = y; with mouseScrollInputs[0].mi.mouseData = -x; And on line mouseScrollInputs[1].mi.mouseData = -x; with mouseScrollInputs[1].mi.mouseData = y; |
实际上在今天scrollMouse在win上面没有做什么操作 |
I modified the code corresponding to the mouse.c file according to your prompt, but it did not achieve the expected effect.(windows 10) |
Expected Behavior
robot.scrollMouse(0, 100);
// It should scroll the screen upwardsCurrent Behavior
robot.scrollMouse(0, 100);
// Doing nothing...Steps to Reproduce (for bugs)
npm rebuild --runtime=electron --target=12.0.4 --disturl=https://atom.io/download/atom-shell --abi=48
Context
Using RobotJS in desktop automation application built in ElectronJS
Your Environment
The text was updated successfully, but these errors were encountered: