Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP Visual User Environment 3.0 User's Guide > Chapter 19 Introduction to Actions and Filetypes

General Reference: Actions and Filetypes

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Glossary

 » Index

These general topics apply to actions and filetypes:

  • How the local database search path is determined and changed.

  • Using string variables in definitions.

  • Using environment variables in definitions.

See Also. 

Changing the local database search path

The default search path for action and filetype definitions includes these directories, listed in the search order:

   HomeDirectory/.vue/types/language

   HomeDirectory/.vue/types

   /usr/local/lib/X11/vue/types@local_apps

   /usr/lib/X11/vue/types@system_apps

   /etc/vue/config/types/language	/etc/vue/config/types	/usr/vue/types/language

   /usr/vue/types

The linked directories (local_apps and system_apps) on the search path are needed to find HP VUE 2.01 definitions.

To add a directory to the search path, set a value for the VUEACTIONSEARCHPATH environment variable in /etc/vue/config/Xsession (system-wide) or /HomeDirectory/.vueprofile (personal). The order of directories in the variable's value corresponds to the search order. Make sure you include all the default search path directories in the value.

See Also. 

String variables in definitions

  • Define the string variable in the file using that variable. Use the syntax:

       set  variable_name=value
    

  • Reference the string variable using the syntax:

       $ [{]variable_name[}]
    

The variable definition remains in effect from the location of the definition to the end of the file. (There are no global string variables for the database.)

Variable names can contain any alphanumeric characters and underscore (_). Each variable definition must be on a separate line.

Example. 

   set Remote_Application_Server=hpapp

   set Remote_File_Server=hpdata

   .

   .

   .

   EXEC-HOST $Remote_Applicaton_Server

   CWD       $Remote_File_Server:/doc/project

Environment variables in definitions

  • Reference the variable using the syntax: $variable.

The variable is expanded (replaced by its value) when the database is loaded. If a string variable and environment variable have the same name, the string variable has precedence.

Example.  This execution string prints a file with a banner containing the login name.

   EXEC-STRING lp -t$LOGNAME %(File)Arg_1%

See Also. 

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© © 1989, 1990, 1991, 1992, 1995 Hewlett-Packard Development Company, L.P.