Joseph Posted June 21, 2014 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?
MaxSkiller Posted June 21, 2014 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
Joseph Posted June 21, 2014 Author 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
Khaleesi Posted June 21, 2014 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
NotoriousPP Posted June 21, 2014 Posted June 21, 2014 (edited) Something like this?: (Continual Click?) Edited June 21, 2014 by NotoriousPP
Joseph Posted June 21, 2014 Author 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
Mysteryy Posted June 21, 2014 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?
Joseph Posted June 21, 2014 Author 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
PolishCivil Posted June 23, 2014 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
Joseph Posted June 23, 2014 Author Posted June 23, 2014 time to play around with this, thanks. Also im going to have to wait until the bot is running again