Keyboard shortcut issue

Hi guys,

I have a problem with keyboard shortcut. I am using Bome midi translator pro to convert some keyboard shortcuts to midi notes.

For example I set:

Incoming -> phisical keys: Ctrl(F11)

Rules:empty

outgoing: midi message -> note on channel 19 note 1 velocity 127

 

and it is working fine.

 

after that I set onother translator:

Incoming -> phisical keys: Ctrl(Alt(F11))

Rules:empty

outgoing: midi message -> note on channel 13 note 83 velocity 127

 

but this will result in this in the windows log:

1: IN 0.18 Physical Keys: Alt(F11)
2: OUT 0.18 Note On on ch. 13 with note:19 (0x13) and velocity:127 (0x7F)
3: IN 0.82 Physical Keys: Ctrl(Alt(F11))
4: OUT 0.82 Note On on ch. 13 with note:83 (0x53) and velocity:127 (0x7F)

 

So the software reads both values. How can I block the software to read control+F11 when I press control+alt+F11?

 

This is very important to my project. I hope I am wronging someting and this can be solved.

Thank you

Salvatore

I created a new translator with the control+alt+F11 incoming and in rule I set pp=1

 

I the translator with the control+F11 I wrote in rule: if pp==1 then skip outgoing action.

this seems to work. I have to do that for all the shortcuts. Let me know if there is a simple way.

Thank you

Hi,

Since Alt(F11) is also contained withing Cntl(Alt(F11)), indeed they will both trigger, however if you put the longer key sequence translator first and then use the "Stop Processing" check box, MT Pro will no longer process additional translators when processing Cntl(Alt(F11)).

The reason if pp!=1 worked is by chance. Local variables like pp have a "unknown" state unless defined so it just happened not to be 1 in your case but at some point, it might be 1 and still trigger.

 

Steve Caldwell
Bome Q and A Moderator and
Independent Bome Consultant/Specialist
bome@sniz.biz

 


Attachments:
![](upload://2Ki1eli4qRp3ZcK42o3F2t6NQzX.png)
1588943305998_cntl-alt-f11.bmtp

Thank you Steve. Now it works fine