Open Application
AutomatR.Windows.Applications.OpenApplication
The "Open Application" activity in AutomatR is designed to execute multiple actions within a specified application. It allows you to open an application by providing the full file path to its executable, and optionally pass arguments to the application at startup. This activity is particularly useful for automating processes that involve interacting with specific applications.
Properties
Name | Description |
---|---|
Input | |
Application Path | The full file path where the executable file of the application is located. String variables containing the path to the application executable. |
Arguments | The parameters to be passed to the application at startup. This property allows you to open a specific file with the specified application. String variables containing the arguments. |
Misc | |
Display Name | Provides a customizable name for the activity displayed in the workflow. Enhances clarity and organization within the automation project. String variables containing the desired display name. |
Optional | |
Delay | Specifies the amount of time (in seconds) to wait before executing the "Open Application" activity. This can be useful for handling synchronization issues. Integer variables containing the delay duration. Ex.: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1. |
How to use:
- Drag and drop the "Open Application" activity onto the workflow.
- Configure the properties by specifying the full file path to the application executable and, if needed, the arguments to be passed at startup.
- Optionally, configure the delay for synchronization purposes.
- Execute the workflow to open the specified application.
Example: Consider an example where the "Open Application" activity is used to open Notepad:
Open Application:
Path: "C:\Windows\System32\notepad.exe"
Arguments: "C:\Path\To\File.txt"
Delay: 2
In this example, the activity opens Notepad and passes the argument "C:\Path\To\File.txt" to open a specific file. The delay of 2 seconds allows time for the application to start before proceeding with subsequent activities in the workflow.