To Localize an Existing Action
Create a file in the appropriate language-dependent directory (for example, in /etc/dt/appconfig/types/japanese) .
Copy the action definition to the language-dependent configuration file.
For example, you might copy an action definition from
app_root/dt/appconfig/types/C/file.dt
to
app_root/dt/appconfig/types/japanese/newfile.dt
Add a LABEL field or modify the existing LABEL field.
LABEL string
Application Manager and File Manager use the label string to identify the action's icon.
Localize any of the following fields in the action definition:
For localized icons: ICON
For localized On Item help: DESCRIPTION
For localized prompts: any quoted text in the EXEC_STRING
Creating Actions for ToolTalk Applications
Note - The following information applies only to applications that support ToolTalk messaging.
Use the action type TT_MSG to create an action that sends a ToolTalk message.
ACTION action_name { TYPE TT_MSG ... } |
addressing and disposition Fields
The ToolTalk addressing field is always set to TT_PROCEDURE.
The ToolTalk disposition field defaults to the specification in the static message pattern.
Unsupported Messages
The following are not supported by TT_MSG-type actions:
ToolTalk object-oriented messages
Context arguments in messages
Keywords for TT_MSG Actions
Table 12-3shows the keyword and usage for TT_MSG actions.
Table 12-3 TT_MSG Action Keywords and Usage
Keyword | Use |
---|---|
TT_CLASS | Defines the value of the ToolTalk class message field |
TT_SCOPE | Defines the value of the ToolTalk scope message field |
TT_OPERATION | Defines the value of the ToolTalk operation message field |
TT_FILE | Defines the value of the ToolTalk file message field |
TT_ARGn_MODE | Defines the value of the ToolTalk mode attribute for the nth message argument |
TT_ARGn_VTYPE | Defines the value of the ToolTalk vtype attribute of the nth message argument |
TT_ARGn_VALUE | Defines the value of the nth message argument |