Hey, thanks for the answers. I got it working here on Fedora 13 with the "'Shift+:" solution! :) Cheers, David
On Tue, Aug 30, 2011 at 12:41 PM, Michael Habenicht <[email protected]> wrote: > well just gave it a quick try and this works for me here on nuke6.2v4 linux64: > > nuke.menu('Nuke').addCommand('Test', 'nuke.createNode("Dot")', '+:') > > Juhu, finally branched Dots!!! > > Best regards, > Michael > ------------------------------------------ > DI (FH) Michael Habenicht > compositing - vfx :: motiongraphics :: dvd > > http://www.tinitron.de > [email protected] > ** > Digital Compositor & TD TRIXTER Film Munich > http://www.trixter.de > ------------------------------------------ > > > ----- Original Message ----- > From: [email protected] > To: [email protected] > Date: 30.08.2011 12:20:40 > Subject: Re: [Nuke-python] Bind keyboard shortcut "shift+." > > >> Hi David, >> >> You can get around this problem by using "Shift+>" instead of "Shift+.". >> This may vary slightly depending on OS (I think Qt's keyboard shortcut >> handling isn't 100% consistent) but that works for me on Ubuntu 64-bit. >> >> This worked for me >> >> nuke.menu('Nuke').addCommand('Test', 'nuke.message("Test")', 'Shift+>') >> >> It's probably worth sending this in to support as well so they can look >> at adding a fix for the branched dot node option. >> >> Cheers, >> >> - Chris >> >> On 30/08/11 10:44, David Wahlberg wrote: >> > Hi all, >> > It's been bugging me for a long time that "shift+." isn't creating a >> > branched off dot-node which definitely would make sense in regards to >> > "shift+m" creating a branched of merge etc. >> > I tried to fix it myself and realized I couldn't bind the combination >> > "shift+." (shift and dot) to a function using the following code: >> > menunode.addCommand('Create dot branch', >> > 'ilp_nukeExtras.ilp_createDotBranch(nuke.selectedNode())', 'shift+.') >> > >> > Does anybody know a solution to this? And maybe even a reason of why >> > it's like this as well? >> > >> > Cheers, >> > David >> > _______________________________________________ >> > Nuke-python mailing list >> > [email protected], http://forums.thefoundry.co.uk/ >> > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python >> >> -- >> Chris Bevan, Senior Software Engineer >> The Foundry, 6th Floor, The Communications Building >> 48 Leicester Square, London, WC2H 7LT >> Tel: +44 (0)20 7968 6828 | Fax: +44 (0)20 7930 8906 >> Web: www.thefoundry.co.uk >> >> The Foundry Visionmongers Ltd >> Registered in England and Wales No: 4642027 >> _______________________________________________ >> Nuke-python mailing list >> [email protected], http://forums.thefoundry.co.uk/ >> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python >> > > > > > _______________________________________________ > Nuke-python mailing list > [email protected], http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python > _______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
