Jump to content
UBot Underground

Can uBot create text files from list?


Recommended Posts

Is uBot capable of creating text files? I would like to scrape some names into a list, and then create text files based on each name in that list. So after scraping the names it would then loop through and spit out Name1.txt, Name2.txt, Name3.txt, etc...

 

Or do the text files have to already exist before uBot can do anything to/with them?

 

Hope this makes sense.

 

EDIT: Sorry, looks like I posted this in haste before actually trying to find a solution. I ended up figuring it out and in case anyone was curious this is how I did it.

 

Using the Save to file command I just entered the directory I wanted to save to and added $nextlistitem as a subparameter. Basically it looked like C:\whatever\directory\chosen\{1}.txt. {1) = the list item, and it just looped through using each list item as a filename. Since these files didn't exist they were created for me. Problem solved.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...