How to export template results in batches?

Will add a new function or script for this in the future?
It will be useful when analyzing multiple files

This is an interesting idea. I’d love a way to export formatted template results, without having to add lots of printf() statements to the template, especially if the template could do this itself “programatically”.

However, this opens the question of how to control formatting of the exported results.

Perhaps the contemplated API for 010 Editor, should it come to fruition, could play a role in template results export.

There are two functions currently for exporting the template results: ‘ExportCSV’ and ‘ExportXML’. To export as a batch operation there are a few different ways. You could use the ‘FileSelect’ function to iterate through all open files or you could read a text file with one file per line. I believe there are some examples in the Script repository on doing this but we can provide you with an example if you need one. Cheers!

Graeme
SweetScape Software

Ah! I forgot about ExportCSV and ExportXML–probably because my curiousity about exporting has so far greatly exceeded my actual need to do so.Otherwise, I’d have tried one or both and might have remembered them.

I’m not well educated at all about using XML data, but I know there are many tools to massage it in various ways, to generate text from it, to do SQL-like queries, etc.

And at this late stage of my career, I’m not likely to dive into that until:

  1. More of my time is my own (i.e., post-retirement), and,
  2. My degree of interest/curiosity reaches some sort of “critical mass”.

Thanks!