Please enable JavaScript to view this site.

PrimalScript - Help Manual

Navigation: Basic Orientation > Templates

Create Custom User Templates

Scroll Prev Top Next More

You can create a custom template for any supported file type. To simplify the process, edit an existing PrimalScript template. To create different templates for the same language, use different base names and the same file name extension.

For example, you might create a custom template to:

Add custom header information. If you're a contractor who writes scripts for many different companies, create a template for each one.

Include common debugging information

Create sections and standard comments

 

To create a user template

1.Open any script or template:

2.To save the file as a template, click File > Save as template:

3.Choose a name and filename extension for the file. Save the file in the %UserProfile%\AppData\Roaming\SAPIEN\User Templates directory.

 

 Pay special attention to the file name extension. PrimalScript uses the extension to associate the template with a scripting language:

 

To select a user template

1.Click File > New.

User templates appear in the bottom half of the Templates page.

2.Select the user template:

 

See also:

Change the Templates Directory

Template Variables

Getting Help

 

SAPIEN Technologies, Inc. provides administrative tools to support all of your Windows scripting needs.