|
|
@ -182,6 +182,9 @@ select_dst_track_only() |
|
|
|
--reaper.Main_OnCommand(40058, 0) -- paste item |
|
|
|
reaper.Main_OnCommand( reaper.NamedCommandLookup('_SWS_AWPASTE'), 0 ) -- SWS Paste |
|
|
|
|
|
|
|
-- Remove content behind selected items (avoid overlapping). Only really needed if "Trim content behind media items when editing" is off. |
|
|
|
reaper.Main_OnCommand( 40930, 0 ) -- Remove content (trim) behind items |
|
|
|
|
|
|
|
-- Crossfade |
|
|
|
local selected_items_count = reaper.CountSelectedMediaItems(0) |
|
|
|
for i = 0, selected_items_count - 1 do -- select tracks with selected items... |
|
|
|