By default Tekla Structures macro output is displayed in the terminal window. Set this advanced option to a file name to save this output to a file.
This advanced option is user specific and the setting is saved in options.bin under user folder. Restart Tekla Structures to activate the new value.