UI Get Element Text

Đọc văn bản của một control vào biến.

Tự động hóa UIUIAutomationGetTextChỉ Windows

Công dụng

Đọc văn bản của một control vào biến.

Read a control's text into a variable.

Tham số

Tham sốKiểuBắt buộcMặc địnhMô tả
Window title (substring)string
Bắt buộc
Ví dụ: Calculator
Hỗ trợ biến
Find control bydropdown
Name · AutomationId · ControlType
Bắt buộcName
Control identifierstring
Bắt buộcName / AutomationId / ControlType depending on 'Find by'.
Ví dụ: OK
Hỗ trợ biến
Store result invariable
Bắt buộc
Ví dụ: value

Các lệnh Tự động hóa UI khác

Sẵn sàng tự động hóa việc bận rộn?

Bắt đầu dùng thử miễn phí 10 ngày hôm nay. Không cần thẻ, không ràng buộc.