Jump to content
UBot Underground

k1lv9h

Fellow UBotter
  • Content Count

    293
  • Joined

  • Last visited

  • Days Won

    11

Everything posted by k1lv9h

  1. k1lv9h

    Split List Item?

    Hi, Sample code to look at: sample-process-scrape-list-001.ubot Kevin ps. Could you please update your forum profile with at least the Ubot license type that you purchased. It would make it easier to provide a solution knowing at least that.
  2. Hi, Sample code with TAB character: sample-tab-char-001.ubot Kevin
  3. Hi, Sample code to do this. sample-page-totals-scrape-001.ubot Thanks, Kevin
  4. Hi, With standard version does not have code view it is not that easy. To share code you could upload and attach .ubot file to a forum post. Kevin ps. I see your Ubot Studio forum account may have restrictions. This Ubot Studio forum topic has what you need to do to have the restrictions removed. http://www.ubotstudio.com/forum/index.php?/topic/7731-getting-errors-posting/
  5. Hi, Sample code: set(#clickonlistitemnumber, 6, "Global") set(#clickonthisitem, $list item(%list search urls, #clickonlistitemnumber), "Global") click(<href=#clickonthisitem>, "Left Click", "No")or set(#clickonlistitemnumber, 6, "Global") click(<href=$list item(%list search urls, #clickonlistitemnumber)>, "Left Click", "No")Ubot Studio lists tip. Ubot Studio lists start at 0. List Item 6 is the 7th URL on page. Thanks, Kevin ps. You may have Ubot Studio forum restrictions in place. This Ubot Studio forum topic has what you need to do to have the restrictions lifted. http://
  6. Hi, Use Ubot shell node to get directory list. Some sample code: sample-shell-dir-list-001.ubot Kevin
  7. Hi, I tested your code out with public proxy. It worked just fine. The referrer displayed like it should. You may want to check your proxy provider to see if the proxy is stripping the referrer. Kevin
  8. Hi You may want to contact support to have your forum userid move to a different category. The following forum topic has information on what to provide in the support ticket. http://www.ubotstudio.com/forum/index.php?/topic/7731-getting-errors-posting/ Kevin
  9. Hi, Sample code should add product url's to a list when review count is greater then 20. sample-amazon-select-on-reviews-001.ubot Kevin
  10. Hi, You may want to add: clear list(%link) clear list(%title)Without "clear list" every "add list to list" will load on the end of your current list. Kevin
  11. Hi, If the value of #math is 4 - 2 = Try this updated code: type text(<name="captcha_math">, $eval($trim($replace(#math, "=", $nothing))), "Standard") The code should remove the "=" and any extra spaces. Kevin
  12. Hi, Sample code: set(#titletoload, "title1 title2 title3 title4", "Global") set(#urltoload, "url1 url2 url3 url4", "Global") clear list(%titles) add list to list(%titles, $list from text(#titletoload, $new line), "Delete", "Global") clear list(%urls) add list to list(%urls, $list from text(#urltoload, $new line), "Delete", "Global") set(#htmlformatted, $nothing, "Global") loop($list total(%titles)) { set(#titleitem, "No value", "Global") if($comparison($list position(%titles), "<", $list total(%titles))) { then { set(#titleitem, $next list item(%titles), "Glob
  13. Hi, Maybe the shell command will give you what you want: set(#workdir, "c:\\dnld\\ubotstudio\\*.vbs", "Global") set(#workdiroutputfile, "c:\\dnld\\workdirfilelist.txt", "Global") shell("cmd.exe /C dir /b /s {#workdir}>\"{#workdiroutputfile}\"")Kevin
  14. Hi, I created a test .csv file within bot. Sample code: set(#filedata, "name1,url1 name2,url2 name3,url3 name4,url4", "Global") set(#filedatasave, "{$special folder("Application Data")}\\testlist.csv", "Global") save to file(#filedatasave, #filedata) clear list(%loadeddata) add list to list(%loadeddata, $list from file(#filedatasave), "Delete", "Global") clear list(%htmlpage) set(#htmlp1, "<html> <head></head> <body>", "Global") add list to list(%htmlpage, $list from text(#htmlp1, $new line), "Don\'t Delete", "Global") loop($list total(%loadeddata)) { if($compa
  15. Hi, My notes on code: Shell cmd.exe /C runs compiled bot/program and waits until finshed. Shell cmd.exe /C start runs compiled bot/program and does not wait until finished. Running compiled bots/programs with VBS code no waiting. Will hide compiled bot/program window from Window's taskbar until the running compiled bot/program is clicked on. Just some ideas. Maybe they could be useful. Sample code: ui check box("Run external bot wait", #runexternalbotwait) ui check box("Run bot with /auto", #runexternalbotauto) ui check box("Use VBS (No Wait)", #runexternalbotwithvbs) wait(5) navigate("
  16. Add me. Skype Id: k1lv9h Thanks
  17. k1lv9h

    Using proxies

    Hi, It could be this. You set proxy password to this variable. ui text box("Proxy Password", #proxy pass) Use a completely different variable for the password in the "set proxy credentials" command. set proxy credentials(#private user, #private pass)Kevin
  18. Hi, Sample code using Math.floor: set(#num1, 50, "Global") set(#perpage, 20, "Global") set(#loopit, $eval("var worknum = {#num1}/{#perpage}; worknumrnd = Math.floor(worknum); worknumrnd"), "Global") sample-javascript-math-floor-001.ubot Kevin
  19. Hi, Sample using javascript Math.ceil Code set(#num1, 50, "Global") set(#perpage, 20, "Global") set(#loopit, $eval("var worknum = {#num1}/{#perpage}; worknumrnd = Math.ceil(worknum); worknumrnd"), "Global") sample-javascript-math-ceil-001.ubot Kevin
  20. Hi, Javascript maybe: run javascript("var element = document.getElementById(\"support\") element.scrollIntoView(true)") Sample code will scroll "Screen resolution" to top of browser window. Sample code using getElementById: navigate("http://www.infobyip.com/", "Wait") run javascript("var element = document.getElementById(\"screen_dimensions\") element.scrollIntoView(true)") Sample code using getElementByTagName: navigate("http://www.infobyip.com/", "Wait") run javascript("var element = document.getElementsByTagName(\"td\")[42] element.scrollIntoView(true)") Kevin
  21. k1lv9h

    [Solved]FTP?

    Hi, Ubot forum topic on FTP and UBot. http://www.ubotstudi...h-ftp-with-ubot I know it has information about upload and download file. It can be change to create directory. Kevin
  22. Hi, Some sample html webpage code to work with would help. Kevin
  23. Hi, Yeah I thought it would. The use of !=. Using OR both conditions would have to be met to exit loop while. Using AND either one of the conditions are met it will exit loop while. Kevin
  24. Hi, Try changing the OR to AND. Kevin
  25. Hi, Maybe something like this. Code: navigate("http://www.allposters.com/-st/Money-Posters_c18781_.htm", "Wait") wait for browser event("Everything Loaded", "") ui stat monitor("Movie Thumb Nails:", $list total(%moviethumbnaildata)) clear list(%moviethumbnaildata) add list to list(%moviethumbnaildata, $scrape attribute(<class=w"thmbbx* thmbbxhtsml*">, "outerhtml"), "Delete", "Global") set(#delim, ",", "Global") clear list(%moviedata) loop($list total(%moviethumbnaildata)) { if($comparison($list position(%moviethumbnaildata), "<", $list total(%moviethumbnaildata))) { then { set(#
×
×
  • Create New...