!bind – Bind a string
Use this console command to bind a string to a function key.
Format
- CTRL
- specifies the control key.
- SHIFT
- specifies the shift key.
- Fnumber
- specifies the function key, where number is a decimal number from 1 to 12.
- string
- is a TPF Operations Server or TPF command, or another console command prefixed with an exclamation point (!).
- +
- specifies that the command is to be processed immediately when you press the function key. If you do not specify the + character, the command string is placed in the command entry area of the graphical user interface (GUI) console when you press the function key.
Additional information
You can also add bind keys
from the following:
- The Key Bindings menu in the console window.
- Session configuration files.
When the key bindings menu option is disabled from a session configuration file, this command is deactivated.
Examples
The following command defines function
key 5 (F5) to process the ZSTAT command immediately.
!bind F5 zstat+The
following command defines function key 4 (F4) to run notepad.exe.
!bind SHIFT+F4 !cmd notepad.exeThe
following command defines function key 8 (F8) to run the raven.bat file.
!bind CTRL+F8 !cmd raven.batRelated information
- See Console commands for information about the console commands.
- See Key Bindings menu for information about the Key Bindings menu.
- See Session configuration files for information about the session configuration files.
- See Console configuration for more information.
- !cmd – Run external program.
- See TPF Operations for information about the ZSTAT command.
