EasyManuals Logo

HP Guardian User Manual

HP Guardian
460 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #78 background imageLoading...
Page #78 background image
Defining Function Keys and Writing Macros
Guardian User’s Guide—425266-001
5-2
Defining and Using Your Function Keys
Defining and Using Your Function Keys
There are 32 function keys you can define for your use:
•
Function keys F1 through F16
•
Shifted keys SF1 through SF16 (hold down the shift key while pressing a function
key F1 through F16)
F16 is predefined as the TACL HELP key, but you can redefine it using the #HELPKEY
built-in variable, as described in the TACL Reference Manual.
You can create two types of function-key definitions:
Creating a Library File for Your Function Keys
To define your function keys, you create a library file that contains the function-key
definitions. Your library file is an EDIT file (file code 101). Create this file in your
saved default subvolume, using a text editor such as TEDIT. Give the file a descriptive
name such as MYKEYS.
For each function key you want to define, enter:
?SECTION
TACL directive that indicates the beginning of a definition.
function-key
Name of the function key you are defining. Unshifted function keys (F1 through
F16) or shifted function keys (SF1 through SF16).
type
Type of definition: ALIAS or MACRO. Other types of function-key definitions are
described in the TACL Reference Manual.
command
TACL command that you want this function key to execute.
Type Description Example
Alias Defines a function key as a name
for a TACL command or
application.
Define the F1 key as an alias for the FILES
command; when you press F1, the TACL
program executes this command.
Macro Defines a function key to invoke
one or more TACL commands or
run an application.
To specify arguments for a macro, enter them
on the TACL command line before you press
the function key.
?SECTION function-key type
command
[ command ]...

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP Guardian and is the answer not in the manual?

HP Guardian Specifications

General IconGeneral
BrandHP
ModelGuardian
CategorySoftware
LanguageEnglish

Related product manuals