XULTRAX Posted August 6, 2015 Share Posted August 6, 2015 How can I press the Cook All option when you're in the cooking menu, eg. just used a meat on a fire and on the chatbox it shows the meat icon etc...?Thanks! Quote Link to comment Share on other sites More sharing options...
iJodix Posted August 6, 2015 Share Posted August 6, 2015 use widgets; http://osbot.org/api/org/osbot/rs07/api/Widgets.html Quote Link to comment Share on other sites More sharing options...
Flamezzz Posted August 6, 2015 Share Posted August 6, 2015 (edited) You need to use widgets.Go to settings and enable widget debugging.Now you see something like this:So the parent widget id = 307, child id = 4 RS2Widget cookMenu = widgets.get(307,4); if(cookMenu != null && cookMenu.isVisible()) cookMenu.interact("Cook All"); Edited August 6, 2015 by Flamezzz 1 Quote Link to comment Share on other sites More sharing options...