
It turns out that you should be able to do the following: A quick search turned up this Stack Overflow question. I had to select my iPhone for the video/audio inputs in QuickTime using AppleScript. The following is the code hosted on a Public Gist. If you need to, you can always dive into the functions themselves. The first eight lines cover all necessary customization needs as they are just function calls. I may be biased, but the source code is organized quite well in my opinion.

This GIF demonstrates the automation that covers all seven manual steps.

