|
Managing User Profiles |
User Profiles are used to store and retrieve configuration options. These options are set using the Alchemy Experts or General Options dialog box.
You can save User Profiles containing your configuration options and later use these options by loading these Profiles using ezScript. This mechanism is used throughout ezScript to configure commands such a Create Glossary, Leverage Translations, Validate Files etc.
The Experts can be configured to run on a specific set of Object Types e.g. Dialogs, Menus and String Tables only for the Validate Expert. To achieve this, run the Expert in the UI with the required object types set. Once complete, save the user profile. In your batch command load that profile to achieve the same result as in the UI.
Catalyst /C INIFName [/LOAD|/SAVE|/CLEAN] [ezLogFile:ezLogFile] [/write] [/open]
/C |
Load/Save User Profile |
INIFName |
Filename of User Profile configuration file. |
[/LOAD|/SAVE|/CLEAN] |
Use /SAVE to save current configuration options into a User Profile. Use /LOAD to load a User Profile and use it options in all future ezScript Commands. Use /CLEAN to reload the Catalyst registry with an ezParse 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. |
/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 loads the User Profile C:\French\BuildOpts.ini.
Catalyst /C C:\French\BuildOpts.ini /LOAD
This example saves all configuration options from the Alchemy CATALYST registry key into the User Profile C:\Temp\Profile.ini.
Catalyst /C C:\Temp\Profile.ini /SAVE
This example with reload a clean registry with the default Catalyst ezParse rules contained in the file "ezParseRules.ezp" in the Public folder. Once complete the batch log file will open within MS Notepad.
Catalyst /C "C:\Users\Public\Alchemy Software\Catalyst 12.0\ezParseRules.ezp" /LOAD /CLEAN /open