View Single Post
Old 01-07-2019, 02:05 PM   #102
Human being with feelings
_Stevie_'s Avatar
Join Date: Oct 2017
Posts: 1,620

Okay, next confusion(s).

Although, I'm referring to the current project (which is already open), Reaper ones the project again to render it.

And the second thing: how can I write the RenderPattern to the actual file?
When I execute RenderProject_RenderCFG, I have to set render_filename, without the possibility to refer to the RenderPattern.

What I got is:

retval, projectfilename_with_path = reaper.EnumProjects(-1,"")

render_cfg_string = ultraschall.CreateRenderCFG_WAVPACK(3, 0, 0, true, false)

retval = ultraschall.SetProject_RenderPattern(nil, "$project $starttimecode")

retval, _, _, _ = ultraschall.RenderProject_RenderCFG(nil, "m:/Projekte/Export/", -1, -1, false, false, false, render_cfg_string)
My Reascripts forum thread | My Reascripts on GitHub | Stephan Römer - film composer
If you wish to donate for my scripts: please consider an organization like: animal shelter, doctors without borders, UNICEF, etc...
_Stevie_ is offline   Reply With Quote