Prev Previous Post   Next Post Next
Old 08-15-2018, 03:41 AM   #1
Human being with feelings
DarkStar's Avatar
Join Date: May 2006
Location: Surrey, UK
Posts: 18,028
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

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -7. The time now is 07:55 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.