Disable middle click zoom out v1.1

This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: yuri carrara
disable MMB mouse/pen click functionality
11.3, 11.2, 11.1, 11.0, 10.5, 10.0 or later
Linux, Mac, Windows
31 Jul 2020

Simple hack to disable the middle mouse click functionality that fits to 'screen' the viewer or the node graph.
I always found that feature super super super annoying.


Add this to menu.py and change the PATH with yours. I couldn't find a way to execute the script properly, I'm not sure why, if you have a better solution plz share.

nuke.menu('Nuke').addMenu('Edit').addCommand('disable mid button','exec(open(r'YOUR_PATH\disableMidMouseButton.py').read())', 'alt+shift+b')


Please login in order to download these files.


# Guillaume Charron 2020-07-30 15:18
1- The script name itself starts with a capital "D" but in the code line that we have to add to our menu.py starts with "d".

2- I get this error: list index out of range.

Can you help?
# Guillaume Charron 2020-07-30 15:19
I'm on linux, nuke 11.3v6
# yuri carrara 2020-07-31 17:53
I fixed the name, sorry about that.
I'm not sure about the rest, I would try to paste what's inside the script file int the script editor and run from it first

You have no rights to post comments

We have 2659 guests and 65 members online