VanDyke Software

Tips

Index

How to Map a Keyboard Shortcut to Perform a Menu/Toolbar Function in SecureCRT

Here's a question you might have on occasion:

Currently, I do something important by clicking on a specific menu or toolbar item with my mouse. How can I map that to a shortcut key?

Here's a way to map a SecureCRT keyboard shortcut to perform a menu or toolbar function you'd normally need to use your mouse to accomplish.

  1. Click on SecureCRT's main Options pull-down menu and choose Edit Default Session...
  2. In the Session Options dialog, navigate to the Terminal / Emulation / Mapped Keys category.
    Navigating to the Mapped Keys Window in Default Session Options
  3. Press the Map a Key... button.
  4. When the Map Key dialog appears, use your fingers to press the keyboard shortcut combination you desire to use with your keyboard.
    Map Key Window
  5. When the Map Selected Key dialog appears, set the Function to Menu Function and then select the desired feature/function from the Menu Function list. For example, if you want to clear the screen, you would choose MENU_CLEAR_SCREEN from the list.
    Map Selected Key menu
  6. Press the OK button to add your mapped key definition.
    Adding a Mapped Key Definition

    Repeat steps 3 - 6 to add additional mapped keys.

  7. Press the OK button in the Session Options dialog to save your mapped keys to the Default session. You will be prompted whether you would like to make the change to just the Default session or to all of your existing sessions. There is no undo for this action.
    Applying Default Session Changes

    Note: If you have customized any mapped keys on a session-specific level, those mapped key definitios will ALL be replaced by the listing of mapped keys you have just configured or modified in the Default session.

    If you want to have session-specific mapped keys, you can use the Keymap Editor from the Tools menu to create a .key file, and then configure individual sessions to use the customized .key file in the Terminal / Emulation category. To configure a session, enable the Select an alternate keyboard emulation, choose Custom, and then specify the path to the .key file you saved in the Keymap Editor.

    Note: Definitions for mapped keys found in Session Options / Terminal / Emulation / Mapped Keys have higher precedence than those specified in a .key file.

  8. Press the Change ALL sessions (no undo) button.

VanDyke Software uses cookies to give you the best online experience. Before continuing to use this site, please confirm that you agree to our use of cookies. Please see our Cookie Usage for details.