Chris M 55 Posted July 23, 2013 Report Share Posted July 23, 2013 I am scrapping data from a drop down on a webpage. It contains a list of dates and what I am trying to do is scrape the datesand then have a UI Drop Down appear ONLY when my script gets to that part. I have almost all my code now in defines which is really cool and I want to scrape the values and then dynamically populate theUI Drop Down with my scraped values and then pause the script until they make their choice and then resume once a selectionhas been made. Is that possible? Quote Link to post Share on other sites
pftg4 102 Posted July 23, 2013 Report Share Posted July 23, 2013 no refreshing of the ui up to now been asked many times pftg4 Quote Link to post Share on other sites
Kreatus (Ubot Ninja) 422 Posted July 23, 2013 Report Share Posted July 23, 2013 Yes its possible with aymen's free plugin http://www.ubotstudio.com/forum/index.php?/topic/13237-free-file-management-plugin-multiple-commands-and-functions/You can use its "$dropdown dialog" command to achieve that. Quote Link to post Share on other sites
north_star 16 Posted July 23, 2013 Report Share Posted July 23, 2013 Here is how to do it : navigate("https://na.edit.yahoo.com/registration?", "Wait") set(#month, $scrape attribute(<name="mm">, "outerhtml"), "Global") add list to list(%month, $find regular expression(#month, "(?<=\">).*?(?=<\\/)"), "Delete", "Global") set(#month, %month, "Global") set(#month, $replace(#month, $new line, ","), "Global") set(#Choose Your Month, $plugin function("File Management.dll", "$dropdown dialog", "Choose Your Month", "Choose Your Month:", #month), "Global") wait(1) change dropdown(<name="mm">, #Choose Your Month) 1 Quote Link to post Share on other sites
Chris M 55 Posted July 23, 2013 Author Report Share Posted July 23, 2013 Thanks guys I'll check it out now Quote Link to post Share on other sites
Chris M 55 Posted July 23, 2013 Author Report Share Posted July 23, 2013 Thank you! That worked 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.