Generates 3DS Max key bindings and map for macro scripts based off a JSON configuration.
Comes with a library of macros and a hotkey configuration.
Supports Python 3.8.3 on Windows.
python hotkey.py
Inspired by this post.
- Create a new file in the
macros
directory and paste your MaxScript there. - Replace an existing
macro
's name in config.json with the new filename or create a newmacro
with a structure like:
<key>: {
"key": {
"macro": {
"name": "<your-macro-name>"
}
}
},
Where <key>
can be any lowercase letter from a-z. If <key>
is a number, use "No<number>".
- Add key location in keys.cfg to make hotkey appear on key map.
- Run
python maxhotkey.py