UniversalUIAClass 1.0.1
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package UniversalUIAClass --version 1.0.1
NuGet\Install-Package UniversalUIAClass -Version 1.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="UniversalUIAClass" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add UniversalUIAClass --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: UniversalUIAClass, 1.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install UniversalUIAClass as a Cake Addin #addin nuget:?package=UniversalUIAClass&version=1.0.1 // Install UniversalUIAClass as a Cake Tool #tool nuget:?package=UniversalUIAClass&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#UniversalUIAClass
Example
static void Main(string[] args)
{
ProcessStartInfo startInfo = new ProcessStartInfo(@"C:\Something.exe");
startInfo.WindowStyle = ProcessWindowStyle.Maximized;
Process.Start(startInfo);
UIA app = new UIA(1500);
app.AddProperty(Property.ClassName, "Button");
app.AddProperty(Property.Name, "Connect");
app.Invoke();
app.AddProperty(Property.AutomationID, "mat-input-0");
app.Invoke();
}
Methods
- FindFirst
- Exists
- Until
- Invoke
- Expand
- Collapse
- SelectionItem
- VizualizedItem
- Transform
- Write
- Window
- CloseWindow
- SendKey
- Children
public enum Property : int
{
Name = 30005,
ClassName = 30012,
LocalizedControlType = 30004,
AutomationID = 30011,
ControlType = 30003,
AriaRole = 30101,
FrameworkId = 30024
}
public enum Pattern : int
{
Invoke = 10000,
Value = 10002,
Selection = 10001,
ScrollItem = 10017,
LegacyIAccessible = 10018,
Window = 10009,
SelectionItem = 10010,
VirtualizedItem = 10020,
TransformPattern = 10016,
ExpandCollapse = 10005
}
enum WindowControls
{
SW_HIDE = 0,
SW_SHOWNORMAL = 1,
SW_NORMAL = 1,
SW_SHOWMINIMIZED = 2,
SW_SHOWMAXIMIZED = 3,
SW_MAXIMIZE = 3,
SW_SHOWNOACTIVATE = 4,
SW_SHOW = 5,
SW_MINIMIZE = 6,
SW_SHOWMINNOACTIVE = 7,
SW_SHOWNA = 8,
SW_RESTORE = 9,
SW_SHOWDEFAULT = 10,
SW_FORCEMINIMIZE = 11,
SW_MAX = 11
}
enum ButtonControls
{
// https://wiki.winehq.org/List_Of_Windows_Messages
BM_CLICK = 0x00F5,
BM_GETCHECK = 0x00f0,
BM_GETIMAGE = 0x00f6,
BM_GETSTATE = 0x00f2,
BM_SETCHECK = 0x00f1,
BM_SETDONTCLICK = 0x00f8,
BM_SETIMAGE = 0x00f7,
BM_SETSTATE = 0x00f3,
BM_SETSTYLE = 0x00f4
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0-windows7.0 is compatible. net7.0-windows was computed. net8.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0-windows7.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.