From: Gustaf Nilsson
Sent: Thursday, October 11, 2012 3:23 AM
To: nuke-python@support.thefoundry.co.uk
Subject: [Nuke-python] switch to input in viewer
ohai
i want the 1/2/3/4/5... keys to only connect the selected node to
Viewer1, not any other viewers, so i wrote this:
nuke.menu('Nuke
ohai
i want the 1/2/3/4/5... keys to only connect the selected node to
Viewer1, not any other viewers, so i wrote this:
nuke.menu('Nuke').addCommand('Gusty/Connect to Viewer1 - 1',
'nuke.toNode("Viewer1").setInput(0, nuke.selectedNode())
and then i do this for all the numbers.
it works, but th