One app sending events to another app

Dear Support,

I have a music app that periodically stops and wants confirmation that someone is listening. Is it possible for me to monitor this music app from another app, detect this confirmation dialog, and programmatically click the button? Can this be done if the music app is OSA-compliant? Is that the only strategy?

Thanks! Brett

One app sending events to another app
 
 
Q