for name in flstudio see device_MiniLab3 name= can experiment with different folders with whatever name
drop scripts in %HOMEPATH%\Documents\Image-Line\FL Studio\Settings\Hardware<folder_name>
see https://www.image-line.com/fl-studio-learning/fl-studio-online-manual/html/midi_scripting.htm
to check FLStudio available functionality
https://forum.image-line.com/viewtopic.php?p=1490365#p1490365
View > Script output
for debugging