How can I write the output of a DPL script to a file?
You can redirect the output window to a file. The attached project contains a script within the scripts folder of it's library called 'WriteResults'. This script redirects the output window, writes reports and then cancels the redirection again.
The script also exports all graphics of the active study case to WMF-files. This is done with the WriteWMF() command.