I’m trying to create a basic macro recording/playback system. If I wanted to select an open application (like notepad) to bring it to the front for input, how would I go about calling it by name or some other referanceable attribute?
I’m trying to create a basic macro recording/playback system. If I wanted to select
Share
Here is an example. Basically, get the Process, then call SetForegroundWindow on it’s MainWindowHandle:
You should be aware of the restrictions: