Skip to content

Commit 2a94a5c

Browse files
committed
Merge branch 'dev' of https://github.com/shelllet/winui into dev
merge from 0.48.1
2 parents 8faa3bb + 0bd6276 commit 2a94a5c

14 files changed

Lines changed: 172 additions & 28 deletions

File tree

docx/CHANGELOG.md

Lines changed: 66 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,64 @@
1-
# [0.47.0](https://github.com/shelllet/winui/compare/main...dev) (2025-09-22)
1+
# [0.48.1](https://github.com/shelllet/winui/compare/main...dev) (2025-11-26)
2+
3+
### Changed:
4+
1. 鼠标键盘的模拟支持驱动模式,参考[工作流设置](./introduction/setting/workflow.md)
5+
6+
### Note
7+
8+
1. 使用管理员权限运行 *小友+*, 无法显示 *动作* 的拖动效果(已知问题)。
9+
2. 该版本由于内置了一些文字处理相关的模型,安装包大小已经超过 `300M`(未来版本中优化)。
10+
3. 下载(安装包):https://winui.net/_media/simple/小友+0.48.1-setup.x64.exe
11+
12+
13+
## [0.48](https://github.com/shelllet/winui/compare/main...dev) (2025-11-11)
14+
15+
### Changed:
16+
1. [查找窗口](./actions/window/FindWindow.md) 支持从多个相同标题或类名的窗口中选择需要处理的窗口。
17+
2. [窗口截图](./actions/media/CaptureWindow.md), 添加参数支持仅截图窗口。
18+
2. 修复搜索动作时,输入特殊字符崩溃问题。
19+
3. 支持插件功能
20+
4. 网络相关动作支持`QUIC`协议
21+
5. 添加[发送输入](./actions/network/SendInput.md),和[接收输入](./actions/network/ReceiveInput.md) 两个动作,可以同步多台电脑鼠标键盘操作。
22+
23+
### Note
24+
25+
1. 使用管理员权限运行 *小友+*, 无法显示 *动作* 的拖动效果(已知问题)。
26+
2. 该版本由于内置了一些文字处理相关的模型,安装包大小已经超过 `300M`(未来版本中优化)。
27+
3. 下载(安装包):https://winui.net/_media/simple/小友+0.48.0-setup.x64.exe
28+
29+
30+
## [0.47.2](https://github.com/shelllet/winui/compare/main...dev) (2025-10-13)
31+
32+
### Changed:
33+
1. 修复管理员权限运行时,文件保存打开窗口无法弹出问题。
34+
2. 优化快捷 *添加动作* 弹框功能。
35+
3. 修复管理员权限运行时,无法拖放动作的问题。
36+
4. 修复[键盘/鼠标宏重放](./actions/media/PlayRecord.md) 执行时无法退出流程问题。
37+
5. 修复模拟鼠标点击在手游客户端有时无作用问题。
38+
6. [窗口截图](./actions/media/CaptureWindow.md) 动作增加一个参数,方便仅保存窗口图像。
39+
40+
### Note
41+
42+
1. 使用管理员权限运行 *小友+*, 无法显示 *动作* 的拖动效果(已知问题)。
43+
2. 该版本由于内置了一些文字处理相关的模型,安装包大小已经超过 `300M`
44+
3. 下载(安装包):https://winui.net/_media/simple/小友+0.47.2-setup.x64.exe
45+
46+
47+
## [0.47.1](https://github.com/shelllet/winui/compare/main...dev) (2025-10-09)
48+
49+
### Changed:
50+
1. 修复打开低版本创建的档案时,复制、粘贴动作出现的错误。
51+
2. 修复 [打开浏览器](./actions/web/WebOpen.md) 动作的错误。
52+
3. 开启用户相关界面功能(实验性)。
53+
54+
### Note
55+
56+
1. 使用管理员权限运行 *小友+*, 无法显示 *动作* 的拖动效果(已知问题)。
57+
2. 该版本由于内置了一些文字处理相关的模型,安装包大小已经超过 `300M`
58+
3. 下载(安装包):https://winui.net/_media/simple/小友+0.47.1-setup.x64.exe
59+
60+
61+
## [0.47.0](https://github.com/shelllet/winui/compare/main...dev) (2025-09-22)
262

363
### Changed:
464
1. 优化文字识别动作,文字识别结果已经更改为从上至下的顺序。
@@ -7,13 +67,14 @@
767
4. 关机动作更新为 [SuspendSystem](./actions/system/SuspendSystem.md), 并且支持休眠。
868
5. 支持运行当前的工作流。
969
6. [退出流程] 动作更名,参考: [退出流程](./actions/control/Exit.md)
10-
7. 增加 [域名查询](./actions/control/DomainQuery.md) 动作, 用于操持流程不退出
70+
7. 增加 [域名查询](./actions/network/DomainQuery.md) 动作。
1171

1272
### Note
1373

