Natureboy 3 Posted January 26, 2010 Report Share Posted January 26, 2010 i thought i was outta of the woods when it came to working with lists after studying the tutorials and experimenting but i have come across a situation that i cant figure out...i want to build a comprehensive list and i never want the info erased...so lets say i run an instance of ubot and scrape a word...add it to list...then close that bot...then the next time i run that bot...it adds to that list again...i already didnt include a clear list command but everytime it runs again it deletes my list and starts it over. Quote Link to post Share on other sites
greencat 18 Posted January 26, 2010 Report Share Posted January 26, 2010 i thought i was outta of the woods when it came to working with lists after studying the tutorials and experimenting but i have come across a situation that i cant figure out...i want to build a comprehensive list and i never want the info erased...so lets say i run an instance of ubot and scrape a word...add it to list...then close that bot...then the next time i run that bot...it adds to that list again...i already didnt include a clear list command but everytime it runs again it deletes my list and starts it over. I think you could do this - but only by having an external file. So you would add to list and save to file while running the bot - and then open the file and pull the list out next time the bot was run. Lots of applications have these kind of config files - Ubot itself has them (license.txt which is stored in My Documents/ubot). Quote Link to post Share on other sites
webautomationlab 21 Posted January 26, 2010 Report Share Posted January 26, 2010 Could use a checkbox to set "use config file" which would import the existing list, which would then be added to, and will overwrite the old list. Quote Link to post Share on other sites
Natureboy 3 Posted January 26, 2010 Author Report Share Posted January 26, 2010 so pretty much ur saying...import the old list first then send every thing back out together...sweet...i like it. Quote Link to post Share on other sites
bluegoat 24 Posted January 27, 2010 Report Share Posted January 27, 2010 Check out this thread, I think it's what your after.http://ubotstudio.com/forum/index.php?/topic/2387-adding-to-a-csv-without-overwriting/page__view__findpost__p__6240 Quote Link to post Share on other sites
Natureboy 3 Posted January 28, 2010 Author Report Share Posted January 28, 2010 i never even saw that newline command...but i figured out a workaround...as suggested above...i import the full list...add it to list with the additional info and then save this new list to file...now i wanna know how to import a list...nav to the list item...if it doesnt meet what ever requirements...delete it from list and then save the revised list (to be honest...i havent really tried to put much effort into the process...have been dealing with other issues) 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.