Press and hold trigger (with midi note trigger)

Take a look a the technique used in this macro:
MACRO: Trigger Option Using Long Press of HotKey [Example]

I think it does what you are asking for, but you may need to adjust the timing to suit your needs.