|
Set/Reset TTK Properties |
Use this command to specify change details within an existing TTK i.e. the Project Title, TTK Languages or to apply keywords to a TTK.
Catalyst /P TTKName:TTKName NewTitle:Title [SourceLang:Language] [TargetLang:Language] [keywords:keywordsfile] [ezLogFile:ezLogFile] [/write] [/open]
or
Catalyst /P TTKName:FName SourceLang:Lang_code [TargetLang:Lang_code] [ezLogFile:ezLogFile] [/write] [/open]
or
Catalyst /P TTKName:FName keywords:keywordsfile [ezLogFile:ezLogFile] [/write] [/open]
or
Catalyst /P TTKName:FName [prevent_unlock:true] [prevent_mt:true] [prevent_password:password]
/P |
Set/Reset TTK Properties |
TTKName:TTKName |
Filename of TTK |
NewTitle:Title |
New Project Title of a TTK |
SourceLang:Language |
Tag used to specify the source language in the specified TTK. See section on Language Codes. |
TargetLang:Language |
Tag used to specify the target language in the specified TTK. See section on Language Codes. |
keywords:keywordsfile |
Tag used to allow the application of keywords on a previously created TTK file. |
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. |
prevent_unlock:true |
Enables/disables the TTK Protected Property value for Prevent modifying locked status. Acceptable parameters are true, yes, T. |
prevent_mt:true |
Enables/disables the TTK Protected Property value for Prevent Machine Translation. Acceptable parameters are true, yes, T. |
prevent_password:password |
Sets the password to prohibit changes to the TTK Protected Properties. If the password supplied doesn't match the TTK password the unlock and MT properties cannot be modified. |
/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. |
This example renames the Project Title in the TTK C:\Nirvana\Master.ttk to "Thunderbolt Main TransKit".
Catalyst /P TTKName:C:\Nirvana\master.ttk NewTitle:"Thunderbolt Main TransKit"
This example demonstrates how to change the project language within an existing TTK. This option is necessary when changing target languages within a multilingual file which contains multilingual dlls or exes files. Note: The languages need to be changed within the TTK to leverage from as well as the TTK to leverage into.
Catalyst /P TTKName:C:\Nirvana\master.ttk SourceLang:"French (France)" TargetLang:"German (Germany)"
This syntax demonstrates how to apply keywords to an existing TTK.
Catalyst /P TTKName:"C:\My Projects\Project.ttk" keywords:"C:\Settings\Keywords Files\Keywords1.txt"
The TTK names "test.ttk" cannot be used with Machine Translation in the following example.
Catalyst /P TTKName:"D:\test.ttk" prevent_unlock:false prevent_mt:yes prevent_password:topsecret