For example assume the text bellow is saved to the example.txt file in the Zeus install directory:
Code: Select all
/******************************************************************
$CompanyName - $Copyright
Author: $UserName
Date: $Date
Time: $Time
PTCS Details: @format.new-line $NewLine
              @format.use-tabs $UseTabs
              @format.tab-size $TabSize
              @format.indent-size $IndentSize
*****************************************************************/
Now selecting the File New menu will be produce the following text output:
Code: Select all
 /******************************************************************
 - 
Author: 
Date: 13/06/2006
Time: 09:44:11
PTCS Details: @format.new-line crlf
              @format.use-tabs false
              @format.tab-size 4
              @format.indent-size 0
*****************************************************************/In the example above the template file was added to the default document type but it could just have easily been added to a specific document type.
The difference is when the template file is added to the Default Document Type then the template file will get run for all requests for a new file, where as if the file is added to a specific document type, the template is only run when a new file of that document type is requested.
