Formatting a scripts output to the console

Is there a way to format the output generated by a script in the console window? Specifically I am analyzing the vinetting of a flat image by selecting the corners and center of an image and using stat for each region and the output is not as neat and tidy as I would like.

The workaround I am using is to run the script and send the output to a log file, then run a separate Python script to reformat the result.

Thanks for your help,

John

Hi,

no, there’s no mechanism to change the output formatting of a command.
Note however than in the upcoming 1.4 release, there will be a python API that can send commands and gets its results via python structures. So probably worth the wait if you don’t want to parse stat output yourself.

Cheers,

Cecile