Noob here, need help with the simplest script

  • Forum
  • [RESOLVED] Noob here, need help with the simplest script


I’m using a Midi Fighter Twister as my MIDI Controller. I’m trying to make the simplest script. I’m trying to emulate brush size in Adobe Photoshop. In order to do this I need to create two shortcuts for “[” and “]”. When I twist a knob to the left it should trigger the “[” keyboard key and when I twist the same knob to the right, it should trigger the “]” keyboard key. For the life of me, I have no clue on how to do that. What I managed to figure out is that it has to do with ifs and thens, but I can’t figure out the way to do it.

Any help would be really appreciated. Thanks.

I sort of made it work, but it’s really clunky and almost not usable.

I create two Translators using a pp as any value for the CC. I write something like

if pp>64 then exit rules and execute outgoing action (which is my keystroke)

if pp<64 then exit rules and skip outgoing action.

I write the same thing for the other Translator but with the signs reversed. It sort of works but the problem is that if the knob has like a 23 value as an example, it will still trigger the wrong keystroke until it reaches a 64 value and toggles the other keystroke. So it’s not pretty at all.

Marked as spam
Posted by (Forum: 1, Answers: 1)
December 21, 2017 2:40 am
Private answer

Hi and welcome to the Bome Forum!

I helped  a user earlier this month on almost the exact same thing.  Take a look at this posting.


The key here is that your MIDI Fighter Twister should be programmed as continous controllers putting out hex 41 and 3F as shown in the illustrations on the above post.



Independent Bome Programming Specialist

Bome Q&A moderator


Marked as spam
Posted by (Forum: 46, Answers: 4173)
December 21, 2017 2:54 am

Well that was easy enough. I only had to change for my Twister to output hex. I have absolutely no clue on how or why does this work, but it works amazeballs, so I’m happy. Thank you. I hope someday to actually understand what’s going on though…

( at December 21, 2017 3:16 am)

Glad to help. If you want to see how things work, go through the series of tutorials. There are a few intro ones to get you started.


( at December 21, 2017 6:38 am)