中文 | English
Window
This document is lengthy and has no English translation yet.
The section outline below mirrors the Chinese source document; see window.md for the original.
- 模块概述
- 窗口句柄(HWND)
- 坐标系统
- 查找窗口
- find(title)
- 激活窗口
- activate(hwnd)
- 获取前台窗口
- get_foreground() / getForeground()
- 获取窗口标题
- get_title(hwnd) / getTitle(hwnd)
- 获取窗口边界
- get_bounds(hwnd) / getBounds(hwnd)
- 等待窗口出现
- wait_for(title, timeout?) / waitFor(title, timeout?)
- 完整示例
- 启动应用程序并操作
- 可用接口
- 窗口查找与激活
- 窗口信息获取