Jump to content
UBot Underground

Search the Community

Showing results for tags 'loop'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Announcements and News
    • Join the UBot Community
  • General
    • General Discussion
    • Mac and UBot Studio
    • Journeys
    • Buy, Sell, Free
    • Scripting

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 25 results

  1. I need help for logic like this. i need when "loop" already 30 then use "wait" for 1 day, the question is : how i use loop like that?? if i use command "IF", how i use?? and how i use command to wait 1 day?? can someone help me how to i create on ubot studio??
  2. I have many embedded loops to check for multiple possible errors. In each of those loops there are If/Then to detect which possible error it encountered and how to recover from that. To which the last part of the "then" needs to be stop executing this loop and go back to the last step. I see no way to do this in ubot. Other scripting apps I've used have commands like "Exit Loop" or "End Loop" to stop processing the rest of the loop. If there are 10 possible errors and I find the error on the first try, why even try the other 9 and waste all that time? The below is basically how it goes with mo
  3. Hello . I would like to replace $ account data with my data in a csv or txt file. I have a problem with obtaining such an effect loop 0 = data in txt or csv name1 (row 0, col 0) pass1 (row 0, col 1) loop 1. name2 (row 1, col 0) pass2 (row 1, col 1) and so on (number of loops) unfortunately, every way I tried it turned out to be wrong txt file (test1.txt) name1, password1 name2, password2 NAME3, password3 NAME4, password4 NAME5, password5 name6, password6 please help. THX ui drop down("Threads",1,#threadCount) ui text box("Number of Accounts",#loops) clear list(%accounts) clear list(%accou
  4. I have scraped an html table with as many as 100 rows with 5 columns. Practically everything I have been trying treats the entire table as one variable. For instance, I'm able to write the table to a file. What I want to be able to do is loop through each row, one by one and explode out the row to 5 variables: cell1, cell2, cell3, cell4, cell5. I then want to use these (while still remaining in the loop for this row) in a SQL query: INSERT INTO db_table (col1, col2, col3, col4, col5) VALUES ('cell1', 'cell2', 'cell3', 'cell4', 'cell5') Seems very simple but I can't quite make this happen
  5. I forgot to increment a variable and now I am stuck in an infinite loop that displays an alert box. I did not save my project in the last hour. How can I break out of the loop? Since it keeps displaying the alert I can't click stop. I have tried quickly pressing enter, to dismiss the alert box, then clicking stop but doesn't work. And ideas? Thanks!
  6. Hi Fellow Botters, as I am pretty new to ubot I am facing a general problem of not knowing how to implement the following. What I try to achieve is: 1.) I provide a list of URLs within a TXT file or CSV 2.) The bot should load the list after start 3.) The bot should execute a normal ubot script but for each URL only once 4.) After executing the script (or loop) for all the given URLs, we take the result data and store it as CSV or TXT What I need most help with are step 2 and 3. Mayve I miss an idea how to tell the bot take each from TXT list and loop ubot script until all urls are proce
  7. Hi, I work now many hours on this, but couldn't figure out the correct solution.Maybe someone could help me please? I want my bot to read out CSV file and receive email, password and country from it. So far that works and I have three lists in the end with the correct data. Now I want to start a loop, where the bot checks the country list and do different things depending on the entry at this certain position. In my code example he should go to the Amazon country webpage and put in the correct login data, than close the browser and check the next item in the list for the country and so o
  8. Hello, I am trying to create a bot that will navigate to a list of websited defined in a text file and then run through the list to take a screenshot. I have a feeling I am going to need a loopwhile type command but I'm getting lost on how to set it up. Here is roughly what I have so far: define Screenshot(#screenshot) { clear list(%ScreenshotURLs) add list to list(%ScreenshotURLs,$list from file("{$special folder("Application")}\\screenshot_urls"),"Delete","Global") LoadAndWait() navigate($next list item(%ScreenshotURLs),"Wait") LoadAndWait() save browser image
  9. I was wondering how I could put user agents into a loop. If anyone can show me I would appreciate it.
  10. I am trying to figure out how I should set up a loop for this site. Since it does not have url's to capture it is a bit of a challange. If I was able to capture the urls's I could have it navigate from a list. But since it does not I will have it have it click on each state then on each individual city. The pic will show where I am at and the issue I am having. Any thoughts would be appreciated.
  11. Anybody knows how to script a continuous loop from a list. Meaning the loop continues after it hit the last item from a list it restarts back to the first item from that same list to continue looping. This would be a list of proxies.Thanks.
  12. Hi, I am tying to have ubot click on a random area of a page and have tried to follow what UBotBuddy advised in the post below: http://network.ubotstudio.com/forum/index.php/topic/5545-how-to-click-random-link/ I have chosen 4 different X coordinates and 4 different Y coordinates and have used $spin in the click mouse command. But it keeps coming up with an error message. I tried entering the coordinates in different ways, i.e. {903|936|973|975} and 903 936 973 975 and 903,936,973,975 This is my code: navigate("http://www.amazon.co.uk/","Wait") loop(5) { wait($rand(3,9)) plugin
  13. Hi, New here so sorry for just asking for some help in the first instance, hopefully be able to offer back advice myself when I get into the software. I am trying to scrape the following data from this url, move to the next page if it exists and place into a csv. http://www.the-saleroom.com/en-gb/auction-catalogues/1818-auctioneers/catalogue-id-sr1810075/search-filter?page=1&pageSize=240 Lot number Title URL I then need to move to the next page if one exists so I am able to grab all the details for the one sale. So far what I am able to do is scrape all the date from the one pa
  14. Hey there! Newby ubot fan here. I'm wondering why I'm getting this error. I'd say I'm correctly using "set list position" which is supposed to reset my list in a loop when using the "next list item". Any idea? My script so far: clear cookies allow javascript("Yes") clear table(&tablacostosenvio) add list to list(%urls, $list from file("urls-looma.txt"), "Delete", "Global") clear list(%codigospostales) add list to list(%codigospostales, $list from file("codigospostales.txt"), "Delete", "Global") set list position(%codigospostales, 0) loop($list total(%urls)) { navigate($next list i
  15. Hi i need some help, i am trying to make myself a twitter bot. i want to loop until i am not following anyone. i need to know how to loop while waiting for following total to =0 but i have no idea how to do this some one please explain thanks
  16. Hello, I am working on writing a bot that will allow the user to gather Youtube videos to a list for posting on their WordPress website. My problem, is that this code: loop while($comparison(#stop, "!=", "Stop")) { set(#add_all_videos, "false", "Global") set(#add_video, "false", "Global") if($comparison(#add_all_videos, "=", "add")) { then { add list to list(%vid_urls, $scrape attribute(<class="contains-addto yt-uix-sessionlink spf-link ">, "fullhref"), "Delete", "Global") } else { } } if($comparison(#add_video, "="
  17. I decided to test out the thread command. When I run the script below it seems to work okay. Watching the Debug window show the #i variable is the same as the %zlist list. But, when I run script several times in quick succession I notice some time there is a discrepancy See the attached image. As you can see the code is very simple so there doesn't seem to be much room for error, but obviously I am doing something wrong, somewhere .... OR ... is it that the thread command isn't working right? clear list(%zlist) set(#i, 0, "Global") loop(20) { loop(5) { runMe(#i) increm
  18. Hello All, Newbie here, asking what will hopefully be a simple question for someone to answer for me. I am currently using the following two lines of code to navigate to a URL and then save the browser image: navigate("http://mysite.ca/s/v/49_James_St_Toronto_Ontario_Canada", "Wait") save browser image("C:\\mypath\\browserimage.jpg")The above is working fine and saves a single image of the static address passed through the URL, but the next step is for me to incorporate this into a loop. I want to be able to loop through the list of addresses in Column 1 of the attached CSV file, and
  19. Hello everybody is it possible to increment a variable (#compte0 #compte1 etc...) in a loop like this : set(#inc, 0, "Global") loop(4) { if($comparison("#compte{#inc}", "=", "true")) { then { alert("ok") } else { alert("dead") } } increment(#inc) } I have tried with the Free bulk reset plugin but I must miss something... This is making me crasy, if someone would please help me ?
  20. Hey Guys, My heads about to explode here. I'm looping through search results page and I need to stop loop once a specific text is found. I tried loop, exist and loop while exist but before loop even begins the process it stops. Can someone give me an idea of what would work? Thanks, Wize
  21. Hey Guys/Ladies I've done this before but only once and cannot find and reference to this. Can someone show me how to BOTH 1) Pause a loop and then ... 2) Restart the loop Thanks!!!!!!!!!!!!!!!!!!!!!!
  22. Hy guys, my first night on ubot, I'm french and I made my first script, very simply script but, nice ton begin !! So I have 2 problems and I ask your help. I would like to male simply loop for my entire script, so I add loop a the beginning with my number of cycles, but I can't insert all my script inside, you understand ? There is a way to quickly loop an entire script before compilation ? Second question: I would like to export login and password for crzating with my script into csv, I seems to work very nice, but I would like to know if Ubot autoincrement csv files rows by rows, I worried b
  23. I'm able to use the UI commands just fine. However, when I move a working UI command line (like UI Stat Monitor) into a loop it no longer displays. -Do these not work in loops or do I need to change something so it does work in a loop? -If UI commands do not work in a loop is there an alternative/workaround? I've only been using UBot for a few days now so please bare with me if this is something simple. I wasn't able to easily find anything related to this on the fourms. Thanks for the help.
  24. i'm running a loop to scroll the pages on twitter, and i'm trying to detect the bottom of the page so that it stops the loop. the problem i'm having is the loop continues even after the stop script command is issued. i'm assuming because the loop is running inside a define command. at the bottom of the page it says back to top, but it appears that it always says that, it's just hidden until you reach that point. can anyone help me out here in both detection of the bottom, and stopping a loop inside a define.
  25. Hi, I'm trying to set up a regular expression string to basically scrape a chunk or HTML between two set points. However between these two points is an irregular number of lines. Now I've watched the Regex video and I can see a way to do it. However I'm looking for a foolproof way to do it. I tried (.*\n)* and then using a lookahead assertion but it didn't work Without the lookahead assertion it did work but obviously pulled up everything after the initial string I specified. Can anyone give me any suggestions on how to do this please? Best regards Steve
×
×
  • Create New...