spa3212 1 Posted June 13, 2017 Report Share Posted June 13, 2017 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. Quote Link to post Share on other sites
HelloInsomnia 1103 Posted June 13, 2017 Report Share Posted June 13, 2017 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") Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.