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 the problem is that if viewer1 is set to input 1 and i select a node and hit "2" then the viewer connects its second input to the node as expected, but it doesnt actually show/switch to that input -- i have to go to the viewer1 tab and hit two again to show it. ideas? G -- ■ ■ ■ ■ ■ ■ ■ ■ ■ ■ _______________________________________________ Nuke-python mailing list Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python