Can you use the ASCII code for those keys instead of using a digit?

Ron Ganbar
email: [email protected]
tel: +44 (0)7968 007 309 [UK]
     +972 (0)54 255 9765 [Israel]
url: http://ronganbar.wordpress.com/



On 15 April 2011 11:03, J Bills <[email protected]> wrote:

> no, sorry bertrand.  the number keypad.  on the right hand side of
> every keyboard.  I'd like to assign a keybind to those keys
> specifically.  has to be some way to differentiate between the "8" at
> the top of the keyboard and the "8" over there, for example.  (i
> realize these are currently occupied contextually by nudging, and just
> being numbers)
>
> are they just considered "UI" keys that are off limits, like alt,
> ctrl, shift, etc?  I can't find a keycode for them anywhere.
>
> On Thu, Apr 14, 2011 at 10:21 PM, Bertrand Lempereur
> <[email protected]> wrote:
> > Not sure that i understand.
> > R u talking about number padding?
> >
> > In this case you can do like this:
> > print '%05d' % nuke.frame()
> >
> >
> > 2011/4/14 J Bills <[email protected]>
> >>
> >> anyone know the syntax for binding something specifically to a number
> pad
> >> key?
> >> like if I wanted to assign something to 5 over there...   ?
> >> _______________________________________________
> >> Nuke-python mailing list
> >> [email protected]
> >> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
> >
> >
> > _______________________________________________
> > Nuke-python mailing list
> > [email protected]
> > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
> >
> >
> _______________________________________________
> Nuke-python mailing list
> [email protected]
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
>
_______________________________________________
Nuke-python mailing list
[email protected]
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python

Reply via email to