Rename a Location marker with lua script

I managed to create markers with Editor:mouse_add_new_marker(0, true). I got the marker with Session:locations():list():back() but I couldn’t find a function to set the name. I found this post which states it has been implemented. Which function do I need to call? A workaround is to edit the session.ardour xml and change the name there but this would require a program restart. Thanks for your help!

You’re likely using Ardour 5.12. The function was added, but it will be a part of the next release. You can’t do this in 5.12.

1 Like

You are right :wink: Looking forward to the next release! Thanks, Paul