The menu label associated with an Imagenation command can be changed using a [Command cmd] section in the SRC file.
To change the default menu label:
1. Open the SRC file into a text editor.
2. Type the [Command cmd] section name. Replace the cmd variable with the identifier of the command for which you are changing the text. For a list of identifiers, see Command Identifiers by Menu.
In the [Command cmd] section that you defined:
3. Type the "language label=" keyname.
· Replace the language variable with the required language from the [Languages] section.
· After the equal sign (=), type the name of the command, in quotes. For example:
[Command FILE_OPEN]
English (US) label="Open Imagenation Document" ;File, Open menu label
4. If required, type the "language alternate-label=" keyname.
· Replace the language variable with the required language from the [Languages] section.
· After the equal sign (=), type an alternate name for the command, in quotes, to be used if the command is selected.
5. Repeat steps 2 to 4 for each command that you want to assign new menu labels.
6. Save the SRC file and compile it. (For details, see Compiling a CFG file.)
The menu labels you defined are used when the compiled CFG file is used with Imagenation. As well, you can define menu labels for external commands. For more information about external commands, see Adding new commands with the API.
See also