Set Project Title added to Create TTK command /M
The /M parameter to create TTK files is the backbone of ezScript automation. With just one command needed to create a TTK project, set the source and target languages and insert localisable files. But you always needed to run another command in order to change the project title!
No longer. The NewTitle: switch has been added to set the project title without the need to run a subsequent /P command.
Example:
Catalyst /M John TTKName:"C:\English\TTKFile.ttk" FromFolder:"C:\AllFiles" /S /A NewTitle:"Project B - French" SourceLang:"English (Ireland)" TargetLang:"German (Germany)"
Align or Extract based on file types
Using the same principal as described in the "Insert by File extensions" section above, Aligning and Extracting will also adhere to the masks defined in the FileTypes: switch.
Example:
Aligns only .flprj files found in the "En" and "Pl" folders into the En-Pl-Alignment.ttk
Catalyst /T cyrilv "C:\Project\Files\En" "C:\Project\Files\Pl" C:\Project\En-Pl-Alignment.ttk FileTypes:"*.flprj" Sourcelang:"English (Ireland)" Targetlang:"Polish (Poland)" /A
Extract only files with extension .dll, .rc and .json from the MixedFileTypes.ttk project
Catalyst /E "C:\Samples\MixedFileTypes.ttk" "C:\Samples\Extracted" Filetypes:"*.dll,*.rc,*.json" /P
Select encoding on extracting text based files
A new switch has been added to the extract command /E to reflect the new ability to set the encoding added to Catalyst's text file handling. Using the switch TextFileEncoding: choose an encoding between ANSI, UTF16, UTF16BE, UTF8 or UTF8_NO_BOM. Furthermore used in conjonction with Filename: you may extract one specific file with the desired encoding.
Example:
Extracts all text based files in MixedFileTypes.ttk with the encoding of UTF8 without BOM.
Catalyst /E "C:\Samples\MixedFileTypes.ttk" "C:\Samples\Extracted" TextFileEncoding:"UTF8_NO_BOM" /P
Extract only the file Idbasedfiles.properties from SWProject.ttk setting the encoding to Unicode big endian
Catalyst /E "d:\Project\SWProject.ttk" "d:\Project\Extract" Filename:"Idbasedfiles.properties" /P /S ezlogfile:"d:\Project\Batchlog.txt" Textfileencoding:UTF16BE /write
Output list of files contained in TTK project
A completely new ezScript command /GetFileNames is used to output a list of all file names which are contained within a TTK file to a text file. The option to have the path within the TTK project is available with the /Verbose switch.
Example:
Catalyst /GetFileNames TTKName:"C:\Project\Project1.ttk" OutputFile:"C:\Project\TTKfilenames.txt" /Verbose
Specify a Digital Signature file while extracting .NET assemblies
Use the SNKFile: switch to specify the path for the digital signature key file to be used to fully sign the .NET language assembly files while extracting them.
Example:
Catalyst /E "C:\Samples\DotNETProject.ttk" "C:\Samples\Extracted" SNKFile:"C:\Samples\Signing\Key.snk" /P
Include language file resources while inserting .NET assemblies
When inserting folders which contain .NET files, you can now specify if you want to also include the language file resources using the /.Netlangfiles switch.
Layout Manager settings included in User Profile
The Layout Manager settings are now written to the User Profile .ini file. This part is done in the interface. The settings are now availabe in ezScript when loading the User Profile with the /C command.
|