Jump to content
UBot Underground

WarrenIndLLC

Fellow UBotter
  • Content Count

    52
  • Joined

  • Last visited

Everything posted by WarrenIndLLC

  1. Hello, I'm trying to save an element image on a loop so that I continually save the images I download with the corresponding product title. The problem is, is that it continually save each image while the bot is running, but it overwrites the last saved file so there's always only one images being saved in the folder. On top of that, it's not changing the filename with the "next list item" in which it gives the image the same file name as the product. Here's the code: save element image(<style="width: 320px;">,"C:\\Users\\Home\\Desktop\\SonnysImages\\{$next list item(%ProductImageFil
  2. Hi Guys, I'm setting an IF statement. But for the IF to continue to THEN, I would like to check to make sure if certain text exists in an element. I haven't used uBot in awhile but I can't quite seem to accomplish what I'm trying to do. It's probably super simple and I thought I would use a comparison, but not sure if you can compare an element? Again that's for your help.
  3. Thanks for the reply. I got it to work with the $not $exists and then when the file is done uploading it sees the Current Directory text so it's now working perfect. Thanks!
  4. Hey guys, I'm currently having a problem with the Loop While function. I've searched the forum and really haven't found anything that could help me with it and this is really the first time I've used Loop While as I've never really needed to until now. What I'm trying to do is upload a file, then it enters the loop while until that file is finished. When the file is finished then it will change increment the variable from 0 to 1, thus breaking out of the Loop While and continuing with the script. Here is the code I have below: set(#SearchPage, 0, "Global") loop while($comparison(#Searc
  5. Actually thanks for the great idea! I can't use the plugin for what I'm trying to do, but I was able to put a string in the batch file that compare the size of the text file with an if statement and it's works amazing! I believe I have everything just about 100% now.
  6. So close I can taste it. I didn't bother waiting around to see if I could start the bot with an IF command in the batch file. But I'm able to save a new text file after I run the MySQL query. I'm pretty much there, my ONLY issue is that after it runs the query, if there is no information in the query then it will still save a blank text file. I'm using the text file as my IF statement. If present do this, if not do that. So I have to figure out how to only save the text file if there's info in the DB and then it's ready.
  7. DUH! I don't know why I didn't think of that. IF information is present, then start bot. IF not then continue the loop to check for new information. IF bot is open then when bot is finished then it can run the MySQL bat file and the the CLOSE bat to close itself.
  8. Yes, I saw that link earlier today. I've got it currently able to login to MySQL and run the query with the batch file. Now just trying to figure out how to save a new text file when information is on LIMIT 1, then delete the text file and IF text file is there then run bot. I feel like I'm getting close.
  9. Ok. I'm getting closer but I'm not a batch programming expert so if anybody has any input that would be amazing. I know you can read MySQL and even run queries from a batch file. So the idea is to: 1. Run a batch file on a loop that can be hidden in the background (I have a code for this for a separate file so this can be done). The batch would be on a 5 second loop and I already have the code for this as well. 2. The first thing the loop should do is connect to MySQL with the credentials, run a query and save that query to file (if data is present and the text file would be in an IF state
  10. I know this is late but you can setup a batch file and use a shell command to run the batch file to close the bot.
  11. Well, what I'm working on is Connecting to the MySQL database (on my server) from the VPS using SQL. I'm reading up to see if I can somehow make a new file when new information is submitted and then having a batch file run the bot when the new folder is there. So wish me luck. haha
  12. Oh I'm already there. I've got everything set up and it works great... almost. Now I'm not using JotForm or DropBox. But I have already setup my form on my WordPress website that when the customer inputs the info it then gets put in the DB. The bot then pull such info from DB when ran manually like it should and it does it's magic. So I'm just trying to figure out how to start the bot once there's new information/information at all in the DB. Then reset and close when it's finished. So I'm just trying to work that out but I'm somewhat stuck on it for the time being. Any advice would be grea
  13. Yes I would like to know how the database triggers it as well! Last step would be to throw the bot on a VPS and add the VPS's IP address as the wildcard so it runs even if you have your computer off. Probably would have to make some kind of log/error log just in case though!
  14. Hey Kev, Love the work! I was wondering if you had a tutorial for running the software only WHEN it needs to so the bot doesn't have to run 24/7? I can't wait to see it put to work as I believe it's my last step to really get things working! Thanks!
  15. Hey guys, So, I'm trying to pull the first row of DB info to my bot. It connects to the DB just fine and I'm pretty sure I have the right code in, it just continually gives me blank results plugin command("DatabaseCommands.dll", "connect to database", "mysql:server=***.**.***.**;uid=******_push; pwd=*********; database=******_push; port=3306; pooling=false") { plugin command("DatabaseCommands.dll", "query with results", "SELECT * FROM \'sendpush\' LIMIT 1", &results)} When I test run that through uBot I get a blank return of results. Anybody have an idea of what it could be? Thanks
  16. Hey guys, Here's the problem. I'm trying to scrape data from URLs. The problem is that the URLs all have a slight variation. So I was able to create a list with the data that I want but there's also pieces that I don't want in that list as follows. 4853/DataThatIWant.html" 0123/DataThatIWant.html" 6879/DataThatIWant.html" 3748/DataThatIWant.html" 6859/DataThatIWant.html" 0794/DataThatIWant.html" I was wondering if there's a way that I can pull everything between the / and the " in that list? Kind of like page scraping that list to create a new list with clean Data that I want. Thank
  17. Hey guys, I haven't been on here in awhile but decided to make a bot to help with some productivity on a project but I've caught a snag. Basically when visit a particular page I want to set a date in a particular field but the current date is already there. When I run the bot, it doesn't delete the current date in the field, it seems to stay there and just adds the extra date to the end. For example after I run the bot the date looks like this: 1/21/20131/28/2013 So what I need to do is delete whatever is in the date field first and then add in the new date. But I don't see a function
  18. Here's a coding question for you guys. Occasionally when I run my bot I get server errors. So I basically put if statements all through out the bot. IF the $searchpage contains xx amount of information, it will THEN continue to implement the information on that page and continue. BUT if ELSE, then there will be a popup and I have the script stop. I would like to change this. I will Pause, the bot for a specific amount of time, but then I want the bot to RETURN to a specific location in the loop to retry the specific action again until it can continue. Do I use the Return flow command fu
  19. Trying to download your example but I keep getting an access denied server error. Is there a way around that?
  20. Ok. So I have two txt files of 10000+ names. What I want to do is pretty simple. I don't want to upload the list from file as I don't want to have to have my users figure that out, but I want to put that list directly in the bot. Each name is on it's own line. I figured out I just cant "Add To List" then copy/paste the names as when I do that it just puts all the names on a single line. I also tried the $list from text with no success. So how would I add these names to list, and just be able to copy/paste the names in the bot (not in the user interface but in the code itself). Thanks
  21. I just did and I'm not sure if it was pulling the URLs to scrape correctly or what because all I seemed to get was an error page from ezine. I'm going mess with it a bit more with the sockets and see if I have any luck.
  22. Actually the pop-up says: One or more ActiveX controls could not be displayed because either: 1)Your current security settings prohibit running ActiveX controls on this page or, 2)You have blocked a publisher of one of the controls. As a result, the page might not display correctly.
  23. I'm running a script I created that scrapes Ezinearticles. It searches for certain keywords, finds an article, scrapes then it auto posts. I have it choose a random article by spinning where the links are for instance {7|9|11|13} then A. Because I don't want it to grab the same article every time that certain keyword pops up. Well, sometimes not enough articles are submitted for a certain keyword, so then it clicks the corresponding link that takes the place of where a full amount of articles usually would be. But sometimes it clicks a link and I get a pop up stating that it won't let me con
  24. Awesome. Thanks as that worked perfect.
  25. Ok, this maybe a total noob question. But I'd like to know how I can loop on a list in order until the end of the list. I set the "Cycles" of the look to "$next list item" then chose the list I wanted to start the look with figuring this would be the way, but it's obviously not. So how would I go about this? Thanks
×
×
  • Create New...