mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
Also move Lua scripts to share subfolder
This commit is contained in:
parent
bf649cd68a
commit
180843f9bd
129 changed files with 2 additions and 2 deletions
10
share/scripts/s_foreach_track.lua
Normal file
10
share/scripts/s_foreach_track.lua
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue