Changes the Font for each Win32s Dialog box in a TTK.

Syntax

Catalyst /F TTKName AppFname [FontName:FontName] FontSize [ezLogFile:ezLogFile] [/write] [/open]

or

Catalyst /F TTKName /All [FontName:FontName] FontSize [ezLogFile:ezLogFile] [/write][/open]

Parameters

/F

Change Dialog Font

TTKName

Tag used to specify the filename of a TTK.

AppFname

Application Name of file whose Win32s Dialog boxes are to be modified

/All

The /All switch saves the user listing all the names of the individual DLL/EXE files to change and applies the font changes to all the Win32 resources found within the specified TTK file.

FontName:FontName

Tag to specify the name of the font to use. The FontName must comply with the Microsoft font naming convention.

FontSize

Size of the Font in Points.

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.

Notes

  1. Font information needs to exist in the original dialog before Catalyst can change it.
    If this information is missing, it needs to be set during development of the User Interface by the developer.

  2. Catalyst cannot change the font information for a dialog if that dialog title is locked.

Examples

Catalyst /F File.ttk CiscoApp.exe FontName:"MS Sans Serif" 14

Catalyst /F TTKName:"C:\FR_ACME_FC2.ttk" /All FontName:"Segoe UI" 9