This demo script showcases the entire preview API: https://gist.github.com/cfillion/7718bd7d3566a94c308ca7a5fdee8105
right click Save Link/Target As: sws_preview_test.lua
EDIT: you need the ImGui for that script via Reapack
https://forum.cockos.com/showthread.php?t=250419
EDIT: also install Reapack > Browse packages.. in Filter paste js_ReaScriptAPI
right click > Install > Apply
for reaper.JS_Dialog_BrowseForOpenFiles

more here
[Linked Image - Only viewable when logged in]

[Linked Image - Only viewable when logged in]

Last edited by musocity; 01/07/24 09:55 PM.