*RegisterFunctionKeyProcedure()
Assigns Tcl procedures to function keys.
Syntax
*RegisterFunctionKeyProcedure (key, modifier, Tcl filename, Tcl procedure)
Application
HyperView, MotionView, HyperGraph
Inputs
- key
 - The function key to be assigned to the Tcl procedure. Accepts an integer from 1 to 12.
 - modifier
 - The modifier (Shift, Ctrl, Ctrl+Shift) to be used with the function key.
            Accepts an integer from 0 to 3.
- 0
 - No modifier
 - 1
 - shift
 - 2
 - ctrl
 - 3
 - Ctrl+Shift
 
 - Tcl filename
 - The full path to the Tcl file that contains the procedure.
 - Tcl procedure
 - The name of the procedure to call when the modifier and function key are pressed. Arguments for the Tcl procedure may also be included.
 
Context
*BeginDefaults() Block
Example
*Id("MotionView v8.0")
   *BeginDefaults()
   *RegisterFunctionKeyProcedure(2,1,"C:\function_keys.tcl", "change_layout 1")
*EndDefaults()Comments
The F1 launches the online help. F10, Shift+F10, Ctrl+F10, and Ctrl+Shift+F10 are used by the operating system as an Alt key for keyboards that do no have Alt keys.