Simconnect event for toggling AI co-pilot?

Is there a way we can toggle the "A.I. Control Aircraft and Comms function in MSFS using Simconnect, or anything else?

Maybe there’s an undocumented Simconnect event?

I’d like to be able to control these two options programmatically without sending key presses:

image

Thanks,

Good questoin, I want to toggle the AI Manage Radio Comms and didn’t find it

If you can identify the relevant sim variable you might be able to add it to the MobiFlight module events list. From there it’s just normal SimConnect stuff.