Overview
This workload automates the process of saving a file to a specified location in a defined application, tracking the save progress with a custom timer, and closing the application once the save is complete.
Summary
The workload performs the following actions:
- Save a file to a specified location.
For example, open a large .xlsx file in Excel, save it to a defined path, start a timer after the file begins saving, stop the timer when the window title indicates the file is saved, and then close the application.
The script will:
-
-
Find the window title, which appears once the file is loaded.
-
Open the Save As dialog box using the defined keyboard shortcut.
-
Wait for the Save As dialog box to appear, then locate the File Name field.
-
Enter the defined file destination path into the File Name field, then submit the Save As dialog.
-
Start the custom timer.
-
Wait for the defined window title to appear, which indicates the file has finished saving.
-
-
Stop the custom timer.
-
Close the application.
-
Disclaimer
This workload is provided as-is and may require additional configuration and customization to function properly in each unique environment. For further customization through Professional Services, please consult with the Support and Services team. For more self-help information on workload crafting and implementation, refer to the Application Customization section.
For more details, see the top of the attached .cs file.