MIDI Remote, Relative value mode

Regarding this MIDI cc relative scaling issue where you want to select an arbitrary resolution (ie. 127 and 1024 steps), has anybody tried binding a button to change the max value in bindToControlChange14Bit(channel, cc).setValueRange(min, max)?

The value range can be arbitrarily set and will in effect change the scaling of the parameter. I can confirm this as I created a script that sends 14bit MSB/LSB messages from vertical mouse movements and it scaled as expected (ie. the larger the value range, the more I had to move the mouse to go to limits of the parameter being controlled).

Could this be done using custom variables?

Ultimately, I’m wondering if dec/inc encoders can be scripted to send absolute 14bit messages - assign a starting MSB/LSB by receiving it from the VST with mOnTitleChange(?), the encoder dec/inc on that value, then sends the new MSB/LSB to the parameter.

This is essentially what I did with the autohotkey mouse script.

Hope that makes some kind of sense.

Is this idea possible?