Set focus on a live.numbox

    Dec 08 2019 | 9:39 am
    Is there a way to set the focus on a specific live.numbox from within the patch so it mimics that it was clicked by the user?
    Question relates to the following problem when overwriting an automation during recording. I have an [incdec] object connected to a live.numbox and if the focus is not on the numbox a previously recorded automation in Live will update the numbox and the value set with incdec-tickbox will only shortly take effect. The automation and the tick box value compete against each other resulting in a flipping of values. There is no such problem if the focus is initially on the numbox during recording. So I am looking for a way to set the focus on the live.numbox when the [incdec] is clicked.

    • Dec 10 2019 | 7:31 pm
      Hi Martin,
      Not to my knowledge. Standard numboxes have a 'select' message but live.numbox doesn't.
      But I also don't understand the situation you're concerned about based on your description. I get the sense that you're using this special [live.numbox] behavior when focused to solve a problem that might better be solved using [change] objects or some other programatic logic between your [incdec] and your [live.numbox].
      Cheers, Tyler
    • Dec 13 2019 | 7:11 am
      Behaviour is a little bit weird, also found some inconsistencies to my description above meanwhile. So I guess it will be best to listen for the record_mode and session_record_status and disconnect the [incdec] appropriately.