Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
U

uiautomation-rs

> 编程语言
Open source

The uiatomation-rs crate is a wrapper for windows uiautomation. This crate can help you make windows uiautomation API calls conveniently.

195 stars0 likes0 views
WebsiteGitHub

About

The uiatomation-rs crate is a wrapper for windows uiautomation. This crate can help you make windows uiautomation API calls conveniently.

Rust for windows uiautomation

The uiatomation-rs crate is a wrapper for windows uiautomation. This crate can help you make windows uiautoamtion API calls conveniently.

Usages

Start by adding the dependency of this crate to your Cargo.toml file. Make use of any windows uiautomation calls as needed.

Features

Supported Features

Feature Description Default
process Support process operations and filter by process id False
dialog Enable message boxes to show message False
input Support keyboard inputs True
clipboard Support clipboard operations False
pattern Support Microsoft UI Automation control patterns -
control Enable to wrapper ui element as control to simplify operations True
event Support Microsoft UI Automation events False
log Use log crate to print debug message False
screenshot Support screen capture with BMP/PNG output False
all Enable all the above features False

pattern is a feature that control depends on.

Default Features

  • input, control, pattern(introduced by the control dependency)

In order to be compatible with the version before v0.19.0, you should add process, dialog, event and clipboard features.

Examples

Print All UIElements

…

Open Notepad and Input Text

…

Get Properties As Variant

…

Simulate Keyboard Input

rust
use uiautomation::core::UIAutomation;

fn main() {
    let automation = UIAutomation::new().unwrap();
    let root = automation.get_root_element().unwrap();
    root.send_keys("{Win}D", 10).unwrap();
}

Add Event Handler

…

Capture Screenshot

…

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rustrparustuiautomationwindows

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言