naaiz Posted April 26, 2017 Posted April 26, 2017 Does anybody know if there's a way to get the actual text from inside a widget? What I'm trying to achieve is getting the opponents' level from the first duel arena screen. getWidgets().getWidgets(rootId, childId).toString(); //Returns null Example
Explv Posted April 26, 2017 Posted April 26, 2017 (edited) getMessage() Edited April 26, 2017 by Explv 4
Alek Posted April 28, 2017 Posted April 28, 2017 You're a Scripter dammit! All objects in Java have a toString() method. Sometimes we are nice here at OSBot and Override some toString() methods in our Objects such as Position; where instead of the default Java toString() you would get a printout of the XYZ coord. Also Explv answered your question.