I'm using WinActivate and I am able to bring up the window but the window then becomes not active / selected (the title bar in the window is grayed instead of the dark blue or bright color when the window is selected). I would need to click on the window and manually perform the next step in the macro before the rest of the macro will run. Sometimes when I run the macro it runs perfectly and the window comes up and stays activated. But other times the macro stalls after the window is brought up but I notice the window is not really selected/activated (the title bar of the window dims with the appearance similar to when I click outside the window). I've tried WinRestore and still getting the problem.
I think the macro works when the window I want to activate is not minimized. But if I minimize the window and then run the macro, the winActivate will bring the window up but the title bar of the window is gray like the window is not active. The macro will stall until I click on the window and manually complete the next step in the macro. I've tried to left click on the window after the window is brought up but for some reason it doesn't work and the macro will not activate the window and stall until I click on the window and manually complete the next step in the macro (it is like the macro treats it like I didn't even add the extra step to click on the window).