Within a Sampler's MIDI Script processor in onInit, I tried the simplest thing I could think of for this:
Sampler.selectSounds("_");
Sampler.createListFromScriptSelection();
throws
constant not found: Sampler.createListFromScriptSelection {U2NyaXB0IFByb2Nlc3NvcjJ8fDk1fDN8Mzg=} Script Processor2:! Line 3, column 38: Function / constant not found: Sampler.createListFromScriptSelection