diff --git a/docx/CHANGELOG.md b/docx/CHANGELOG.md index 0551261..8111fb6 100644 --- a/docx/CHANGELOG.md +++ b/docx/CHANGELOG.md @@ -1,4 +1,21 @@ -# [0.47.2](https://github.com/shelllet/winui/compare/main...dev) (2025-10-13) +# [0.48](https://github.com/shelllet/winui/compare/main...dev) (2025-xx-xx) + +### Changed: +1. [查找窗口](./actions/window/FindWindow.md) 支持从多个相同标题或类名的窗口中选择需要处理的窗口。 +2. [窗口截图](./actions/media/CaptureWindow.md), 添加参数支持仅截图窗口。 +2. 修复搜索动作时,输入特殊字符崩溃问题。 +3. 支持插件功能 +4. 网络相关动作支持`QUIC`协议 +5. 添加[发送输入](./actions/network/SendInput.md),和[接收输入](./actions/network/ReceiveInput.md) 两个动作,可以同步多台电脑鼠标键盘操作。 + +### Note + +1. 使用管理员权限运行 *小友+*, 无法显示 *动作* 的拖动效果(已知问题)。 +2. 该版本由于内置了一些文字处理相关的模型,安装包大小已经超过 `300M`(未来版本中优化)。 +3. 下载(安装包):https://winui.net/_media/simple/小友+0.48.0-setup.x64.exe + + +## [0.47.2](https://github.com/shelllet/winui/compare/main...dev) (2025-10-13) ### Changed: 1. 修复管理员权限运行时,文件保存打开窗口无法弹出问题。 @@ -15,7 +32,7 @@ 3. 下载(安装包):https://winui.net/_media/simple/小友+0.47.2-setup.x64.exe -# [0.47.1](https://github.com/shelllet/winui/compare/main...dev) (2025-10-09) +## [0.47.1](https://github.com/shelllet/winui/compare/main...dev) (2025-10-09) ### Changed: 1. 修复打开低版本创建的档案时,复制、粘贴动作出现的错误。 @@ -29,7 +46,7 @@ 3. 下载(安装包):https://winui.net/_media/simple/小友+0.47.1-setup.x64.exe -# [0.47.0](https://github.com/shelllet/winui/compare/main...dev) (2025-09-22) +## [0.47.0](https://github.com/shelllet/winui/compare/main...dev) (2025-09-22) ### Changed: 1. 优化文字识别动作,文字识别结果已经更改为从上至下的顺序。 @@ -38,7 +55,7 @@ 4. 关机动作更新为 [SuspendSystem](./actions/system/SuspendSystem.md), 并且支持休眠。 5. 支持运行当前的工作流。 6. [退出流程] 动作更名,参考: [退出流程](./actions/control/Exit.md)。 -7. 增加 [域名查询](./actions/control/DomainQuery.md) 动作, 用于操持流程不退出。 +7. 增加 [域名查询](./actions/network/DomainQuery.md) 动作。 ### Note diff --git a/docx/_sidebar.md b/docx/_sidebar.md index 854aa91..1d7b603 100644 --- a/docx/_sidebar.md +++ b/docx/_sidebar.md @@ -175,7 +175,8 @@ - [数据接收](./actions/network/NetworkReceive.md) - [服务连接](./actions/network/NetworkConnect.md) - [域名查询](./actions/network/DomainQuery.md) - + - [发送输入](./actions/network/SendInput.md) + - [接收输入](./actions/network/ReceiveInput.md) - 统计分析 - [加载文档](./actions/pandas/LoadDocument.md) - [查询](./actions/pandas/DataFrameQuery.md) diff --git a/docx/actions/media/CaptureWindow.md b/docx/actions/media/CaptureWindow.md index 3b37869..7c20362 100644 --- a/docx/actions/media/CaptureWindow.md +++ b/docx/actions/media/CaptureWindow.md @@ -11,6 +11,9 @@ * 窗口 > 需要截图的窗口。如果为 *空* ,选择当前激活的前置窗口。 +* 索引 +> 如果不为空,则对应查找到的多个相同标题或类名的窗口的索引。 + * 坐标 > 要选择的 *ROI* 区域左上角位置,默认值 `(0, 0)`。*ROI* 区域之外,图像将置为黑色,该参数不影响输出图像尺寸。 * 尺寸 @@ -30,8 +33,6 @@ - - ## Changed * 0.45 diff --git a/docx/actions/network/ReceiveInput.md b/docx/actions/network/ReceiveInput.md new file mode 100644 index 0000000..fb2d4ba --- /dev/null +++ b/docx/actions/network/ReceiveInput.md @@ -0,0 +1,33 @@ +# 接收输入 +接收网络上的鼠标键盘事件。 + +![NetworkReceive](./images/12.png ':size=90%') + +## 子流程 +> 不支持 + +## 运行参数 + +* 主机 + +> 如果协议是 `TCP`, *IP* 必须为远程 *IP*, `UDP` 可以是远程 *IP*, 或者 `0.0.0.0` 接收广播数据, 端口必须为有效的端口,需要和发送端一致。 + +* 偏移坐标 +> 如果置为窗口,接收端会自动把窗口坐标映射为全局坐标。如果输入坐标, 接收端接收坐标时加上该坐标的值。 +* 协议 +> 支持 `UDP` 和 `TCP` 协议,建议使用 `UDP` 协议,提高鼠标键盘的传输速度。注意:发送和接收端的协议必须相同。 + +## 输出 + +> 无 + + +## 资源 + + +示例: https://github.com/shelllet/WinUi/blob/main/network/send_receive_input.simple + + + + + diff --git a/docx/actions/network/SendInput.md b/docx/actions/network/SendInput.md new file mode 100644 index 0000000..e5e3056 --- /dev/null +++ b/docx/actions/network/SendInput.md @@ -0,0 +1,31 @@ +# 发送输入 +通过网络,发送鼠标键盘事件。 + +![SendInput](./images/11.png ':size=90%') + +## 子流程 +> 不支持 + +## 运行参数 + +* 主机 +> *IP* 必须为本机*IP*, 端口为有有效的端口,比如:4433,该参数是主机地址,如果是`UDP`协议,*IP*: `0.0.0.0` 可以向局域网广播,鼠标键盘事件。 + +* 偏移坐标 +> 如果置为窗口,发送端会自动把全局坐标映射为窗口坐标。如果输入坐标, 发送端在发送坐标时加上该坐标的值。 + +* 协议 +> 支持 `UDP` 和 `TCP` 协议,建议使用 `UDP` 协议,提高鼠标键盘数据的传输效率。注意:发送和接收端的协议必须相同。 + +## 输出 + +> 无 + +### 其它 + +示例: https://github.com/shelllet/WinUi/blob/main/network/send_receive_input.simple + + + + + diff --git a/docx/actions/network/images/11.png b/docx/actions/network/images/11.png new file mode 100644 index 0000000..a6f1f0f Binary files /dev/null and b/docx/actions/network/images/11.png differ diff --git a/docx/actions/network/images/12.png b/docx/actions/network/images/12.png new file mode 100644 index 0000000..c0acfae Binary files /dev/null and b/docx/actions/network/images/12.png differ diff --git a/docx/actions/window/FindWindow.md b/docx/actions/window/FindWindow.md index 201bca3..5fa4a26 100644 --- a/docx/actions/window/FindWindow.md +++ b/docx/actions/window/FindWindow.md @@ -13,6 +13,9 @@ * 父窗口 > 默认为空,如果不为空,查找相应的子窗口,不为空,则查找当前系统所有的顶层窗口。可借助 *Spy++* 来辅助操作。 +* 索引 +> 如果不为空,则对应查找到的多个相同标题或类名的窗口的索引。 + * 标题 > 窗口标题,支持 [通配符匹配](./introduction/workflow/wildcard.md)。 @@ -31,8 +34,11 @@ +!> [Windows下的程序及热键监视神器——Spy++](https://zhuanlan.zhihu.com/p/355878952) +!> 附件: [spy++](https://gitlab.com/junwu/winui/-/raw/main/tools/spyxx.zip) -!> [Windows下的程序及热键监视神器——Spy++](https://zhuanlan.zhihu.com/p/355878952) +## Changed -!> 附件: [spy++](https://gitlab.com/junwu/winui/-/raw/main/tools/spyxx.zip) \ No newline at end of file +* 0.48 +> 增加 *索引* 参数。 \ No newline at end of file diff --git a/docx/actions/window/images/02.png b/docx/actions/window/images/02.png index bece420..504b598 100644 Binary files a/docx/actions/window/images/02.png and b/docx/actions/window/images/02.png differ