Keystrokes to action



  • Hey guys is it possible to code keyboard shortcuts to activate changing tabs on a gui for instance?



  • @Tod-Slaughter I'm not aware of any shortcut possibility, but there're modifier keys with the panel.setMouseCallback:
    http://hise.audio/manual/ScriptPanel.php#12themouseeventcallback

    here's an example:
    when holding either Shift/Alt/Ctrl with a click, the associated panel shows up, while a simple click hides all tabs

    HiseSnippet 1074.3ocsWssaaaDDcosYPjRMPSQenOtvOIi35P4ljV.2hppaoF0WDhbRaZPPvJxkha8pcEVtztBA9ey+I8Kn.8Knpyx6xlxvPMl9EsyLmcNb3byCTRWZXnTgrpc5roTj0mYOblPGzIfvDnC5hr9J6oDAk2VKNR5w7YT0ojQCDbT6YSIggTOjk05uzXsUsMPwO+yO1lvIBWZgHD5MRlK8P1DltP5fV+Biy6S7nmxlTx5m05.WonijKi.lstsCZJw8LxX5wDiYqYirdPOOlVpFpIZZHxZi1RuYCCjWHRr+MrP1HN0bnIZHbQIh6K4dFFajh5Dv3dCxh.gH3VFTDOVOId7k1Gw7X4xKhKedrBbAhxwCq0tM50rL8bt6zypD81HgdO1dnqhMUWnwvsGYefPSU9D3SPYZkXKZsAaX2QBVHz6NgbFsuBNjinwKbb1A+bGms2ey5fYgRNcWWNknZXjX9C93DpwmST3QQZsT.oC3e.mckio5NxISkB3PisxsXqDzEX0w4Qg.x2UMTE0KF2NaVGW0yRbHOhtBvlQ4b4Ew.eeLQqD6RDufEO8o3APESZrA6R37QP56l0yCE6FR0GIiBocR00vOR3pYRQC54.a1t9GSbDyGmHA9.vbOi5s8GKXPwu.O9yLOJFtMSTMrrNeoB2fAAYm8wL72mE02kSEi0Afrm7jxWp4I0j2wdugnM157jr0s1A6S3gzs2O25KS.t.SBgzb7q50sPXwaQX.yW2EJCVlKctgK0pnk5wa521G95dU4XB+Vcay+mt8s8N7vS90pbrqVwuMOu2czyWV+xs2OKKAKEGK0zSDMfLk50peYc70U46WoNStuRx4TUkpMsgU2FvFhnIinpcfBXnLK2PnezhM7rWdCux8icSJEKYnTbffoOYJUrr1fnz5W3Wu9ftDMwzYLUFX2TpRyLTvpK8bXjSRexZ1cogmokSAllWzCh0wZ2LqKpYRGhA8JencRyGzelOU5peu0r7C3Qstf4oCJlYMqU.kMNnX51UjVLMcR1TrZO.glO2nnP5dkEedVHx1JF+cgl0rS618ojmy+BTU7LS7pvyGYm2d8SZDc9eWYDMU7pwz7tzkY5eThon9WioWQuNSQurEw79l0eOz3pNlV3g3SD7YnEeO9q+sxLiLwnaN2G19P5EwI5EWIwrGVpBnrcgY+l46hPldV48ztW1S4tR2GaOfocCpluqUAegB86a9lt02l1878ot5Bxtgc+e69eEOzqjQZlX7QDshAoe1GGMYHjN3RAlHfbTSqUq0L4xImcxRtGREdwGlCOoJaZNakprYlRzDhqR9A2jF5l8JeXrDfSh30qqYej4LtIJtIOfy1YWGzDXc2O35ZBEeMv8pwr2Jf4aVALOaEv77U.yKVALe6Jf46tULl+SieJRKmjTl.BFzKdxmkUOAAxxhyHQ+G31n4c
    


  • The thing with keyboard strokes is that they are terrible inconsistent across different DAWs so you better avoid shortcuts on plugins.



  • @ustk thanks, very helpful 🤘



  • @Christoph-Hart said in Keystrokes to action:

    The thing with keyboard strokes is that they are terrible inconsistent across different DAWs so you better avoid shortcuts on plugins.

    ok thanks


Log in to reply
 

8
Online

546
Users

2.0k
Topics

16.0k
Posts