Autoengage VST by moving expression pedal

Hey everyone,

I want to autoengage wah plugin by moving expression pedal and turn it off when it is at 95% or above after a second.

This functionality is standard in Fractal Audio guitar processors and i got used to it, i would like to program something similar with GP5.

can anyone help to program that?

This can help you:

This is a script developed by another Fractal user.