jrusse27 Posted September 24, 2014 Share Posted September 24, 2014 Learning whilst trying to make a balloon law runecrafting script, having some issues with interacting with the map to click on "entrana" after clicking fly on the assistant, the popup is always in the same position, so i just have this doing it now: int x = random(206, 272); int y = random(128, 146); getMouse().move(x, y); mouse.click(false); also do not have the slightest idea what the boolean parameter i'm passing to mouse.click() doesany insight would be helpful, thanks. Link to comment Share on other sites More sharing options...
Apaec Posted September 24, 2014 Share Posted September 24, 2014 the boolean parameter is right click I believe. mouse.click(false) left clicks mouse.click(true) right clicks as for interacting with the menu option, if you log in and bring that menu up in the osbot client and enter interface debugger mode, you'll have to mouse over the interface you wish to click and it'll tell you the parent and child Ids which u can then use in a line such as interfaces.interactWithChild(int parentId, int ChildId, action) eg interfaces.interactWithChild(300,3,"Yes") gl! Link to comment Share on other sites More sharing options...
fre024 Posted September 24, 2014 Share Posted September 24, 2014 the boolean parameter is right click I believe. mouse.click(false) left clicks mouse.click(true) right clicks as for interacting with the menu option, if you log in and bring that menu up in the osbot client and enter interface debugger mode, you'll have to mouse over the interface you wish to click and it'll tell you the parent and child Ids which u can then use in a line such as interfaces.interactWithChild(int parentId, int ChildId, action) eg interfaces.interactWithChild(300,3,"Yes") gl! How do you use the interface debugger? When i try to load it says: Status: FAIL: You are not logged in! Link to comment Share on other sites More sharing options...
jrusse27 Posted September 24, 2014 Author Share Posted September 24, 2014 the boolean parameter is right click I believe. mouse.click(false) left clicks mouse.click(true) right clicks as for interacting with the menu option, if you log in and bring that menu up in the osbot client and enter interface debugger mode, you'll have to mouse over the interface you wish to click and it'll tell you the parent and child Ids which u can then use in a line such as interfaces.interactWithChild(int parentId, int ChildId, action) eg interfaces.interactWithChild(300,3,"Yes") gl! Thanks very much Apaec, alot of help! 1 Link to comment Share on other sites More sharing options...