###################################################################### # # Common Desktop Environment (CDE) # # Action and DataType Definition File # # Generated by the CreateAction tool # # $Revision: 1.0 # # $KEY: 5326 # ###################################################################### # # WARNING: # # This file was generated by the CDE CreateAction tool. # If this file is modified by some other tool, such as vi, # the CreateAction tool will no longer be able to load and # update this file. For this reason, changes to this file # should be handled through CreateAction whenever possible. # ###################################################################### # ACTION Information Center ACTION infocenter { LABEL Information Center (Internet) TYPE COMMAND EXEC_STRING /usr/bin/sh -c '\ PROFILE_PATH="/usr/lpp/bosinst/bos.vendor.profile"; \ if [ -f "\$PROFILE_PATH" ]; then \ . \$PROFILE_PATH; \ fi; \ if [ -n "\$INFORMATION_CENTER_URL" ]; then \ /usr/bin/defaultbrowser \$INFORMATION_CENTER_URL new-window; \ case \$? in \ 1) /usr/dt/bin/dterror.ds "Browser could not be launched.\\n\\nNo default browser is specified in the DEFAULT_BROWSER environment variable\\nin the system profile or user profile files.\\n" "Information" "OK"; \ ;; \ 2) /usr/dt/bin/dterror.ds "Cannot launch the default browser.\\n\\nThe launch command specified for the DEFAULT_BROWSER environment\\nvariable does not work. This variable is stored in the /etc/environment file\\nor the .profile file in your home directory. The command might have been entered\\nincorrectly, or the command might not be in the system search path.\\n\\nYou can use the system environment function in the system administration\\ntools to edit the DEFAULT_BROWSER environment variable.\\n\\nIf that variable is set correctly, then make sure that the browser is\\ninstalled and that the browser program can be found in your system search path.\\nThe system search path is stored on the PATH line of the /etc/environment\\nfile or the .profile file in your home directory.\\n" "Information" "OK"; \ ;; \ esac \ else \ /usr/dt/bin/dterror.ds "No Information Center URL found.\\n\\nThe /usr/lpp/bosinst/bos.vendor.profile file might contain information about the \\nvendor of this system. The INFORMATION_CENTER_URL field allows\\na URL for an Information Center to be specified.\\nEither this field was blank or the /usr/lpp/bosinst/bos.vendor.profile file could not be found.\\n" "Information" "OK"; \ fi' ICON infocenter WINDOW_TYPE NO_STDIO }