1. IMPORTANT:
    We launched a new online community and this space is now closed. This community will be available as a read-only resources until further notice.
    JOIN US HERE

Assign a function to a key?

Discussion in 'Scripting Workshop' started by Aderre, Jun 17, 2014.

  1. Aderre

    Aderre Member

    Messages:
    33
    Hi, I would like to know if there's a possiblity to assign a function to a key, I mean like I push Key number 63 (in kontakt, not on a controller) and it for example changes the text of a label, or turns volume up etc. Something like

    Thanks!
     
  2. Big Bob

    Big Bob Forum Member

    Messages:
    606
    Sure, why not? Only why didn't you just try it before posting?

    Of course the way you have illustrated it, it will only happen once the first time the key is played. You will probably want to change it back when some other event occurs?

    Rejoice,

    Bob
     
  3. Aderre

    Aderre Member

    Messages:
    33
    Hi, thanks for your answer! I posted it, because i don't know which would be the correct expression instead of "when_pushing_key", I've been looking for it but didn't find it.
     
  4. EvilDragon

    EvilDragon Well-Known Member

    Messages:
    19,938
    Basics of programming, Aderre... if ($EVENT_NOTE = 63)
     
    • Like Like x 1