Inevitably, the moment you resort to the mailing list you discover the 
answer yourself.

nuke.menu('Nuke').addCommand('Test', 'nuke.createNode("Dot")', 'Alt+r')

Nevermind.  :)


----- Original Message -----
From: "Jesse Lucas" <[email protected]>
To: "nuke-users" <[email protected]>
Sent: Wednesday, 9 November, 2011 11:06:25 AM
Subject: [Nuke-users] Alt- and ctrl- shortcuts to menu items on Linux


Greetings.

Is it possible to make alt- shortcuts for menu items in Nuke on Linux?

I have tried all of the following and none have worked for me.

nuke.menu('Nuke').addCommand('Test', 'nuke.createNode("Dot")', 'alt-r')
nuke.menu('Nuke').addCommand('Test', 'nuke.createNode("Dot")', 'Alt-r')
nuke.menu('Nuke').addCommand('Test', 'nuke.createNode("Dot")', 'a-r')
nuke.menu('Nuke').addCommand('Test', 'nuke.createNode("Dot")', 'A-r')
nuke.menu('Nuke').addCommand('Test', 'nuke.createNode("Dot")', 'meta-r')
nuke.menu('Nuke').addCommand('Test', 'nuke.createNode("Dot")', 'Meta-r')
nuke.menu('Nuke').addCommand('Test', 'nuke.createNode("Dot")', 'ar')
nuke.menu('Nuke').addCommand('Test', 'nuke.createNode("Dot")', 'Ar')

However, shift- shortcuts work, e.g. 

nuke.menu('Nuke').addCommand('Test', 'nuke.createNode("Dot")', '+r')

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

Reply via email to