A simple way to do this is to just change the hotkey for the viewer. We have added 'Ctrl' to viewer inputs 1 and 2 hotkeys. Works a treat once you get used to holding down 'Ctrl' to set view 1 and 2. Here's the menu.py code. # CHANGE BUFFER ASSIGNMENTS menubar = nuke.menu("Nuke"); m = menubar.addMenu("&Viewer") n = m.addMenu("Connect to A Side") n.addCommand("Using Input &1", "nuke.connectViewer(0, nuke.selectedNode())", "ctrl+1") n.addCommand("Using Input &2", "nuke.connectViewer(1, nuke.selectedNode())", "ctrl+2") Cheers, Alan. On 2/10/2012 8:24 AM, Howard Jones wrote:
--
Alan Fairlie
Lead TD Compositor
Iloura
Switchboard: +61 3 9251 1888
Direct Line: +61 3 9251 1825
Fax: +61 3 9251 1222
This communication is confidential and may
contain legally privileged information. If you are not the
named recipient, please contact us immediately. You must not
copy, use or disclose this communication, or any attachments
or information in it, without our prior consent.
|
_______________________________________________ Nuke-users mailing list Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users