Joseph Posted June 21, 2014 Share Posted June 21, 2014 [OSBot 2] im wondering how i could create a mouse press event and a mouse release event. i mean i see this class but il so minded fuck lol anybody want to help me? Link to comment Share on other sites More sharing options...
MaxSkiller Posted June 21, 2014 Share Posted June 21, 2014 (edited) [OSBot 2] im wondering how i could create a mouse press event and a mouse release event. i mean i see this class but il so minded fuck lol anybody want to help me? You mean you want t see when the mouse is clicked and released right? Edited June 21, 2014 by MaxSkiller Link to comment Share on other sites More sharing options...
Joseph Posted June 21, 2014 Author Share Posted June 21, 2014 You mean you want t see when the mouse is clicked and released right? that would be nice, but no i want a method that actually send a mouse pressed (click and hold) event, and be able to release it too. So i can drag items around in my inventory Link to comment Share on other sites More sharing options...
Khaleesi Posted June 21, 2014 Share Posted June 21, 2014 that would be nice, but no i want a method that actually send a mouse pressed (click and hold) event, and be able to release it too. So i can drag items around in my inventory Hmm no idea about that sorry Link to comment Share on other sites More sharing options...
NotoriousPP Posted June 21, 2014 Share Posted June 21, 2014 (edited) Something like this?: (Continual Click?) Edited June 21, 2014 by NotoriousPP Link to comment Share on other sites More sharing options...
Joseph Posted June 21, 2014 Author Share Posted June 21, 2014 Something like this?: (Continual Click?) i saw it, im going to try it out later, but it say continual click, so im guessing it keep on click rather then click once and hold the click Link to comment Share on other sites More sharing options...
Mysteryy Posted June 21, 2014 Share Posted June 21, 2014 i saw it, im going to try it out later, but it say continual click, so im guessing it keep on click rather then click once and hold the click You mean you want to make an event listener, or you are trying to send a mouse click event to the client? Link to comment Share on other sites More sharing options...
Joseph Posted June 21, 2014 Author Share Posted June 21, 2014 You mean you want to make an event listener, or you are trying to send a mouse click event to the client? Both would be nice. But I want to send the event through the client Link to comment Share on other sites More sharing options...
PolishCivil Posted June 23, 2014 Share Posted June 23, 2014 org.osbot.rs07.event.Event execute = execute(new ClickMouseEvent(new RectangleDestination(bot, x, y, w, h))); clicked = execute.hasFinished(); I just use sth like ^, and actually you ca override RectDestination class and you can mae it polygon or whatever you want. 1 Link to comment Share on other sites More sharing options...
Joseph Posted June 23, 2014 Author Share Posted June 23, 2014 time to play around with this, thanks. Also im going to have to wait until the bot is running again Link to comment Share on other sites More sharing options...