View Single Post
Old 02-13-2020, 01:01 PM   #6
Yanick
Human being with feelings
 
Yanick's Avatar
 
Join Date: May 2018
Location: Moscow, Russia
Posts: 170
Default

Another option
PHP Code:
if reaper.SNM_GetIntConfigVar('showpeaks'0) == 3 then
  reaper
.SNM_SetIntConfigVar('showpeaks'0)
else
  
reaper.SNM_SetIntConfigVar('showpeaks'3)
end

  
reaper
.UpdateArrange() 
__________________
My scripts for rendering

Last edited by Yanick; 02-13-2020 at 01:08 PM.
Yanick is offline   Reply With Quote