ilumoif Posted November 3, 2022 Share Posted November 3, 2022 Hi All, Apologies if this seems a bit dumb, but I'm trying to get a specific widget's text using .getMessage to no avail. Sometimes my bot will accidentally click an item that can be used, so it sits with the white highlight saying "Use X ->" whatever you hover; this causes my bot to stop working. To this end I have tried to query the widget at the top of the screen to see if it's trying to "Use" something, but I cannot seem to select it, the outline points to the chat box. I've even tried to use .getWidgetContainingText to look for it but again, nothing. Would anyone kindly be able to provide some advice? Thank you! 162,56,124 is the chat log and 162,88 gives me nothing. Quote Link to comment Share on other sites More sharing options...
Chris Posted November 3, 2022 Share Posted November 3, 2022 bruh https://osbot.org/api/org/osbot/rs07/api/Inventory.html#isItemSelected-- https://osbot.org/api/org/osbot/rs07/api/Inventory.html#deselectItem-- 1 Quote Link to comment Share on other sites More sharing options...
ilumoif Posted November 3, 2022 Author Share Posted November 3, 2022 Noooooo! I am so blind I didn't see those while browsing the docs fml knew it was gonna be something silly.. Thanks Chris. 1 Quote Link to comment Share on other sites More sharing options...