Please enable JavaScript to view this site.

PrimalScript - Help Manual

This topic explains how to work with TempPoint files.

As soon as you edit a script file, PrimalScript saves the original (unedited) version of the script in a hidden TempPoint file. By default, PrimalScript saves the TempPoint file until you close PrimalScript or reopen the file, but you can change the defaults to prevent PrimalScript from saving or deleting TempPoint files.

To restore the current file to its original state

Click Tools > in the Restore points section, click Rewind:

To use the TempPoint file without changing the current file

1.In Windows > Folder Options > on the View tab > in Hidden Files and Folders, check Show hidden files, folders, and drives.

2.In File Explorer > copy and rename the TempPoint file and turn off the hidden attribute.

 You can also do this programmatically. For example, in Windows PowerShell:

Get-ChildItem <file> -Hidden | Copy-Item -Destination <file> -PassThru | ForEach {attrib $_.Fullname -h}

To prevent PrimalScript from creating TempPoint files

Click File > Options > Environment > Backup > and uncheck Create a restore point as soon as a file is modified.

To prevent PrimalScript from deleting TempPoint files

Click File > Options > Environment > Backup > and uncheck Remove restore points when application closes.

 

See also:

Infinite Undo™

Restore Points

Getting Help

 

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