Ben Dickson for President
On Tue, Jun 4, 2013 at 6:37 PM, Ben Dickson <ben.dick...@rsp.com.au> wrote: > Not easily. I ran into this while trying to make the z and x shortcut > change frame.. Those shortcuts seem to be handled specially inside the > viewer, before the addCommand shortcuts are checked > > You can work around this somewhat with PySide, using an eventFilter to > intercept the shortcuts and run your Python there: > > https://gist.github.com/dbr/**5703516<https://gist.github.com/dbr/5703516> > > I've just sent a bug report to supp...@thefoundry.co.uk (been meaning to > do this for a while) - will reply here when I have a bug ID for it. > - Ben > > > On 02/06/13 02:57, smills wrote: > >> I understand how to change and add command in any of the menu/toolbars >> except for 1.... the viewer top-bar hotkeys such as 'r', 'g', 'b', 'a'.. >> luminance.. wipeToggle( shift + w ) or the 2D/3D dropdown keys (see >> image). These keys are not listed in the nuke.menu( 'Viewer' ) items, so >> I am not sure where else to look. I did search all of the python files >> in the nuke install directory but only found things relating to the >> Pane/Nodes/Properties/**Animation/Viewer/Node Graph/Axis, none of which >> contain what I am looking for. >> If you do know how to change / disable these keys I would really like to >> know, it is driving me crazy! >> thanks in advance. >> >> >> ______________________________**_________________ >> Nuke-python mailing list >> Nuke-python@support.**thefoundry.co.uk<Nuke-python@support.thefoundry.co.uk>, >> http://forums.thefoundry.co.**uk/ <http://forums.thefoundry.co.uk/> >> http://support.thefoundry.co.**uk/cgi-bin/mailman/listinfo/**nuke-python<http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python> >> > > -- > ben dickson > 2D TD | ben.dick...@rsp.com.au > rising sun pictures | www.rsp.com.au > ______________________________**_________________ > Nuke-python mailing list > Nuke-python@support.**thefoundry.co.uk<Nuke-python@support.thefoundry.co.uk>, > http://forums.thefoundry.co.**uk/ <http://forums.thefoundry.co.uk/> > http://support.thefoundry.co.**uk/cgi-bin/mailman/listinfo/**nuke-python<http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python> > -- -
_______________________________________________ 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