Ya'll may have seen me crushing my little brain noodle over the past while over screen cap vids of Sonar (and other crud). I've got it all sorted and made a loooong arsed vid (almost 5 hours) of how I did it if you want to check it out. I did create chapters with links in the description though to make it easy to navigate.
https://www.youtube.com/watch?v=SXEtm5_M9HI I'm using Mirillis Action! for the screencap software and Voicemeeter for audio routing and finally Reaper to record discrete audio of the system sounds (because you cannot record FROM one Sonar project into another one). There is way more info in there though that can likely be applied to various combinations of other programs for this purpose.
I did not script it and barely edited it. This was just a test of MANY things I've been wanting to do for a while.
Might help someone else trying to figure out this type of thing but really... I was just testing stuff for future adventures.
It is also intended to allow complete beginners to be able to set this type of thing up. I intend to record a "Quick Setup" guide of the programs involved for those who don't need the endless prattling and pontifimications.
Cheers.
PS: Many thanks to everyone who helped me along the way to get this all set up. I made sure to thank the forum in the credits. Ya'll rule.