How to trigger an FLT state from an EFB?

I want to create a plane state like:

READY FOR TAKE OFF

I have the FLT all configured but I need a way to trigger that FLT from say an EFB or button.

Hello @Boeing738

If you want to load the actual .FLT file, you would need to use SimConnect, specifically SimConnect_FlightLoad.
As far as I know, this is not something an EFB app can trigger directly.

However, you could still make an EFB button. The button could set an L:Var, then an custom XML behavior could listen for that L:Var and apply the required aircraft state by setting the needed variables or triggering the relevant events.