1474
1. 使用管理员权限运行 *小友+*, 无法显示 *动作* 的拖动效果(已知问题)。
15-
2。该版本由于内置了一些文字处理相关的模型,安装包大小已经超过 `300M`
16-
3. 64位下载(x64):邀请你加入群组:小友+ http://yun.139.com/m/#/invitation?type=1&msgId=1227933999795726207
75+
2. 该版本由于内置了一些文字处理相关的模型,安装包大小已经超过 `300M`
76+
3. 下载(压缩包,解压覆盖本地文件):https://winui.net/_media/simple/小友+0.47.0.zip
77+
4. 下载(安装包):https://winui.net/_media/simple/小友+0.47.0-setup.x64.exe
1778

1879
## [0.46.0](https://github.com/shelllet/winui/compare/main...dev) (2025-07-22)
1980

@@ -27,7 +88,7 @@
2788
### Note
2889

2990
1. 使用管理员权限运行 *小友+*, 无法显示 *动作* 的拖动效果(已知问题)。
30-
2. 64位下载(x64):邀请你加入群组:小友+ http://yun.139.com/m/#/invitation?type=1&msgId=1227933999795726207
91+
2. 64位下载(x64):https://winui.net/_media/simple/小友+0.46.0-setup.x64.exe
3192

3293
## [0.45.0](https://github.com/shelllet/winui/compare/main...dev) (2025-06-13)
3394

docx/README.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,4 @@ _小友+_ 绝对不会嵌入任何广告、捆绑任何软件。也不会像国
3636

