@GaG Thank you for your help. Till now i found my way to manage easy csv tasks , since csv files are just text with comma for change column, and new lines for change row i can deal this on BAS by creating lists from "Read File to List" and then i can break each list item from "Parse string" with comma as separator. Then i use "Write File" for saving and i can live visualize the edited results on the csv file with a program called "Modern CSV". Thing is that on more advanced scripts i have big CSV files with a lots of rows and columns , sometimes i must to constant return to BAS the index position of partial value search terms on those files. I have found also an alternative way to manage by creating and executing a bat file with call for python for converting csv to xlsx and then i may use "module Excel" that haves all the actions im looking for, but Im wondering why BAS haves those actions only for xslx files, why not for csv also? Anyways till now im very satisfied to BAS but i might need more help in the future on this matter.
foreach mix file
-
@Fox @m4zuper Given the impossibility (at least so far) of picking a random file in a subfolder with Resource, I managed to achieve this result with: File search - foreach, but the problem is that it always takes the 1st photo. Is there a way to make this random, i.e., a mix line? I thought about using create list, but I would have to set up countless foreach loops. Another question: how can I delete the file once it’s been used?

-
You could create a function to read all to a lis; -> roll a random number between MIN 0 & MAX (length list) -> get details by index, read that certain file. Also delete that certain file using Filesystems functions?
-
A. Pick random folder;
B. Read files to list
C. Roll random number between 1 and list length
D. Get image by index from random number -
@Huntenkill
Thank you for your help, but I don’t know how many files there are; it could be 1 file or 50 files, so I couldn’t even use a random number 1-3 -
Can you PM me with a small sample of how you've got it setup?
The folder structure that is.&&
If you would do a random selection yourself: what would the result be if you selected something from the 'sample'.
I think it's easily achieveable with File Search -> Ele numb -> rand num -> get element from list -> File search (1 tree lower from random File search -> Ele numb -> rand num -> get element
-Root
-random subdir
-random image from the selected subdir -
@Huntenkill yes thankyou for you help i send you now
-
@Huntenkill You’re the best, it works perfectly!!!