How Can We Help?
< All Topics

The Close Current Window command won’t close the window because a Save Changes? message appears.

I’m using the Close Current Window command to close my application. Before it closes, a Save changes to file? message appears. Macro Express won’t close this window.

Using the Close Current Window command will not work in this situation. The macro waits until the window is closed before continuing. The window can’t close because of the save window being open. So you’re stuck in a loop.

Instead of using the Close Current Window command, use a keystroke sequence to close the application. In many programs you would use ALT F X. Place this sequence <ALT>fx in the Text Type command. This activates the application’s File Menu and then Exits the program. The Save window will appear and your next command in Macro Express will function correctly in the Save Window.

– Applies to: Macro Express and Macro Express Pro