13
0
livetrax/scripts/s_foreach_track.lua

12 lines
311 B
Lua
Raw Normal View History

2016-04-07 16:13:00 -04:00
ardour { ["type"] = "Snippet", name = "foreach track" }
function factory () return function ()
for r in Session:get_tracks():iter() do
print (r:name())
-- see http://manual.ardour.org/lua-scripting/class_reference/#ARDOUR:Track
-- for available methods e.g.
--
r:set_active (true, nil)
end
end end