Jump to content

Need help with using MouseMoveProfiles


Alakazizam

Recommended Posts

So I think I understand how to create different profiles, but I'm not seeing how to set those profiles to be used. Honestly not even sure I'm looking at the right thing for what I'm trying to do.

I'm wanting to speed up mouse movements (by roughly 3 times default speed) while doing the inventory processing part of the script and then slow it back down while doing the banking part of the script.

Link to comment
Share on other sites

15 hours ago, Alakazizam said:

So I think I understand how to create different profiles, but I'm not seeing how to set those profiles to be used. Honestly not even sure I'm looking at the right thing for what I'm trying to do.

I'm wanting to speed up mouse movements (by roughly 3 times default speed) while doing the inventory processing part of the script and then slow it back down while doing the banking part of the script.

Join discord https://discord.com/invite/dumFZaM

Link to comment
Share on other sites

https://osbot.org/api/org/osbot/rs07/event/interaction/MouseMoveProfile.html
 

make a new profile set the speed and then set the profile active each time you want to use the sped up profile, but after the task is done set a default profile active again. If not it will stay quick 

Link to comment
Share on other sites

2 hours ago, Wacky Jacky said:

https://osbot.org/api/org/osbot/rs07/event/interaction/MouseMoveProfile.html
 

make a new profile set the speed and then set the profile active each time you want to use the sped up profile, but after the task is done set a default profile active again. If not it will stay quick 

Set the profile active like so: 

getBot().setMouseMoveProfile(new MouseMoveProfile(setSpeedBaseTime(int value here ))));

something like that, I am on mobile not sure. 

Edited by Wacky Jacky
  • Like 1
Link to comment
Share on other sites

7 hours ago, Wacky Jacky said:

Set the profile active like so: 

getBot().setMouseMoveProfile(new MouseMoveProfile(setSpeedBaseTime(int value here ))));

something like that, I am on mobile not sure. 

Thanks. Yeah I got it figured out how to activate it, but I played with changing up a lot of the variables and hardly noticed any sort of difference in the speed of the mouse and nothing that really helped my actions per hour.

Link to comment
Share on other sites

36 minutes ago, Alakazizam said:

Thanks. Yeah I got it figured out how to activate it, but I played with changing up a lot of the variables and hardly noticed any sort of difference in the speed of the mouse and nothing that really helped my actions per hour.

If you set the speed to 0 it should teleport the mouse around, when I am home I shall take a look and let you know. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...