Skip to main content
Inspiring
May 27, 2011
Answered

Save project as template

  • May 27, 2011
  • 4 replies
  • 768 views

I havent figured out where there is an epxlanation of how to save a project as a template to use to create new projects and import new documents?

i want to save and repliacte the skin, mapping and other settings of the project for use with other projects.

This topic is closed to new replies. Start a new post to keep the conversation going.
Correct answer Willam van Weelden

Hi,

You are probably using Windows Vista/7 with UAC enabled. The script tries to save the project to you install directory, but UAC is preventing that. This doesn't create an error, but when the script tries to open the newly created template, the template is missing and you receive an error.

Try disabling UAC and running the script again.

Greet,

Willam

4 replies

Willam van Weelden
Inspiring
May 30, 2011

RoboHelp 8/9 comes with a script to do this for you. Just run the script SaveAsProjectTemplate and the script saves the current project as a template.

Greet,

Willam

Inspiring
May 31, 2011

I have tried that but i always get this error:

I enter a name for the help template and a description but this error always loads

Line 49 of the script in bold:

RoboHelp.closeProject();
   RoboHelp.openProject(tarPath.concat("\\", projName), false);
   RoboHelp.project.rename("Template.xpj");
   RoboHelp.closeProject();
   RoboHelp.openProject(srcPath.concat("\\", projName));

Willam van Weelden
Willam van WeeldenCorrect answer
Inspiring
May 31, 2011

Hi,

You are probably using Windows Vista/7 with UAC enabled. The script tries to save the project to you install directory, but UAC is preventing that. This doesn't create an error, but when the script tries to open the newly created template, the template is missing and you receive an error.

Try disabling UAC and running the script again.

Greet,

Willam