|
Change Dialog Font |
Changes the Font for each Win32s Dialog box in a TTK.
Catalyst /F TTKName AppFname [FontName:FontName] FontSize [ezLogFile:ezLogFile] [/write] [/open]
or
Catalyst /F TTKName /All [FontName:FontName] FontSize [ezLogFile:ezLogFile] [/write][/open]
/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. |
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.
Catalyst cannot change the font information for a dialog if that dialog title is locked.
This example will set the font for all Dialogs objects within CiscoApp.exe to MS Sans Serif with a font size of 14 points.
Catalyst /F File.ttk CiscoApp.exe FontName:"MS Sans Serif" 14
This example will set the font for all dialogs objects found with the TTK file C:\FR_ACME_FC2.ttk to Segoe UI with a font size of 9 points.
Catalyst /F TTKName:"C:\FR_ACME_FC2.ttk" /All FontName:"Segoe UI" 9