13
0
livetrax/share/scripts/s_foreach_track.lua

11 lines
306 B
Lua
Raw Normal View History

2016-04-11 08:36:57 -04:00
ardour { ["type"] = "Snippet", name = "Foreach Track" }
2016-04-07 16:13:00 -04:00
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