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

Here try
PHP Code:
if reaper.SNM_GetIntConfigVar('showpeaks',0) == 19 then
  reaper
.SNM_SetIntConfigVar('showpeaks'18)
else
  
reaper.SNM_SetIntConfigVar('showpeaks'19)
end

  
reaper
.UpdateArrange() 
Yanick is offline   Reply With Quote