April 26, 20187 yr 9 minutes ago, Slickk said: What do I import to use selectOption? Look at the API. https://osbot.org/api/org/osbot/rs07/api/Dialogues.html I would recommend using an IDE that handles imports for you. Edited April 26, 20187 yr by Explv
April 26, 20187 yr Author 7 minutes ago, Explv said: Look at the API. https://osbot.org/api/org/osbot/rs07/api/Dialogues.html I would recommend using an IDE that handles imports for you. I've been on this page but I'm not sure what I type exactly. When I try to use selectOption it gives me an error "The method is undefined for the type" Edited April 26, 20187 yr by Slickk
April 26, 20187 yr Author 14 minutes ago, Zappster said: Quick question; what app do you use to write your java code eclipse
April 26, 20187 yr 23 minutes ago, Slickk said: eclipse Pretty sure you can right click on the line->import; that is to say you actually have typed the method out correctly
April 26, 20187 yr Author 3 minutes ago, Zappster said: Pretty sure you can right click on the line->import; that is to say you actually have typed the method out correctly The method is typed correctly, the only error I get is that it's undefined. When I right click, I don't see an import option.
April 26, 20187 yr Make sure you call it correctly: getDialogues().selectOption("Press here to continue"); Learn to use the API, look at the class. Or use getBot().getMethods(). and check search function. In any case just post your code in the OP it's easier to see where you went wrong Edited April 26, 20187 yr by Zappster drunk; you do need an import if its outside bot initilize class
April 27, 20187 yr Make sure you have the OSBot Client added to your libraries sounds like that is your issue.
Create an account or sign in to comment