sounds pretty easy to program into your patch....every gui is connected to a message box with its own number...the numbers are connected to a single spigot object. ...when you press "learn"...it opens the spigot...and then whatever number comes through is sent as the midi-learn data, and saved using whatever saving system you prefer (pool, memento, textfile, msgfile...whatever) ...and then the spigot is closed again.