trySetSlotPlugin — How to load a plugin into an insert slot via MIDI Remote API 1.3?

Check this thread, it may help: