Great video! Seriously.
I will say that Punch and Roll is a top request with some higher-profile customers we've been working with and I've noticed other customers coming up with solutions (e.g. http://bloomsbury.digital/hands-free-punch-roll-adobe-audition-mac/).
The good news is that we have a scripting hook for Mix Paste. We use it internally for our automated testing. The bad news is that it is explicitly excluded from the public DOM at this point. It would be a method you could call on a wavedocument object. We won't be able to turn it on until our next update but private message me and we can talk about next steps forward.
Regarding sending raw keyboard commands to the app, that's a little limited due to security concerns, but if your CEP Extension isn't getting keyboard events, I would consider that a bug, so let's get that logged and we can look into that. Have you worked with CEP Extensions in other Adobe applications where this is working? It may be the case that we have it working on one platform, but not the other. I've seen those sorts of issues with mouse events before. Also, does the keyboard handling work on the CEP HTML Test extension? https://github.com/Adobe-CEP/Samples
Yep - I've used those other PNR solutions, which are usually based around hotkey injection. Unfortunately they can't do crossblends and the timing for the punch tends to be imprecise - and being able to automatically execute re-takes is also not possible. Basically they're a bit fragile and still leave audio artifacts at the punchin location, which was the main reason for putting this together (along with proper metronome and retake functionality)
So, I'm not sending raw key commands - I'm actually relying exclusively on
which is exposed for CEP extensions. However, the MixPaste dialog 'blocks' invocation of that command, hence my weird little timing dance. So I'm not asking to break any security measures - just to either be able to invoke that command while mixpaste dialogs are up, or to automate confirmation of mixpaste in some other way.
I'll PM you about that scripting hook, and thank you!