Jump to content
UBot Underground

k1lv9h

Fellow UBotter
  • Content Count

    293
  • Joined

  • Last visited

  • Days Won

    11

k1lv9h last won the day on April 19 2014

k1lv9h had the most liked content!

Community Reputation

76 Excellent

About k1lv9h

  • Rank
    Advanced Member
  • Birthday September 16

Profile Information

  • Gender
    Male
  • Location
    Pennsylvania

Contact Methods

  • Skype
    k1lv9h

System Specs

  • OS
    Windows 7
  • Total Memory
    8Gb
  • Framework
    v3.5 & v4.0
  • License
    Developer Edition

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi, Here is a simple multi thread sample. Threading your program will not be easy. Trying to keep the shortened urls together and in order with the url used to generate them. ui text box("threads", #threads) ui text box("cycles", #cycles) set(#theadcount, 0, "Global") set(#cyclecount, 0, "Global") loop(#cycles) { loop(#threads) { loop while($comparison(#theadcount, ">=", #threads)) { wait(1) } increment(#theadcount) thread { in new browser { navigate("http://www.ubotstudio.com/playground/simple-form", "Wait")
  2. Hi, You could save variable in ui stat monitor to a text file. Then open the text file with notepad. Use CTL-A and CTL-C. Sample code: set(#clipit, "save to clpboard", "Global") set(#file, "c:\\dnld\\testclipboard.txt", "Global") save to file(#file, #clipit) shell("cmd.exe /C notepad.exe {#file}")Thanks, Kevin
  3. Hi, This should work with Ubot Studio version 5.: Replace new lines with nothing when loading #page Added to regex A-Z for capital letters set(#page,$nothing,"Global") navigate("http://www.yellowpages.com/search?search_terms=realtor&geo_location_terms=Homestead%2C+FL","Wait") wait(3) set(#page,$replace($document text,$new line,$nothing),"Global") set(#Compan Names,$find regular expression(#page,"(?<=class=\"business-name\" data-impressed=\"1\">)[0-9A-Za-z ]+"),"Global")This should work with Ubot Studio version 4. Replace new lines with nothing when loading #page Added to regex A-Z
  4. Hi, Originally tested with Ubot version 4. Just tested with Ubot version 5. My test was successful. Kevin
  5. Hi, This Ubot "shell command" you provided worked for me. Kevin
  6. Try this for 32bit app installed on 64bit Windows: shell("{$special folder("Program Files")} (x86)\\viewer\\Theviewer Viewer.exe")or shell("cmd.exe /C {$special folder("Program Files")} (x86)\\viewer\\Theviewer Viewer.exe")Kevin
  7. Hi, Sample code: sample-table-003.ubot Kevin
  8. Hi, Sample code: shell("{$special folder("Desktop")}\\folder\\mail.exe") shell("cmd.exe /C {$special folder("Desktop")}\\folder\\mail.exe")Kevin
  9. Hi, @dan Where is the loop for a count of 0 that the navigate command is in. No matter updated .ubot file to match code. Kevin
  10. Hi, Javascript code to get image width and height: set(#imgurl, "http://www.selby.com.au/media/catalog/product/u/h/uhf088.jpg", "Global") loop(2) { set(#imginfo, $eval(" var imgHeight var imgWidth function findHHandWW() \{ imgHeight = this.height;imgWidth = this.width;return true \} function showImage(imgPath) \{ var myImage = new Image() myImage.name = imgPath myImage.onload = findHHandWW myImage.src = imgPath \} showImage('{#imgurl}') imgWidth+\"x\"+imgHeight"), "Global") }sample-image-properties-002.ubot Kevin
  11. Hi, Changed: 1. loop to loop while. Should exit loop while on match. 2. $find regular expression to $replace regular expression. 3. Added if then else checks to avoid exceed list error Code: set list position(%file1, 0) set list position(%file2, 0) loop($list total(%file1)) { if($comparison($list position(%file1), "<", $list total(%file1))) { then { set(#xxxx, $replace regular expression($next list item(%file1), ".*\\\\", $nothing), "Global") set list position(%file2, 0) set(#foundmatch, $false, "Global") loop while($both($com
  12. Hi, Yeah your are correct. My code sample just set a value via command prompt. Does not interact with a program. Weird the program you are running does not provide a means to pass additional value(s) for the prompt(s). Kevin
  13. Hi, This works for me: set /P myname="Enter name: "Kevin
  14. Hi, Code: set(#selected, $replace($find regular expression($replace("216.250.7.197:8090 213.181.73.145:80 217.8.57.245:3128 212.3.190.77:8080 27.24.158.153:81 221.176.189.14:8080 202.43.188.11:8080 202.96.136.169:2121 201.65.114.212:3128 41.130.195.107:3128 201.49.209.148:3128 202.43.188.199:8080 201.242.11.102:8080 41.164.23.162:8080 41.32.16.85:8080 42.120.20.120:3128 46.13.10.218:3128 41.78.27.237:8080 41.78.27.141:8080 42.121.117.153:8080 46.29.78.20:3128", $new line, "[NL]"), "(27.24.158.153:81.+|\\r\\n+46.13.10.218:3128)"), "[NL]", $new line), "Global")Kevin
×
×
  • Create New...