Have you tried with the lookup table method I suggested?
Anyway, below you'll find a macro that manages the translation and strips the MIDI messages "F0 7D 01 01 00 00" and "F7". It will then display a custom prompt with the value you require. You'll need to adjust the trigger so that it provides the %TriggerValue[1]% with content
Bome MIDI Translator 1.1.kmmacros (14.6 KB)