Suppose most of the files you fax are created with Text Editor and are of data type TEXTFILE (files named *.txt).
These steps add a ``Fax'' menu item to the data type's Selected menu.
Open the file HomeDirectory/.dt/types/Fax.dt that was created in the previous example.
Add this map action definition to the file:
ACTION Fax { ARG_TYPE TEXTFILE TYPE MAP MAP_ACTION FaxComposer }
Save the file.
Copy the data attributes definition for TEXTFILE from /usr/dt/appconfig/types/language/dtpad.dt to a new file HomeDirectory/.dt/types/textfile.dt. Add the Fax action to the ACTIONS field.
DATA_ATTRIBUTES TEXTFILE { ACTIONS Open,Print,Fax ICON Dtpenpd … }
Save the file.
Open Application Manager and double-click Reload Actions in the Desktop_Tools application group.