April 12, 20196 yr ??? i think i have the right imports 2nd example... wtf Edited April 12, 20196 yr by alqqu
April 12, 20196 yr Both methods containingActions and containingSprite return a List<RS2Widget>. Read more at https://osbot.org/api/org/osbot/rs07/api/Widgets.html
April 12, 20196 yr Author 1 hour ago, Lordsthan said: Both methods containingActions and containingSprite return a List<RS2Widget>. Read more at https://osbot.org/api/org/osbot/rs07/api/Widgets.html List<RS2Widget> test = getWidgets().containingActions(269, "test"); like this? but i cant interact with "test" at all since its a list?
April 12, 20196 yr 42 minutes ago, alqqu said: List<RS2Widget> test = getWidgets().containingActions(269, "test"); like this? but i cant interact with "test" at all since its a list? Yes, you can't. Instead, you need to interact with the first element.
April 12, 20196 yr Go check out the Tutorial section and take a look at @Explv's scripting tutorial helped me out a lot.
April 12, 20196 yr 4 hours ago, HeyImJamie said: Go learn a little Java and then come back. Save yourself a world of trouble
Create an account or sign in to comment