This "should" be amazing so thanks in advance but..
I can't get it working yet
EDIT: got it working! I forgot I had to control+S the pasted code in the video processor before saving a preset doh!
Works now and is great! Should really be a default preset in reaper though Justin/Schwa! This is essential for a lot of media work!
Maybe I'm being dumb but I tried to paste your code in several different ways and still can't make it work.
Tried pasting and saving as preset to video processor effect but get an error of bad code.
Tried pasting as if it was a JS effect into an empty text doc with no extension and that didn't work either.
What's the right way? thanks!