I have an external excel macro that has a button control which opens a "Save Print Output As" dialog box on click.
Once this popup appears control works except the "Save Print Output As" foreground window. At times , there are more than one "Save Print Output As" window.
Now, desktop automation is not working as I cannot identify the control. So I tried using title and class properties and send keys later but it does not work as well.
Is there any script or other way to wait for popup and then save file.

