Activate a running Windows application
- Last UpdatedJul 24, 2024
- 1 minute read
In a script, you can activate a running Windows application by using the ActivateApp() function. This brings the specified application to the foreground and gives it focus.
You need to do the following before activating a running Windows application:
-
Find the application title or Windows task list name. See Retrieve the application title of a running application.
-
Ensure the Windows application is running. See Check if an application is running.