How to press the Export to File button

Hello,
I’m trying to find the API for the “Export to File” button in the market window so that i can press it with MouseClickLeft. But i’m unable to find it… Can someone help please.
Thx

Nevermind, found it:
foreach(var button in Measurement?.WindowRegionalMarket?.FirstOrDefault()?.ButtonText) {
if (button.Text.Equals(“Export to File”)) {
Sanderling.MouseClickLeft(button.RegionInteraction);
break;
}
}

1 Like