Jump to content
Slickk

Brand new to scripting. Quick question

Recommended Posts

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 by Slickk
Link to comment
Share on other sites

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 by Zappster
drunk; you do need an import if its outside bot initilize class
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...