Jump to content
UBot Underground

[Help] Want To Open Other Bot's Page Using Drop Down


Recommended Posts

Hi,

I have 5 pages of a bot, I want to add a drop down list like one, two , ..five, example - selecting two from dropdown will open page two within the same browser...and selecting three will open page 5 of the bot..

 

please help me if this can be done.

Link to post
Share on other sites

I think maybe this is what you want, you will need to enable the Table Commands plugin (it comes with Ubot I think) for this to work, be sure to run it first to get the table setup and then choose your site and hit navigate.

ui drop down("Choose A Site:","Google,Yahoo,Bing",#siteDropDown)
ui button("Navigate") {
    set(#findRow,$plugin function("TableCommands.dll", "$table search", &sites, #siteDropDown, "Row Index"),"Global")
    navigate($table cell(&sites,#findRow,1),"Wait")
}
clear table(&sites)
set table cell(&sites,0,0,"Google")
set table cell(&sites,0,1,"http://google.com")
set table cell(&sites,1,0,"Yahoo")
set table cell(&sites,1,1,"http://yahoo.com")
set table cell(&sites,2,0,"Bing")
set table cell(&sites,2,1,"http://bing.com")
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...