Ayylmao420 Posted March 23, 2017 Share Posted March 23, 2017 (edited) When pressing shift, getMenu().getDefaultToolTip() still returns for example; "Use Iron ore". Is there any ways of getting the actual toolTip or if this is the correct way of getting it, might be clients bug ? @Alek Edited March 23, 2017 by Ayylmao420 Quote Link to comment Share on other sites More sharing options...
progamerz Posted March 23, 2017 Share Posted March 23, 2017 37 minutes ago, Ayylmao420 said: When pressing shift, getMenu().getDefaultToolTip() still returns for example; "Use Iron ore". Is there any ways of getting the actual toolTip or if this is the correct way of getting it, might be clients bug ? @Alek Because i think when u use shift and try to right click the first option still appears as "Use" not sure maybe. 1 Quote Link to comment Share on other sites More sharing options...
Ayylmao420 Posted March 23, 2017 Author Share Posted March 23, 2017 (edited) 3 minutes ago, progamerz said: Because i think when u use shift and try to right click the first option still appears as "Use" not sure maybe. You are correct, pressing shift doesn't change the order of options in menu. Edited March 23, 2017 by Ayylmao420 1 Quote Link to comment Share on other sites More sharing options...
Easy Posted March 24, 2017 Share Posted March 24, 2017 (edited) On 3/23/2017 at 8:04 AM, Ayylmao420 said: When pressing shift, getMenu().getDefaultToolTip() still returns for example; "Use Iron ore". Is there any ways of getting the actual toolTip or if this is the correct way of getting it, might be clients bug ? @Alek If all you're trying to do is interact with an item while holding shift, determining the item's tool tip isn't necessary. Calling an item's interact() method without passing in any strings will simply left click the item, and if you're holding shift while doing this, the item will drop. //Shift dropping List<Item> logList = getInventory().filter(new NameFilter<>("Logs")); if (logList.size() > 0) { getKeyboard().pressKey(KeyEvent.VK_SHIFT); for (Item log : logList) { log.interact(); } getKeyboard().releaseKey(KeyEvent.VK_SHIFT); } Edited March 24, 2017 by Easy Quote Link to comment Share on other sites More sharing options...
Explv Posted March 24, 2017 Share Posted March 24, 2017 53 minutes ago, Easy said: If all you're trying to do is interact with an item while holding shift, determining the item's tool tip isn't necessary. Calling an item's interact() method without passing in any strings will simply left click the item, and if you're holding shift while doing this, the item will drop. //Shift dropping List<Item> logList = getInventory().filter(new NameFilter<>("Logs")); if (logList.size() > 0) { getKeyboard().pressKey(KeyEvent.VK_SHIFT); for (Item log : logList) { log.interact(); } getKeyboard().releaseKey(KeyEvent.VK_SHIFT); } If all he is trying to do is shift drop, he should just enable shift dropping in the rs settings and then the OSBot drop method will automatically use shift dropping. I have a snippet in the snippets section to enable shift dropping 1 Quote Link to comment Share on other sites More sharing options...