Jump to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Move mouse outside screen when script exits

Featured Replies

Hi I want to move the mouse outside the screen when the scripts exits. Because when i stop the script the mouse stays on the screen then when i move my actual mouse into the window its doing some freaky movements.. I used to use this code below to accomplish this task. However now, it just prints false and doesn't move the mouse at all. any workarounds?

 

THANK U

 

    @Override
    public void onExit() {
        log("Success?: " + mouse.moveOutsideScreen());
    }

 

Edited by top kek

Well you have it in the logger to display if the Boolean is true or false rather than actually performing the action.

Edited by Juggles

4 hours ago, Juggles said:

Well you have it in the logger to display if the Boolean is true or false rather than actually performing the action.

You uh.. you okay fren?

13 minutes ago, FrostBug said:

You uh.. you okay fren?

he's drunk fren

16 hours ago, Chris said:

he's drunk fren

very fuckin drunk

On 3/28/2019 at 11:37 AM, Token said:

May be related to the way the script is executed, but only the developers can confirm this. I believe the event executor is stopped before onExit runs, so you may not be able to execute things like mouse movements or other events in there.

https://osbot.org/forum/topic/153140-script-stop-event/

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.