#How to properly implement scrolling a distance e.g with robot.mouseWheel()?

3 messages · Page 1 of 1 (latest)

cloud estuary
#

Hi, I am trying to recreate mouse scrolling behavior, but my current approach is only to set the amount of wheel turns with done with the wheel (using Robot). As far as I know it's dependent on the mouse settings given by the OS, that states what a notch turn does.

However, does somebody know if it's possible to recreate behavior, that scrolls a certain amount of pixels? I need a fairly precise scroll where I can set the distance and I'm not sure how to achieve that.

Hope my explanation was sufficient, any help is appreciated!

night lavaBOT
#

This post has been reserved for your question.

Hey @cloud estuary! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.