I noticed, that RENDER_TARGETS_EX does not work, as expected.
It is supposed to return the filenames to be rendered null-separated. However, it doesn't work at all or the string is truncated at the first \0-byte.
At least on Lua, the following code-snippet shows the behavior.
I get the length of the returned strings by RENDER_TARGETS and RENDER_TARGETS_EX and they differ heavily, with the _EXE one truncated at the end of the first filename.
Code:
-- 1. Add two files into the project for two items
-- 2. Select MediaItems
-- 3. Set "Selected media items" as source
-- 4. Set Directory to c:\
-- 5. Set Filename to A: so it would create two filenames
-- 6. Hit Save Settings
-- The following code should return a length of around 25 for both filenames.
-- However, the length of RENDER_TARGETS_EX is truncated at 12(the end of the first filename).
A, A1=reaper.GetSetProjectInfo_String(0, "RENDER_TARGETS", "", false)
A2=A1:len()
B1, B2=reaper.GetSetProjectInfo_String(0, "RENDER_TARGETS_EX", "", false)
B3=B2:len()
I also noticed, that it's missing from the API-docs, so maybe, I'm just holding it wrong...
Reaper 6.69x64 on Windows 7
Edit:
Same problem happens in EEL2:
Code:
A=GetSetProjectInfo_String(0, "RENDER_TARGETS", #A1, false);
A2=strlen(#A1);
B=GetSetProjectInfo_String(0, "RENDER_TARGETS", #B1, false);
B2=strlen(#B1);