Old 10-02-2019, 01:04 AM   #1
semikid
Human being with feelings
 
Join Date: May 2015
Location: Los Angeles, CA
Posts: 326
Default "Remove all selected tracks FX" (not focused fx)

I would like a script that removes FX for all selected tracks.
semikid is offline   Reply With Quote
Old 10-02-2019, 06:11 AM   #2
Edgemeal
Human being with feelings
 
Edgemeal's Avatar
 
Join Date: Apr 2016
Location: ASU`ogacihC
Posts: 3,921
Default

Quote:
Originally Posted by semikid View Post
I would like a script that removes FX for all selected tracks.
Code:
reaper.Undo_BeginBlock()

for i = 0, reaper.CountSelectedTracks(0)-1 do 
  local track = reaper.GetSelectedTrack(0, i)
  for fx = reaper.TrackFX_GetCount(track)-1, 0, -1 do
    reaper.TrackFX_Delete(track, fx)
  end
end

reaper.Undo_EndBlock('Remove all FX from selected tracks', 0)
Edgemeal is offline   Reply With Quote
Old 10-07-2019, 02:23 PM   #3
semikid
Human being with feelings
 
Join Date: May 2015
Location: Los Angeles, CA
Posts: 326
Default

you da best!
semikid is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 08:17 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.