Extracting data from files

uiautomation

#1

I have a folder with over 100 text files and I have to extract a name (From) and date (Sent) and store it in a file where I can read as a table.

I have the extraction process working, but I cannot manage the final step of saving what I extract into another file.

I’m attaching the xaml file I have so far

Can someone give me an idea on how to finalize the last step.

ThanksMain.xaml (17.5 KB)


#2

hi @selrac,

Create a DataTable with two columns.
before ‘Write CSV’ activity use ‘Add data row’ activity
use write CSV at the end of for-each loop

Main (3).xaml (22.1 KB)

Regards,
Viaks Reddy


#3

Thanks Viaks, it worked!!