denrich 4 Posted February 9, 2014 Report Share Posted February 9, 2014 Hi Ubotters, I have been scraping very large files, much too large for ubot to process in one shot from a saved folder, I need a way to loop many files from a folder and process each files from that folder. I know 'Read files' would get the files but not sure the processing of each file would be done. Thanks. Quote Link to post Share on other sites
Edward_2 85 Posted February 10, 2014 Report Share Posted February 10, 2014 People need to spend a little more time on their questions. Quote Link to post Share on other sites
Code Docta (Nick C.) 638 Posted February 10, 2014 Report Share Posted February 10, 2014 I'm thinking you met to say this E2 Use Google to search instead of thforim search and if that didn't do it refine your search alittle. In this case Google is your friend. site:ubotstudio.com loop thru files in a folder Now that said...without me even looking I'm sure your answer is there. but here is away to do it and I would look at the free plugins and get the Filemanagement plugin. try Google search like I said above as practice, if you don't have it already. It's free, there are many free plugins in the BST Now that I have taught you how to fish, here's a fish. set(#get files, $get files($special folder("Desktop"), "Yes"), "Global")clear list(%files from folder)add list to list(%files from folder, $list from text(#get files, $new line), "Delete", "Global")loop($list total(%files from folder)) { set(#next item, $next list item(%files from folder), "Global") wait(2) load html(#next item)}ui stat monitor("Files in folder:", "{$list position(%files from folder)} of {$list total(%files from folder)}") Many ways to that better but it is basic for newbies to understand. Look for the Dictionary plugin as well for large list. Now, go build off that and hit the donate button. jk TC Quote Link to post Share on other sites
dr. dre 23 Posted February 14, 2014 Report Share Posted February 14, 2014 LOL, "hit the donate button", I know you were jus kiddin TC, buts thats hella funny 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.