How to properly implement scrolling a distance e.g with robot.mouseWheel()?
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!
1 Reply
⌛ This post has been reserved for your question.
Hey @Pitched! Please useTIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here./closeor theClose Postbutton 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.
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived.
If your question was not answered yet, feel free to re-open this post or create a new one.
In case your post is not getting any attention, you can try to use /help ping.
Warning: abusing this will result in moderative actions taken against you.