Jump to content

Method Update - Thread Key Press/Release & Hold Key


Recommended Posts

Posted

Background

These methods currently support useful keyboard presses which can help in numerous situations. It does not contain any of the mouse keys: Left click, right click, and wheel (middle) click.

 

Why is this useful?

Although the OSBot api does a lot of the actions automatically and effectively, it can sometimes fail when, for example, trying to adjust zoom if the target zoom is too close to the current slider position, causing the script to loop the method if a check is not added. There are also widgets that can be interacted with by holding a mouse click then moving it.

 

How can it be used?

Moving the zoom slider.

Moving the scroll bar (for example, in the bank, activity teleport screen, settings, world hopper, etc).

Moving the camera with the wheel click.

Dragging and dropping (bank and inventory).

 

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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