The current scaling module does this already in a way, but listens to midi to set the notes.
Only downfall (to me) is that the selection of the notes that are "on" is indexed 1-on-1, so if you have 5 notes selected, sending an integer value of 6 selects the next octave, but if you have 7 notes selected, 8 will be the next octave. So after you've set the notes of the scale, playing the scale with your keyboard doesn't follow the octaves of the keyboard and the notes won't repeat the same way as the keys repeat.
Or perhaps you want to use sequencers to select notes from the scale? Then this shouldn't pose a problem.. though then it would be nice if the scale module also tells you how many different notes you use per octave, so you can scale the sequencer to the right amount of octaves.
so it depends on how you would like it to react.. It shouldn't be that hard to quickly write a module for you that works the way you'ld like.
For example, if you'ld like to set the scale using your keyboard and then use the white keys to select the notes, I could build a note table like (7 notes C-major): 0,0,2,2,4,5,5,7,7,9,9,11 (C,C,D,D,E,F,F,G,G,A,A,B)
or when you only add 3 notes: 0,0,0,0,4,4,4,7,7,7,7 (C,C,C,C,E,E,E,G,G,G,G)
I could also add an option to re-order the notes or keep the order that you play, so for example playing "C,E,G,B,D,F,A" would make a table "C,C,E,E,G,B,B,D,D,F,F,A". This way all 3 white keys next to each other would form a chord.