Divide Project splits the content of a TTK into sub-projects using the options defined in the User Profile.

The number of sub-projects and the method of dividing the wordcount is specified in the user profile. If you wish to set these values in your script, use the /C command to load a profile.

Syntax

Catalyst /DIVIDE UserName TTKName:TTKName TARGETFOLDER:TargetFolder [ezLogFile:ezLogFile] [/write] [/open]

or

Catalyst /MERGE UserName TTKName:TTKName MERGEFROM:MergeFromTTK [ezLogFile:ezLogFile] [/write] [/open]

Parameters

/DIVIDE

Divide the specified TTK

TARGETFOLDER

This is the folder where the created sub-projects will be saved.

 

UserName

The name that will appear in the history list in the TTK.

TTKName

TTK filename and path.

ezLogFile:ezLogFile

The user can optionally specify a log file to which results of each Catalyst ezScript command are output.

If the log file is not specified by the user or is invalid, the default log file (ezScriptBatchLog.txt in the Public location) is used.

/write

The command line which has been processed by Catalyst will be written into the ezScript batch log file.

This will help to debug your command if something is not behaving as expected.

/open

Launches MS Notepad and displays the content of ezScript batch log when the command finishes.

 

/MERGE

Merge the specified TTK

MERGEFROM

The TTK specified here will be merged back into the master project specified in TTKNAME.

Examples

Catalyst /DIVIDE "%USERNAME%" TTKName:"C:\FR_ACME_FC2.ttk" TARGETFOLDER:"C:\ProjectDivision\"

Catalyst /MERGE "%USERNAME%" TTKName:"C:\FR_ACME_FC2.ttk" MERGEFROM:"C:\ProjectMerge\FR_ACME_FC2 Part 1 of 3.ttk"

Catalyst /MERGE "%USERNAME%" TTKName:"C:\FR_ACME_FC2.ttk" MERGEFROM:"C:\ProjectMerge\FR_ACME_FC2 Part 2 of 3.ttk"

Catalyst /MERGE "%USERNAME%" TTKName:"C:\FR_ACME_FC2.ttk" MERGEFROM:"C:\ProjectMerge\FR_ACME_FC2 Part 3 of 3.ttk"