Exports a glossary to many different output formats from a TTK or from a group of TTKs within a given folder.

Syntax

Catalyst /G [TTKName:Filename] [GlossName:GlossaryName] [/Individual] [/P] [ezLogFile:ezLogFile] [/write] [/open]

or

Catalyst /G FromFolder:Path GlossName:GlossaryName [/S] [ezLogFile:ezLogFile] [/write] [/open]

or

Catalyst /G [TTKName:Filename] [XLIFFName::Filename] [/Individual] [/P]

or

Catalyst /G [TTKName:Filename] [TMXName:Filename] [/Individual] [/P]

or

Catalyst /G [TTKName:Filename] [TBXName:Filename] [/Individual] [/P]

or

Catalyst /G [TTKName:Filename] [TXMLName:Filename] [/Individual] [/P]

or

Catalyst /G [TTKName:Filename] [TXLFName:Filename] [/Individual] [/P]

or

Catalyst /G [TTKName:Filename] [XLIFFName:Filename] XLIFFVERSION   [/Individual] [/P]

 

Parameters


/G

Create Glossary

TTKName:Filename

Tag used to specify the filename of a TTK.

GlossName:GlossaryName

Tag used to specify the filename of a glossary file.

 

Note: If this parameter is not specified, the glossary file will inherit the filename of TTKName with a .TXT extension.

 

Note: If this file exists, new terms will be added to it automatically.

FromFolder:Path

Tag used to specify the path to a directory.

XLIFFName:Filename

Tag used to create an XLIFF glossary export from a TTK.

TMXName:Filename

Tag used to create a TMX glossary export from a TTK.

TBXName:Filename

Tag used to create a TBX glossary export from a TTK.

TXMLName:Filename

Tag used to create a GlobalLink TXML glossary export from a TTK.

TXLFName:Filename

Tag used to create a GlobalLink TXLF glossary export from a TTK. This output is based on an XLIFF file structure.

XLIFFName:Filename

Export to XLIFF format from a TTK. Default version is 1.2.

XLIFFVERSION

Use this switch to export to version XLIFF 2.0 format.

It expects a number as an argument, like XLIFFVERSION:2 or XLIFFVERSION:"2.0". If the value is absent or less than 2, it will default to XLIFF 1.2

/S

Recursively scan all directories within FromFolder and extract glossaries from every TTK located.

/Individual

Extract individual glossary files for each file in the TTK.

/P

Used in conjunction with /Individual. This will extract glossary files maintaining the folder structure of the TTK.

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.

Examples

Catalyst /G TTKName:C:\English\TTKFile.ttk

Catalyst /G TTKName:QuattroPro.ttk GlossName:Spreadsheet.txt

Catalyst /G FromFolder:"C:\English\" GlossName:"C:\English\MyGlossary.txt" /S

Catalyst /G TTKName:"C:\English\" TMXName:"C:\English\TMXGlossary.tmx"

Catalyst /G TTKName:"C:\English\TTKFile.ttk" TXLFName:"C:\Output\Projects" /Individual /P

Catalyst /G TTKName:"C:\InProgress\ProjectA1.ttk" XLIFFName:"C:\Exports\ezScript\ProjectA1.xlf" XLIFFVERSION:2 /open