September 5, 20196 yr 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 September 5, 20196 yr by top kek
September 5, 20196 yr Well you have it in the logger to display if the Boolean is true or false rather than actually performing the action. Edited September 5, 20196 yr by Juggles
September 5, 20196 yr 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?
September 10, 20196 yr 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