Windows
This step helps you work with a Windows desktop and run Windows applications.
Properties
Specify the following properties to run an application.
- Device
- Select the device where you want to open an application.
- Action
- Select the action to perform.
- Executable
-
-
Specify the path to the application to execute. You can use local drive path or network path.
-
For the built-in Windows applications, you can specify the process name, such as calc.
The following example provides several ways to start the Calculator application.
- calc
- calc.exe
- C:\\Windows\\System32\\calc.exe
- C:\Windows\System32\calc
- C:/Windows/System32/calc
- C://Windows//System32//calc.exe
Specify the network path as follows:
\\MyServer\shared\reportform.exe
-
- Working Directory (optional)
- Specify the path to the application's working directory. For example, you can use this path if you have applications with the same name located in different folders.
- Arguments (optional)
- Specify any arguments for the application if necessary. For example, if you specify "kofax" for a web browser application, the browser opens the https://www.kofax.com website.
- Interactive (optional)
- Select this option to make sure the program started by the robot is not started as a background application and the robot can interact with this program. This option is helpful if Windows treats Kofax RPA Desktop Automation Service as a background application, thus starting some applications in the background preventing the robot to interact with them.
- Start maximized (optional)
- Starts a program in a maximized window.
If you upgrade your Kofax RPA installation to version 11.2, the following options are added to all existing robots with this step automatically: Interactive (not selected by default) and Start maximized (selected by default).
Step example
The following example shows Windows step properties that help you open the text.txt file located in C:\Temp using the Notepad application.
-
Action: Execute
-
Executable: notepad.exe
-
Working Directory: C:\Temp
-
Arguments: text.txt
Application actions
When working with Microsoft Edge in Internet Explorer mode, you can use the following actions on the Application Action menu that is available when you right-click the Microsoft Edge in Internet Explorer mode tab in the Recorder View. These actions are available only if the computer that the Desktop Automation Service is running on has Microsoft Edge in Internet Explorer mode opened, and are applied to the entire application.
The display scaling for Microsoft Edge in Internet Explorer mode opened on the computer running the Desktop Automation Service is automatically set to 100% and cannot be changed.
Action | Description |
---|---|
Focus | Adds a step to bring the selected application to focus . |
Execute JavaScript | Adds a step to execute JavaScript on the current Microsoft Edge in Internet Explorer mode page.
|
Component actions
When working with Microsoft Edge in Internet Explorer mode, you can use the following actions on the Component Action menu. These actions are available only if the computer that the Desktop Automation Service is running on has Microsoft Edge in Internet Explorer mode opened.
The display scaling for Microsoft Edge in Internet Explorer mode opened on the computer running the Desktop Automation Service is automatically set to 100% and cannot be changed.
Action |
Description |
---|---|
Set Keyboard Focus |
Sets keyboard focus on the selected component to use keyboard input. |
Select Option |
This option is available only when a web page is loaded in Microsoft Edge in Internet Explorer mode. Make sure that the compatibility view is disabled for a given website. If the website is Intranet website, make sure that "Open this page in Compatibility view" is not selected.
|
Step update
If the background information used by the Windows step has changed, such as, the device information has been updated, a warning appears indicating that something has changed. You can update the Windows step with the new information by clicking Update step from the context menu.