View Single Post
Old 08-15-2018, 03:41 AM   #1
Human being with feelings
DarkStar's Avatar
Join Date: May 2006
Location: Surrey, UK
Posts: 18,011
Default Q: how to change a Marker name?

I am trying to change the name of an existing Marker from an OSCII-bot script

I have the following code snippets:

in the ReaperOSC file: MARKER_NAME s/marker/@/name
in the script @ init: reaper_marker_name = "s/marker/%s/name"; //MARKER_NAME
in the script @midimsg: oscsend(OSC_to_REAPER, reaper_marker_name, "NEW NAME", "1"); // = "s/marker/%s/name"; //MARKER_NAME

The OSC Logger shows that this message is sent to Reaper: /marker/1/name Value: NEW NAME but the marker name does not change. I tried it with a marker name of "M1" (as that is how it appears in the Region/ Marker Manager) but no success.

What have I missed?

PS It did not work with the equivalent lines for renaming a track either.
DarkStar ... interesting, if true. . . . Inspired by ...
DarkStar is offline   Reply With Quote