It doesn’t seem to work for me right now in my current version of Renoise. I use a Mac as well, so don’t know how much that influences things.
Edit: I found your script toggle via Tools > Ledger’s Scripts > Vel Automation. I’m a dummy. Thanks for making such a great tool