no response of the 'key' object
i have this special case in which i need a number box to behave differently when changed with dragging the mouse or when changed with just entering a number and then press return.
so i try to solve the problem with the ‘key’ object but strange enough:
if you enter a number in the number box and you press ‘return’ you won’t get any reaction with the ‘key’ object. only after you hit ‘return’ for the second time the ‘key’ object reacts….
i know that the ‘b’ word is nearly forbidden on the forum, but is it a bug?
----------begin_max5_patcher---------- 546.3oc0VFrbaBCDF9L7TnQmcXPRfEzaY5IeqyjicxzACqiUJHw.x0NMSd2q j.G6jXaZZHtIbXAsqfc0m9Yg688vyUafVL5Knui77t22yy4x5vqerGtJaSdY VqaZX4pp4PCdRWHyHgrDztXjcNUqza8R68VmoyWJj27iFHW2kQVbTP3DTJ2Z iCsVpwhtt+VDEtTple6EjvsobgRpkYUfKzkMhrxsQ5Rp9tZn6wiERMdBBOOS dC9wGp89aE+1MGBIHNMljvsgdv22Zl7WBhbUUEXSPWLMrwspveqLSuP0TcwL YATCFiTi9IbGJWU.nekUtBdEzK73zKJLdG8njSiOxv3ar.yXpPnowALyAgMA Qnj.JONYZzfhE9GMwhDVaJrWnULxhCxovCxoniyIBOwBDtSQPRiOIcR92oyK OM9nZLkOroASMGbpgJQ7.q5gRFT9j9gS9LhLoWpP3zfTFIjMDMne957dUMjK Vj+tz0klzgu8TSjjnSBP54q26wPykW80YyFULPetJxb0of.6+ODpTEhEBnwp KZQEp0Rz5kfDoWBNox5rVTcCz1BEiCjXQScPhRCX7TlkRzAdYK5y42o6176r mdExdW5lXR7dDvMGboP97es0U4V+OEKspUM4aS11OQhXOlpBnUKjYZgRt+jL MFQ6ViKEEle0aeEQknnVYp89h.c8A2jdU0DcnZhe9qIxP0T54ulBGnlnuk8N yfG7+Cf5vZgv -----------end_max5_patcher-----------
I think that’s normal behavior. If you type a number in the number box, the blinking cursor indicates that pressing ‘return’ will affect the number box and nothing else. Thus it’s not recognized from the key object.
meanwhile i think that, too.
but i wonder if the guys couldn’t change it easily – it would make the number-box a bit more flexible – but maybe would cause some other problems in the patcher ;-)
luckily i found another way to solve my problem :-)
Since time immemorial (ie since the late 1980s) an active number box has swallowed keystrokes before the key object gets to process them.
Changing this behavior now would break, by the last count, approximately 299,792,458 existing patches. Think about that when you ask for a behavior change.
You could, however, use the keyup object.
Forums > MaxMSP