View Single Post
Old 10-07-2019, 01:48 PM   #3
MusoBob
Human being with feelings
 
MusoBob's Avatar
 
Join Date: Sep 2014
Posts: 2,643
Default

This did it
Code:
retval, source_filename = reaper.GetUserFileNameForRead("", "Choose SEQ File", "seq")
file = io.open(source_filename, "rb")
source_content = file:read("*all")
source_filename = string.gsub(source_filename, ".seq$", " seq .mid")
file = io.open(source_filename", "wb")
file:write(source_content)
file:close()
__________________
ReaTrakStudio Chord Track for Reaper forum
www.reatrak.com
STASH Downloads https://stash.reaper.fm/u/ReaTrak
MusoBob is offline   Reply With Quote