Scripting Editor - Defining Custom Keyboard Shortcuts

The Tabbed Scripting Editor introduced in 3ds Max 2008 lets you define your own custom keyboard shortcuts in addition to the hard-coded shortcuts listed in the topic Scripting Editor - Keyboard Shortcuts

Definition:

Custom keyboard shortcuts can be defined in the file MXS_Editor.properties which is easily accessible via the Tools > Open Global Options File menu item. See Scripting Editor - Properties File Settings for all options.

Scroll down and locate the section remarked as

# User defined key commands

This section contains some existing keyboard shortcut definitions.

The definition starts with

user.shortcuts=\

and is a '|' delimited list of keys and the commands they produce.

To place each command on a new line, add a backslash \ at the end of each line.

FOR EXAMPLE,

   user.shortcuts=\
   Ctrl+Shift+V|IDM_PASTEANDDOWN|\
   Ctrl+PageUp|IDM_PREVFILE|\
   Ctrl+PageDown|IDM_NEXTFILE|

The commands are either strings or numeric IDs - see List of Editor Key Commands and List of Editor Menu Commands.

Note: Changes to user-defined keyboard shortcut definitions will become active only after a restart of 3ds Max!

Adding a new user-defined keyboard shortcut

Let’s assume you want to add a keyboard shortcut for the editor feature "Clear All Bookmarks". This feature is listed in the Search menu but does not have a keyboard shortcut assigned.