3737
- 软件下载:[https://winui.net/](./CHANGELOG.md)
3838

39-
- Youtube视频教学: [https://www.youtube.com/playlist?list=UULFs1P87PQvBDJAuJfkKRLqMQ](https://www.youtube.com/playlist?list=UULFs1P87PQvBDJAuJfkKRLqMQ)
40-
- Bilibili 站视频教学:[https://space.bilibili.com/652005178/channel/collectiondetail?sid=84951](https://space.bilibili.com/652005178/channel/collectiondetail?sid=84951)
41-
4239
- 如果你有 *Discord*, 加入 [Discord](https://discord.gg/b4MeYbJrfk) 讨论。
43-
44-
<div style="text-align:center;">
45-
46-
![共享群](./introduction/images/qrcode.jpg)
47-
48-
</div>

docx/_sidebar.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
- [小友+](/)
22
- [使用需知](./introduction/README.md)
33
- 软件安装
4-
- [直接安装](./introduction/installation/installed_by_exe.md)
5-
- [微软商店安装](./introduction/installation/installed_by_msix.md)
6-
- 安装问题
7-
- [新安装无法启动](./introduction/installation/question/quest1.md)
8-
- [覆盖安装无法启动](./introduction/installation/question/quest2.md)
9-
- 设置
10-
- [动作分组隐藏](./introduction/installation/setting/action_group_setting.md)
4+
- [直接安装](./introduction/installation/installed_by_exe.md)
5+
- [微软商店安装](./introduction/installation/installed_by_msix.md)
6+
- 安装问题
7+
- [新安装无法启动](./introduction/installation/question/quest1.md)
8+
- [覆盖安装无法启动](./introduction/installation/question/quest2.md)
9+
- 设置
10+
- [动作分组隐藏](./introduction/setting/action_group_setting.md)
11+
- [工作流设置](./introduction/setting/workflow.md)
12+
1113
- 流程介绍
1214
- [项目属性](./introduction/workflow/property.md)
1315
- [使用逻辑](./introduction/workflow/logic.md)
@@ -175,7 +177,8 @@
175177
- [数据接收](./actions/network/NetworkReceive.md)
176178
- [服务连接](./actions/network/NetworkConnect.md)
177179
- [域名查询](./actions/network/DomainQuery.md)
178-
180+
- [发送输入](./actions/network/SendInput.md)
181+
- [接收输入](./actions/network/ReceiveInput.md)
179182
- 统计分析
180183
- [加载文档](./actions/pandas/LoadDocument.md)
181184
- [查询](./actions/pandas/DataFrameQuery.md)

docx/actions/media/CaptureWindow.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,20 @@
1111
* 窗口
1212
> 需要截图的窗口。如果为 ** ,选择当前激活的前置窗口。
1313
14+
* 索引
15+
> 如果不为空,则对应查找到的多个相同标题或类名的窗口的索引。
16+
1417
* 坐标
1518
> 要选择的 *ROI* 区域左上角位置,默认值 `(0, 0)`*ROI* 区域之外,图像将置为黑色,该参数不影响输出图像尺寸。
1619
* 尺寸
1720
> 要选择的 *ROI* 区域的长宽。*ROI* 区域之外,图像将置为黑色,该参数不影响输出图像尺寸。
21+
22+
* 仅窗口
23+
> 如果选择`True`,仅截取窗口图像,否则截取全屏幕图像(窗口外区域填充黑色)。
24+
1825
## 输出
1926

20-
> 图像,参考:[`Image`](./types/Image.md),图像尺寸为窗口所在屏幕的尺寸
27+
> 图像,参考:[`Image`](./types/Image.md)
2128
2229

2330
## 资源
@@ -26,9 +33,10 @@
2633

2734

2835

29-
30-
3136
## Changed
3237

3338
* 0.45
3439
> 运行参数*中心坐标* 改为 *左上角坐标*
40+
41+
* 0.48
42+
> 添加 *仅窗口* 参数。
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# 接收输入
2+
接收网络上的鼠标键盘事件。
3+
4+
![NetworkReceive](./images/12.png ':size=90%')
5+
6+
## 子流程
7+
> 不支持
8+
9+
## 运行参数
10+
11+
* 主机
12+
13+
> 如果协议是 `TCP`, *IP* 必须为远程 *IP*, `UDP` 可以是远程 *IP*, 或者 `0.0.0.0` 接收广播数据, 端口必须为有效的端口,需要和发送端一致。
14+
15+
* 偏移坐标
16+
> 如果置为窗口,接收端会自动把窗口坐标映射为全局坐标。如果输入坐标, 接收端接收坐标时加上该坐标的值。
17+
* 协议
18+
> 支持 `UDP``TCP` 协议,建议使用 `UDP` 协议,提高鼠标键盘的传输速度。注意:发送和接收端的协议必须相同。
19+
20+
## 输出
21+
22+
>
23+
24+
25+
## 资源
26+
27+
28+
示例: https://github.com/shelllet/WinUi/blob/main/network/send_receive_input.simple
29+
30+
31+
32+
33+

docx/actions/network/SendInput.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# 发送输入
2+
通过网络,发送鼠标键盘事件。
3+
4+
![SendInput](./images/11.png ':size=90%')
5+
6+
## 子流程
7+
> 不支持
8+
9+
## 运行参数
10+
11+
* 主机
12+
> *IP* 必须为本机*IP*, 端口为有有效的端口,比如:4433,该参数是主机地址,如果是`UDP`协议,*IP*`0.0.0.0` 可以向局域网广播,鼠标键盘事件。
13+
14+
* 偏移坐标
15+
> 如果置为窗口,发送端会自动把全局坐标映射为窗口坐标。如果输入坐标, 发送端在发送坐标时加上该坐标的值。
16+
17+
* 协议
18+
> 支持 `UDP``TCP` 协议,建议使用 `UDP` 协议,提高鼠标键盘数据的传输效率。注意:发送和接收端的协议必须相同。
19+
20+
## 输出
21+
22+
>
23+
24+
### 其它
25+
26+
示例: https://github.com/shelllet/WinUi/blob/main/network/send_receive_input.simple
27+
28+
29+
30+
31+

docx/actions/network/images/11.png

186 KB
Loading

docx/actions/network/images/12.png

183 KB
Loading

docx/actions/web/WebOpen.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,12 @@
3030
* 流程:https://github.com/shelllet/WinUi/blob/main/web/openurl.simple
3131

3232

33+
## 注意事項
34+
35+
* 在 Windows 上使用 Selenium 讓 Chrome 載入預設的用戶資料目錄(User Data Directory)可以保留你的登錄狀態、瀏覽歷史、書籤和擴展程序等。但是新版的Chrome浏览器似乎不支持默认的用户配置。仍然会报出来「DevToolsActivePort」的错误。
36+
* **不要同時運行兩個 Chrome 實例:** 你不能在同一個時間,同時運行一個手動打開的 Chrome 瀏覽器和你用 Selenium 腳本啟動的、且使用相同用戶資料目錄的 Chrome 實例。這會導致「DevToolsActivePort」錯誤。
37+
* **路徑中的斜槓:** 在 Python 中,Windows 的路徑可以使用雙反斜槓 `\\` 或單正斜槓 `/`。在 Java 中,則需要使用雙反斜槓 `\\` 來作為轉義字元。
38+
* **不同作業系統的路徑:** 上述路徑是針對 Windows 10/11 的。如果你在 macOS 或 Linux 上,路徑會不同。你可以同樣使用 `chrome://version/` 來找到對應的正確路徑。
3339

3440
## 驱动
3541

docx/actions/window/FindWindow.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
* 父窗口
1414
> 默认为空,如果不为空,查找相应的子窗口,不为空,则查找当前系统所有的顶层窗口。可借助 *Spy++* 来辅助操作。
1515
16+
* 索引
17+
> 如果不为空,则对应查找到的多个相同标题或类名的窗口的索引。
18+
1619
* 标题
1720
> 窗口标题,支持 [通配符匹配](./introduction/workflow/wildcard.md)
1821
@@ -31,8 +34,11 @@
3134

3235

3336

37+
!> [Windows下的程序及热键监视神器——Spy++](https://zhuanlan.zhihu.com/p/355878952)
3438

39+
!> 附件: [spy++](https://gitlab.com/junwu/winui/-/raw/main/tools/spyxx.zip)
3540

36-
!> [Windows下的程序及热键监视神器——Spy++](https://zhuanlan.zhihu.com/p/355878952)
41+
## Changed
3742

38-
!> 附件: [spy++](https://gitlab.com/junwu/winui/-/raw/main/tools/spyxx.zip)
43+
* 0.48
44+
> 增加 *索引* 参数。

0 commit comments

Comments
 (0)