Go Back   Cockos Incorporated Forums > REAPER Forums > REAPER Bug Reports

Reply
 
Thread Tools Display Modes
Old 09-22-2017, 05:42 AM   #1
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default SetProjectMarker doesn't work with empty string

Imagine you want to clean some markers names with a script,

You will use SetProjectMarker

but it seems (at least on Lua, REAPER 5.50c, Win10 x64) that passing an empty string to this function doesn't work.

Demo:



Thanks for taking a look at this small bug :P
X-Raym is offline   Reply With Quote
Old 09-22-2017, 09:20 AM   #2
Justin
Administrator
 
Justin's Avatar
 
Join Date: Jan 2005
Location: NYC
Posts: 15,721
Default

Yeah that's a feature (empty string = do not change name). You can use reaper.SetProjectMarker4 with flags&1 to clear the name.
Justin is offline   Reply With Quote
Old 09-22-2017, 05:09 PM   #3
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

surprising ^^ this should do the trick anyway ! thanks !
X-Raym is offline   Reply With Quote
Reply

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 08:42 AM.


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