Hel Posted November 23, 2016 Share Posted November 23, 2016 Back with another thing that's bothering me, I'm trying to get the bot to right click on an item, then select use. Using the regular interaction mode, the bot just left clicks, rather than going through the menu.I've looked & fiddled and can't seem to find what I'm trying to do. Using inventory.hover(i); mouse.click(true); inventory.interact(i, "use"); the bot deselects the item, just to left click it. Any help would be appreciated Quote Link to comment Share on other sites More sharing options...
Muffins Posted November 23, 2016 Share Posted November 23, 2016 http://osbot.org/forum/topic/100116-force-a-right-click-for-an-interaction/ 1 Quote Link to comment Share on other sites More sharing options...
Hel Posted November 23, 2016 Author Share Posted November 23, 2016 Thank-you kindly sir, I must suck at searching, literally couldn't find anything after a few searches. Quote Link to comment Share on other sites More sharing options...
Muffins Posted November 23, 2016 Share Posted November 23, 2016 Thank-you kindly sir, I must suck at searching, literally couldn't find anything after a few searches. It's easier to google search it rather than using osbot search. I.E "Force right click osbot" and sift through the links there 1 Quote Link to comment Share on other sites More sharing options...
Hel Posted November 23, 2016 Author Share Posted November 23, 2016 I'll take that into account for next time, thanks again Quote Link to comment Share on other sites More sharing options...
Alek Posted November 23, 2016 Share Posted November 23, 2016 Back with another thing that's bothering me, I'm trying to get the bot to right click on an item, then select use. Using the regular interaction mode, the bot just left clicks, rather than going through the menu. I've looked & fiddled and can't seem to find what I'm trying to do. Using inventory.hover(i); mouse.click(true); inventory.interact(i, "use"); the bot deselects the item, just to left click it. Any help would be appreciated Remove the first two lines, they are doing nothing at all. Quote Link to comment Share on other sites More sharing options...
Hel Posted November 23, 2016 Author Share Posted November 23, 2016 Remove the first two lines, they are doing nothing at all. I don't think you are understanding what I was trying to do, I was trying to force the bot to use the interaction menu, I tried making it do this by getting the bot to select the item first, then interacting with it. This did not work as the bot simply clicked out of the interaction menu, then proceeded to singular left mouse click on the item. The first two lines were a way of opening the menu, but thankyou Quote Link to comment Share on other sites More sharing options...