REAPER-ReaScripts icon indicating copy to clipboard operation
REAPER-ReaScripts copied to clipboard

Create project markers from selected take markers

Open daxliniere opened this issue 6 months ago • 1 comments

Hey Raymond, hope you're well.

Since Take Markers can now have a duration, would you be able to modify Create project markers from selected take markers to also create project regions when take regions are used?

Image

Your pair of actions Create project markers from selected take markers and Create project regions from selected take markers could probably benefit from a slight name tweak to Create project markers/regions from selected item's take markers

All the best, Dax.

daxliniere avatar Aug 13 '25 18:08 daxliniere

Hi Dax, Indeed it has been added to v7.17,

Unfortunately, the Get/Set take markers ReaScript functions still no have parameters for length

retval, name, color = reaper.GetTakeMarker( take, idx )
reaper.SetTakeMarker( take, idx, nameIn, srcposIn, colorIn )

Please bump one of these related FR:

FR API: SetTakeMarker length parameter SetTakeMarker API Function: Add length parameter

Technically, it is possible to parse item chunk and look for take markers length info, but my scripts here on this free repo were supposed to be quick demonstration of take markers API, as a reference for other scripters. If you want to sponsor this implementation anyway, contact me. 😉

Cheers!

X-Raym avatar Aug 14 '25 07:08 X-Raym