Skip to main content

Crate automata_windows

Crate automata_windows 

Source

Structs§

Desktop
Entry point for UI automation: enumerate windows and launch applications.
ElementInfo
Properties of a UI element probed at a point.
Locator
Scoped element finder: searches within a root element for a selector match.
MouseHook
NoBrowser
No-op Browser stub for non-Windows platforms.
Overlay
TaskbarButton
UIElement
UiaProbe

Enums§

ClickType
Type of mouse click to perform.
ScrollAxis
Direction for a scroll wheel event.
Selector
How to locate a UI element within a parent.
UiError
Error type for UI automation operations.
WindowAction
Window state action for set_window_state.

Functions§

activate_task_view_window
activate_window_preflight
clipboard_read
clipboard_write
dismiss_dialog_button
focus_app_by_name
foreground_pid
get_cursor_pos
get_process_name
init_com
Initialise COM (MTA) on the calling thread. Call once before using any UIA functions.
init_logging
Initialise logging: coloured stdout (Info for everything, override with RUST_LOG) and optional file (Info for third-party crates, Debug for workspace crates).
init_logging_file_only
File-only logger — no stdout output. Used in pipe mode (spawned by automata-client).
key_press
kill_process_by_pid
list_processes
list_task_view_windows
list_taskbar_buttons
mouse_click
mouse_drag
mouse_move
mouse_scroll
move_cursor
parse_window_count
scroll_wheel
send_ctrl_c
set_window_bounds
set_window_state
show_desktop
type_text

Type Aliases§

Result