Anchor Viewer Locker v1.0
This location is for Registered Users Only.
Perhaps you need to login or register.
14.0, 13.2, 12.1, 10.0 or later
This script sets hotkeys for fast Viewer input setting without need to select any node. Convinient if you often compare original source with your work or any other source.
You can change Viewer inputs however you want, but when you press Shift+1 Viewer will always connect its input 1 to specified 'anchor' node №1. To create 'anchor' node simply press Ctrl+Shift+1 with selected node (same for Ctrl+Shift+2, Shift+2 for anchor №2 up to №9). And your node selection will remain the same after pressing any of this hotkeys!
Script replaces Nukes original Shift+1,2,3... for setting Viewer input №11,12,13... but who needs them anyway.
I saw scripts on this site doing similar thing but in my opinion this approach is more convinient and more compatible with many versions.
To install, append text from downloaded file to your .nuke/menu.py file and start Nuke.