Macro to extend Mac screen to iPad and move current application in focus to full screen on the iPad?

Hi Team

I can't quite figure out how to automate this, and it'd be nice. Step I take today:

  1. Control (upper right on mac) -> Screen Mirror -> iPad -> use as separate display
  2. Drag the app into the new screen.
  3. Use the app on the iPad (uniquely interesting to me because I can draw)
  4. Clean-up (stop screen casting to the iPad).

Is there a way to toggle this whole thing on and off via KM?