From c51bac942aee57f059d6450a60fc825ca71834c8 Mon Sep 17 00:00:00 2001 From: tuomiorava Date: Sat, 3 Aug 2024 13:16:15 +0300 Subject: [PATCH] Updated Updated DoomSquirrel_Performance Arm track for MIDI (sequential) = Better Undo message (includes TRACK_NAME_Q and SELECTED_IDX) --- ...Squirrel_Performance Arm track for MIDI (sequential).lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tracks/DoomSquirrel_Performance Arm track for MIDI (sequential).lua b/Tracks/DoomSquirrel_Performance Arm track for MIDI (sequential).lua index 3eb0f4f..b7073f7 100644 --- a/Tracks/DoomSquirrel_Performance Arm track for MIDI (sequential).lua +++ b/Tracks/DoomSquirrel_Performance Arm track for MIDI (sequential).lua @@ -52,9 +52,9 @@ -- My music = http://iki.fi/atolonen -- @donation -- Donate via PayPal https://www.paypal.com/donate/?hosted_button_id=2BEA2GHZMAW9A --- @version 2.5 +-- @version 2.6 -- @changelog --- Updated funstionality: Get SELECTED_IDX (idx) and TRACK_NAME_Q (trq) from file name only if they're not already set in USER SETTINGS. +-- Better Undo message (includes TRACK_NAME_Q and SELECTED_IDX) ---------------------------- --- USER SETTINGS ---------- @@ -332,4 +332,4 @@ if (not SELECTED_IDX) then end performanceArmTrack(SELECTED_IDX) -reaper.Undo_EndBlock("Performance Arm track for MIDI (sequential)", -1) \ No newline at end of file +reaper.Undo_EndBlock("Performance Arm track for MIDI (sequential)" .. (TRACK_NAME_Q and " \"" .. TRACK_NAME_Q .. "\""or "") .. (SELECTED_IDX and " " .. SELECTED_IDX or ""), -1) \ No newline at end of file