add delete x-run marker script
This commit is contained in:
parent
aaf441d18f
commit
758f183b99
9
scripts/delete_xrun_markers.lua
Normal file
9
scripts/delete_xrun_markers.lua
Normal file
@ -0,0 +1,9 @@
|
||||
ardour { ["type"] = "EditorAction", name = "Delete xrun markers", author = "Ardour Team", description = [[Delete all xrun markers in the current session]] }
|
||||
|
||||
function factory () return function ()
|
||||
for l in Session:locations():list():iter() do
|
||||
if l:is_mark() and string.find (l:name(), "^xrun%d*$") then
|
||||
Session:locations():remove (l);
|
||||
end
|
||||
end
|
||||
end end
|
Loading…
Reference in New Issue
Block a user