Jump to content
UBot Underground

[Solved] Finding Row in a Table


Recommended Posts

Hey guys I am attempting to find the row in a table that contains the text from the drop down menu. I am almost positive this is how it is done but for some reason the first item in the drop down works fine but each subsequent item i get an error saying "the cell I've requested is outside the range of the table". My table though has many rows and columns so I don't get how incrementing past "0" would make it out of bounds. Any help would be much appreciated.

 

ui drop down("Sites", $read file("\\\\psf\\Home\\Desktop\\TestBot\\WordpressBot\\Sites.txt"), #SITES)
ui button("Login") {
   clear table(&LOGINS)
   create table from file("\\\\psf\\Home\\Desktop\\TestBot\\WordpressBot\\Logins.txt", &LOGINS)
   set(#INCREMENT, 0, "Global")
   loop while($not($contains($table cell(&LOGINS, #INCREMENT, 0), #SITES))) {
       increment(#INCREMENT)
   }
   navigate(#SITES, "Wait")
}

 

Basically in a nutshell after I complete this step I will have it navigate to the site and then use the login information from the found row.

Link to post
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.

Loading...
×
×
  • Create New...