top kek Posted September 5, 2019 Posted September 5, 2019 (edited) 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, 2019 by top kek
Juggles Posted September 5, 2019 Posted September 5, 2019 (edited) 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, 2019 by Juggles 1
FrostBug Posted September 5, 2019 Posted September 5, 2019 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? 1 1
Chris Posted September 5, 2019 Posted September 5, 2019 13 minutes ago, FrostBug said: You uh.. you okay fren? he's drunk fren
Tom Posted September 6, 2019 Posted September 6, 2019 16 hours ago, Chris said: he's drunk fren very fuckin drunk
ihom Posted September 10, 2019 Posted September 10, 2019 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/