Browse Source

4PointCutting: Trim content behind pasted items even if according edit setting is off. closes #5

master
Ludwig Frühschütz 3 years ago
parent
commit
9817465681
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      4PointCutting/4Pcut_execute.lua

+ 3
- 0
4PointCutting/4Pcut_execute.lua View File

@ -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...


Loading…
Cancel
Save