Report Using Controls on two dialog windows in Macro Express and Macro Express Pro Posted October 6, 2016 In my experience some programs have consistent Window Controls. Others, however, create a new Window Control every time the program runs. I happen to have macros that interact with a program somewhere in the middle. Most of the time the Window Control is consistent but sometimes it changes. To get around this, when my macro interacting with this program has a problem with the Window Control I add the new Window Control to my macro. It looks like this: Get Control: (CLIENT.EXE) Using z-order -> %Description% // Description box 6-13-12 If Control "%Description%" Does Not Exist Get Control: (CLIENT.EXE) Using z-order -> %Description% // Description box End If If Control "%Description%" Does Not Exist Get Control: (CLIENT.EXE) Using z-order -> %Description% // Description box 7-8-11 End If Fortunately, there seems to be a limited number of Window Controls for this element. So a check for three different Window Controls works. I do not know whether any specific one of the different ways of identifying a Window Control is more or less reliable. I usually try the default (z-order) value first. If that does not work I will try the next (contents) and if that doesn't work then the last choice (coordinates). The Capture Control command requires that you know the X/Y position of an element but the Window Control for that element works correctly until the program is restarted.