trainux Posted April 16, 2018 Share Posted April 16, 2018 How do I move the mouse a position (specifying the X and Y coordinates) and then do a right click? Example: X = 256 Y = 282 My purpose is to click on the accept button at the beginning of the tutorial (attach the image). If there is a simpler solution. I would appreciate the information. Thank you. Quote Link to comment Share on other sites More sharing options...
Chris Posted April 16, 2018 Share Posted April 16, 2018 6 minutes ago, trainux said: How do I move the mouse a position (specifying the X and Y coordinates) and then do a right click? Example: X = 256 Y = 282 My purpose is to click on the accept button at the beginning of the tutorial (attach the image). If there is a simpler solution. I would appreciate the information. Thank you. https://osbot.org/api/org/osbot/rs07/api/Mouse.html Quote Link to comment Share on other sites More sharing options...
Charlotte Posted April 16, 2018 Share Posted April 16, 2018 You can make use of widgets. RS2Widget a = getWidgets().getWidgetContainingText("Accept"); if (a != null) a.interact("Accept"); Quote Link to comment Share on other sites More sharing options...
FrostBug Posted April 16, 2018 Share Posted April 16, 2018 You won't be able to click anything while the Resizable mode solver is running. OSBot does not support running in resizable mode; but if this is your goal you'll have to use the norandoms CLI argument to disable the resizable mode solver first. Then you can start controlling the mouse; tho doing this by absolute coordinates in resizable mode doesn't sound very productive 1 Quote Link to comment Share on other sites More sharing options...