Get source code from here
UIDeskAutomation is a software that can be used for creating automated tasks for Windows applications based on their user interface.
This tool is free to use and free to redistribute.
Requirements: Windows Vista or later, .NET Framework 4.0 or later, PowerShell 3.0 or later.
Here you can download a C# sample
project that can be used to automate Wordpad application.
What does it do?
UIDeskAutomation is a software based on Microsoft UI Automation technology and it has 3 components: UIDeskStudio, UIDeskAutomation library and UIDeskAutomationSpy.
The studio can be used for managing and/or running scripts. The Spy tool can be used for writing the scripts.
Stand-alone scripts can also be written to do some automated tasks for Windows applications.
The library can be used with any scripting language that supports .NET (like PowerShell) or can be used in a .NET project as a third-party library.
For PowerShell, there is a cmdlet "Get-Engine" that can be used as a starting point in your script or you can just
use "Add-Type -Path" standard cmdlet and specify the location where this software is installed.
In the installation folder (%Program Files%/dDeltaSolutions/UIDeskAutomation/Samples) you can find
two sample projects that can be opened with UIDeskStudio and some stand alone scripts that do some
The stand-alone sample scripts show how this tool can be used to create automated tasks
to automate some actions that are usually repeatedly done by user using the UI of applications.
Some sample scripts work only on Windows 10, some on Windows 7 and some on all Windows versions
and they are automatically doing some computations using Calculator and Notepad standard applications
which comes with Windows OS.
For more information about how the spy utility can be used you can visit this page. The ideea is to copy-paste the descriptor into your script code.
For more information about UIDeskStudio and how can be used see Documentation page.