Reaper-Tools

Audiokinetic Reaper Tools Repository
Log | Files | Refs

commit 9cd160f3899d2b9ac9cd78241f9a8a8c5a321769
parent 558eae04844e73c0e6195577931b22fa67aaf1c7
Author: James Stubbs <jstubbs@audiokinetic.com>
Date:   Mon,  3 Jun 2024 16:06:59 -0400

SP-4458: Strata Copy Script syntax Error

Change-Id: Ideed1e03d44f479b9fb66fd8763b67f10ef4ab37

Diffstat:
MScripts/Strata_Copy collection elements within selection to next project tab.lua | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Scripts/Strata_Copy collection elements within selection to next project tab.lua b/Scripts/Strata_Copy collection elements within selection to next project tab.lua @@ -183,7 +183,7 @@ reaper.Main_OnCommand(SELECT_ALL_ITEMS, 0) reaper.Main_OnCommand(COPY_TRACKS, 0) -- No media in region to be copied -if reaper.CountSelectedMediaItems(currentProj) == 0 +if reaper.CountSelectedMediaItems(currentProj) == 0 then reaper.Undo_EndBlock("No media in region to be copied", -1) reaper.Main_OnCommand(EDIT_UNDO, 0) reaper.ShowMessageBox("No media in region to be copied!", "Strata Copy Script Error", 0)