Apply the Frozen status to items in the Project with this ezScript command. The Frozen status gets applied to entire resources or files defined by the resfreeze: parameter of the command.

Frozen items cannot be translated.

 

Syntax

To set the Frozen status to resources in projects:

Catalyst /FREEZE UserName TTKName:"TTKName" resfreeze:"list of resources" [ezLogFile:ezLogFile] [/write] [/open]

or

Catalyst /FREEZE UserName FromFolder:"FolderName" resfreeze:"list of resources" /s [ezLogFile:ezLogFile] [/write] [/open]

or

Catalyst /FREEZE UserName FileListFile:"FileListName" resfreeze:"list of resources" [ezLogFile:ezLogFile] [/write] [/open]

 

To remove the Frozen status to resources in projects, include set:false parameter

Catalyst /FREEZE UserName TTKName:"TTKName" resfreeze:"list of resources" set:false [ezLogFile:ezLogFile] [/write] [/open]

or

Catalyst /FREEZE UserName FromFolder:"FolderName" resfreeze:"list of resources" /s set:false [ezLogFile:ezLogFile] [/write] [/open]

or

Catalyst /FREEZE UserName FileListFile:"FileListName" resfreeze:"list of resources" set:false [ezLogFile:ezLogFile] [/write] [/open]

 

Parameters

/FREEZE

Output the file names within the TTK

TTKName:TTKName

Filename of TTK

FromFolder:FolderName

Tag used to specify the path to a folder in which all TTK files are to get the FREEZE command applied.

Use the /s switch to apply recursively.

FileListFile:FileListName

Text file containing a list of Project TTK files that are to be processed. Each Project file is specified on a single line within quotes.

 

Example:

"C:\Testing\ezScript\LayoutManager.ttk"

"C:\Testing\ezScript\Albatros FR.ttk"

resfreeze:"list of resources"

The following are the resources which can be listed to be Frozen. Each resource listed should be separated by a semi-colon:

 

icon;cursor;stringtable;accelerator;dialog;menu;bitmap;gif;png;doc;version;java class;text;registry;avi;html dialog;html;xml;xliff;form;baml;ribbon;markdown

 

NOTE that 'image' will freeze all image types (.bmp, .png., .gif...) plus cursors and icons.

/s

Recurse all sub-folders.

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 /FREEZE JohnD ttkname:"C:\Testing\ezScript\myproject.ttk" resfreeze:"Dialog;menu" ezLogFile:"C:\Testing\ezScript\freezelog.txt" /open

 

Catalyst /FREEZE AlisonM fromfolder:"C:\Testing\ezScript" resfreeze:"version" /s ezLogFile:"C:\Testing\ezScript\freezelog.txt"

 

Catalyst /FREEZE BarbaraSmyth FileListFile:"C:\testing\ezScript\TTKlist.txt" resfreeze:"dialog;bitmap;version;text" ezLogFile:"C:\Testing\ezScript\freezelog.txt" /open

TTKlist.txt

"C:\Testing\ezScript\LayoutManager.ttk"

"C:\Testing\ezScript\Albatros FR.ttk"

"C:\Blackrope\version1\Memoire.ttk"

"C:\Balckrope\version2\TTK1.ttk"

 

Catalyst /FREEZE AlisonM fromfolder:"C:\Testing\ezScript" resfreeze:"version" /s set:false ezLogFile:"C:\Testing\ezScript\freezelog.txt"