in menu.py

nuke.menu('Nodes').addCommand('Merge/Switch','nuke.createNode("Sw
itch")','s')

this would make "S" as the shortcut



On Sunday, September 25, 2011 2:45 PM, "Ron Ganbar"
<[email protected]> wrote:

That would be with Python by recalling the switch command. I'm
not in front of my computer. Anyone?
Ron Ganbar
email: [1][email protected]
tel: +44 (0)7968 007 309 [UK]
     +972 (0)54 255 9765 [Israel]
url: [2]http://ronganbar.wordpress.com/
On 25 September 2011 14:44, thim_vfx_newbie
<[3][email protected]> wrote:

anybody's know.... how to create short cut for switch function in
switch node?

  _______________________________________________
  Nuke-python mailing list
  [4][email protected],
  [5]http://forums.thefoundry.co.uk/
  [6]http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nu
  ke-python


_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

References

1. mailto:[email protected]
2. http://ronganbar.wordpress.com/
3. mailto:[email protected]
4. mailto:[email protected]
5. http://forums.thefoundry.co.uk/
6. http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python


-- 
  Hugo Léveillé
  TD Compositing, Vision Globale
  [email protected]

_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to