byrne1916 0 Posted August 2, 2011 Report Share Posted August 2, 2011 Hi, (second post for the day!) I'm using tagged.com and I just want to upload 1 image per account. I can automate uploading images fine, BUT when I go to switch to thenext image my script just keeps uploading the same image file. I've tried using the increase feature but that didn't work right, I'mpretty sure this is really simple, and an experienced ubotter will justsee what I'm doing wrong right away. I've attached a screenshot of what working for me at the moment, ifanyone can just tell me how I can get the script to switch to the nextimage when I go into my next account I'd be very greatful... even a linkto a good thread about it, because I've searched the forum and found nothing like this one. Gilesyhow to increase images in folder.bmp Quote Link to post Share on other sites
JohnB 255 Posted August 2, 2011 Report Share Posted August 2, 2011 you want to use the command $list from file (as opposed to the $read file you have there. Read file grabs the text as a "block" of text therefore using all the text at once. John Quote Link to post Share on other sites
byrne1916 0 Posted August 3, 2011 Author Report Share Posted August 3, 2011 Yeah, I tried but it just does exactly what the other way does, it keeps loading up image 1...I've put in a loop and each time it re-uploads the first image in the folder.(I have that selected as the file to upload) Does the command $next list item not mean it would go to the next item in the list? I'm after trying to use a zipped folder so I wouldn't be targeting just one image, but instead it just tried uploading the whole folder. I'm sure this is painfully simple here. Gona keep at it and see if I can figure it out... Quote Link to post Share on other sites
JohnB 255 Posted August 3, 2011 Report Share Posted August 3, 2011 Yes. $next list item will go to the next list item starting with the first. John Quote Link to post Share on other sites
byrne1916 0 Posted August 3, 2011 Author Report Share Posted August 3, 2011 I tried what you said but as you can see it doesn't work for me,it keeps upping the same image. still not switching.bmp P.S do you not sleep John? lol Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted August 3, 2011 Report Share Posted August 3, 2011 some of us dont. lol if you like i can help you with this supply the ubot file for editing and I will get it working properly for you. Can private message if you like. TJ Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted August 3, 2011 Report Share Posted August 3, 2011 in your last image shown. you created the list, added item to list then did a next list item to fill a field input you have to set the list position to pull into the field first. Quote Link to post Share on other sites
byrne1916 0 Posted August 3, 2011 Author Report Share Posted August 3, 2011 why don't you share it here? It can't be that hard, it's only a small part of a big bot. Quote Link to post Share on other sites
LoWrIdErTJ - BotGuru 904 Posted August 3, 2011 Report Share Posted August 3, 2011 why don't you share it here? It can't be that hard, it's only a small part of a big bot. I stated above what to do. Quote Link to post Share on other sites
byrne1916 0 Posted August 3, 2011 Author Report Share Posted August 3, 2011 Sorry man, I was replying when you were writing your second post. My head is a bit flustered, I tried setting the list position but itdidn't work, I'm real tired so I'll look at this with a fresh headin the morning... Quote Link to post Share on other sites
byrne1916 0 Posted August 3, 2011 Author Report Share Posted August 3, 2011 I've tried this again and to no avail! My script goes like this -> clear listset position to 0add to list (then select the folder or the image in folder)loopcommands to upload picschange field chosen, with next list items inside the node. I tried an increase command but wasn't working for me either. I really don't see what I could be doing wrong here, it mustbe something so so simple? I've experimented with loads of ways and everytime it resultsin me uploading the same image over and over again. Gilesy Quote Link to post Share on other sites
Enigma 78 Posted August 3, 2011 Report Share Posted August 3, 2011 You should put all the images in a folder and index these files by adding them to a list ($get files and yes include the path).Then implement this list into the loop for creating accounts.Hope this helps. 1 Quote Link to post Share on other sites
byrne1916 0 Posted August 3, 2011 Author Report Share Posted August 3, 2011 You should put all the images in a folder and index these files by adding them to a list ($get files and yes include the path).Then implement this list into the loop for creating accounts.Hope this helps. YES!!!! Good man, thanks for that!! it works now One thing I just want to ask ->I have these numbered 1-60 (all in order, no numbers missing) It just uploaded number 1, 10 and 11 (using a loop of 3cycles)should these not be all in order? 1,2,3 ? Gilesy Quote Link to post Share on other sites
Enigma 78 Posted August 3, 2011 Report Share Posted August 3, 2011 YES!!!! Good man, thanks for that!! it works now One thing I just want to ask ->I have these numbered 1-60 (all in order, no numbers missing) It just uploaded number 1, 10 and 11 (using a loop of 3cycles)should these not be all in order? 1,2,3 ? Gilesy Most likely yes, if not then you should fix that list by doing a ascending/descending fix first before starting the whole account creation loop.I'm not sure if that's available in the Standard version of uBot though.Maybe the staff can answer that question. Quote Link to post Share on other sites
byrne1916 0 Posted August 3, 2011 Author Report Share Posted August 3, 2011 I'm actually using the developer version... I just updated my forum profile there, got it awhile back.I've added in the ascending/descending command but perhaps in the wrong place. I've put into set, list position #0, ascending/descending (ive tried both out of interest) I'm most likely putting that in the wrong place so I'll have another go... I feel the rust falling offme, I haven't used ubot in ages Quote Link to post Share on other sites
Enigma 78 Posted August 3, 2011 Report Share Posted August 3, 2011 I'm actually using the developer version... I just updated my forum profile there, got it awhile back.I've added in the ascending/descending command but perhaps in the wrong place. I've put into set, list position #0, ascending/descending (ive tried both out of interest) I'm most likely putting that in the wrong place so I'll have another go... I feel the rust falling offme, I haven't used ubot in ages See my bot attached.Index Images Example Enigma.ubot Quote Link to post Share on other sites
byrne1916 0 Posted August 3, 2011 Author Report Share Posted August 3, 2011 jesus man... very nice of you to make me up an example... I'm just goin out for a drink coming back and gona edit yourway in. I noticed difference between our 2 scripts -you use special folders where I dontand I use the set commandyou also lose list total. I'll have an experiment in a little bit and tell you how it goes! Cheers again Enigma,Gilesy Quote Link to post Share on other sites
Enigma 78 Posted August 3, 2011 Report Share Posted August 3, 2011 jesus man... very nice of you to make me up an example... I'm just goin out for a drink coming back and gona edit yourway in. I noticed difference between our 2 scripts -you use special folders where I dontand I use the set commandyou also lose list total. I'll have an experiment in a little bit and tell you how it goes! Cheers again Enigma,Gilesy The $special folder is just the default Windows system, so you can run that bot on any Windows computer, it will detect the default system folders.You can change that to whatever folder you want, or even a variable!So you can make a UI Save File and name that #save.Then you can select a .txt file yourself manually everytime.I just made a quick example but you can make it even more advanced. I don't understand what you mean with "you also lose list total". Quote Link to post Share on other sites
byrne1916 0 Posted August 4, 2011 Author Report Share Posted August 4, 2011 sorry I meant to type "use" instead of lose... must be going to dyslexic! I changed you script slightly and ran it and it runs really good and clean BUTit won't go up in ones? It goes 1, 10, 11, 12, 13, 14, 15 It skips 2-9 ? Now I don't mind renaming the files and just running this but it's damn strange,I checked all the files and tried to figure out how it could be bringing them upin that order like making sure they were all jpeg, I filtered them about by date,I basically looked at how the script could possibly miss these? I'd love to show you's on Teamviewer just for 5 mins... actually you know whatI might make a video instead! I can use the script now but I'd love to better understand why the programme is doingthat... I think i'll hit the hay now and have another look in the morning and maybereview some tutorials, maybe I'm missing something obvious here. Thanks again to all who've put in their input, it's much appreciated by me andI'm not just saying that, it's really nice to be able to brainstorm and talk aboutthings... god knows my girlfriend would be no help to me lol. Gilesy Quote Link to post Share on other sites
Eddie Waller 158 Posted August 4, 2011 Report Share Posted August 4, 2011 sorry I meant to type "use" instead of lose... must be going to dyslexic!I changed you script slightly and ran it and it runs really good and clean BUTit won't go up in ones?It goes 1, 10, 11, 12, 13, 14, 15It skips 2-9 ?Now I don't mind renaming the files and just running this but it's damn strange,I checked all the files and tried to figure out how it could be bringing them upin that order like making sure they were all jpeg, I filtered them about by date,I basically looked at how the script could possibly miss these?I'd love to show you's on Teamviewer just for 5 mins... actually you know whatI might make a video instead! I can use the script now but I'd love to better understand why the programme is doingthat... I think i'll hit the hay now and have another look in the morning and maybereview some tutorials, maybe I'm missing something obvious here.Thanks again to all who've put in their input, it's much appreciated by me andI'm not just saying that, it's really nice to be able to brainstorm and talk aboutthings... god knows my girlfriend would be no help to me lol.Gilesy Hey, to clear this up, when ordering things it orders them alphabetically, not numerically, that is why 10 comes before 2. So the order it will probably go in is: 1, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 2, 20, 21, 22, etc… The common fix for this is to rename the files named 1 to 01, since it will then go: 01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, etc… Hope that helps clear that up Quote Link to post Share on other sites
byrne1916 0 Posted August 4, 2011 Author Report Share Posted August 4, 2011 Thank you very much eddie That fix you provided works 110% now.... cheers! 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.