Skip to content

Commit 5f20564

Browse files
committed
Merge branch 'dev' of https://github.com/shelllet/winui into dev
updatee
2 parents d575e97 + c694aae commit 5f20564

265 files changed

Lines changed: 1706 additions & 565 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docx/CHANGELOG.md

Lines changed: 49 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,52 @@
1-
# [0.43.0](https://github.com/shelllet/winui/compare/main...dev) (2025-04-07)
1+
# [0.46.0](https://github.com/shelllet/winui/compare/main...dev) (2025-07-22)
2+
3+
### Changed:
4+
1. [枚举窗口](./actions/window/EnumWindows.md) 动作不再支持异步处理。
5+
2. 优化绘图动作运行时参数。
6+
3. 优化 `Web` 测试 [打开浏览器](./actions/web/WebOpen.md)动作。
7+
4. 优化 浏览器 [获取 Cookies](./actions/web/WebCookies.md) 动作。
8+
5. 优化 [视频下载](./actions/network/VideoDownload.md) 动作。
9+
10+
### Note
11+
12+
1. 使用管理员权限运行 *小友+*, 无法显示 *动作* 的拖动效果(已知问题)。
13+
3. 64位下载(x64):邀请你加入群组:小友+ http://yun.139.com/m/#/invitation?type=1&msgId=1227933999795726207
14+
15+
## [0.45.0](https://github.com/shelllet/winui/compare/main...dev) (2025-06-13)
16+
17+
### Changed:
18+
1. 添加最近打开窗口,方便打开流程。
19+
2. 更新动作预览功能(现在会从流程入口开始执行到该动作执行完结束)。
20+
3. 保存图像动作,支持把图像保存为*PDF*文件(文件名称以 `.pdf` 结尾)。
21+
4. 截图动作中的*ROI* *中心位置* 更改为图像 *左上角*
22+
5. *窗口截图* 动作输出图像大小调整为窗口所在屏幕大小。
23+
24+
### Note
25+
26+
1. 使用管理员权限运行 *小友+*, 无法显示 *动作* 的拖动效果(已知问题)。
27+
2. 此版本会清空缓存目录:`%LOCALAPPDATA%/Simple`
28+
3. 64位下载(x64):https://winui.net/_media/simple/小友+0.45.0-setup.x64.exe
29+
30+
## [0.44.0](https://github.com/shelllet/winui/compare/main...dev) (2025-05-03)
31+
32+
### Changed:
33+
1. [相机类型](./actions/type/TypeCamera.md) 动作支持工业 USB3/GIGE 接口相机,比如海康相机。
34+
2. 更新 [文字识别](./actions/ai/PaddleOCR.md) 动作,运行加载其它语言模型,用来识别中英文以外的文字。
35+
3. 更新 [文字识别(Tesseract)](./actions/ai/TesseractOCR.md) 动作, 支持基于 *Tesseract* (常用来识别特殊字体)的文字识别。
36+
4. 添加动作菜单*缓存对象*。 用来解决 某些动作反复执行时,由于内置对象的初始化比较耗,导致不必要的时间开销。
37+
5. 动作支持借助脚本更新运行时参数,详情参考动作说明。
38+
6. 修复导入其它流程崩溃问题。
39+
7. 修复 Web 自动化浏览器无正常退出问题。
40+
8. 修复 [图像匹配](./actions/detection/MatchImage.md) 不显示另 `Else` 连接点。
41+
9. 修复 打开流程后,按 *Enter* 键崩溃问题。
42+
43+
### Note
44+
45+
1. 使用管理员权限运行 *小友+*, 无法显示 *动作* 的拖动效果(已知问题)。
46+
2. 64位下载(x64):https://winui.net/_media/simple/小友+0.44.0-setup.x64.exe
47+
48+
49+
## [0.43.0](https://github.com/shelllet/winui/compare/main...dev) (2025-04-07)
250

351
### Changed:
452
1. 增加[图像匹配](./actions/detection/MatchImage.md) 动作。

docx/README.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
# 小友+
22

3-
一个简单的 _RPA_ 工具 ,它可以使用图形化的界面,不用编程就可以方便地设计出各种自动化的流程,然后自动执行重复性的手动任务,从而节省了企业的时间、员工工作量,并减少了麻烦。例如可以通过图像识别,并借助鼠标键盘模拟帮你完成各种各样的繁复操作。
3+
一个简单的 _自动化_ 工具 ,它可以使用图形化的界面,不用编程就可以方便地设计出各种自动化的流程,然后自动执行重复性的手动任务,从而节省了企业的时间、员工工作量,并减少了麻烦。例如可以通过图像识别,并借助鼠标键盘模拟帮你完成各种各样的繁复操作。
44

5-
不同于其它大多数*RPA*软件(又大又慢),_小友+_ 充分考虑了性能和执行效率和流程设计的方便性。 _小友+_ 小、快而简单。并且界面更美观和现代化。
5+
即有传统 *RPA* 的功能,又有视觉图像处理的能力,还可以对接 _USB_相机或者工业相机。
6+
7+
_小友+_ 充分考虑了性能和执行效率和流程设计的方便性。 _小友+_ 小、快而简单。并且界面更美观和现代化。
68

79
_小友+_ 绝对不会嵌入任何广告、捆绑任何软件。也不会像国内某大厂一样耍流氓!比如安装的时候,加入各种捆绑,一不小心就装了某家的全家桶。在卸载的时候还要弄个脑筋急转弯,让你怀疑智商,甚至怀疑人生。
810

@@ -27,16 +29,20 @@ _小友+_ 绝对不会嵌入任何广告、捆绑任何软件。也不会像国
2729

2830
#### [截图](https://winui.net/)
2931

30-
![小友+](https://winui.net/introduction/images/01.png)
32+
![小友+](./introduction/images/01.png)
3133

3234
- 开发版文档:https://shelllet.github.io/winui/#/
33-
- 示例流程https://github.com/shelllet/winui
35+
- 示例仓库https://github.com/shelllet/winui
3436

35-
- 版本下载[https://winui.net/](./CHANGELOG.md)
37+
- 软件下载[https://winui.net/](./CHANGELOG.md)
3638

37-
- YT: [https://www.youtube.com/playlist?list=UULFs1P87PQvBDJAuJfkKRLqMQ](https://www.youtube.com/playlist?list=UULFs1P87PQvBDJAuJfkKRLqMQ)
38-
- B 站[https://space.bilibili.com/652005178/channel/collectiondetail?sid=84951](https://space.bilibili.com/652005178/channel/collectiondetail?sid=84951)
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)
3941

4042
- 如果你有 *Discord*, 加入 [Discord](https://discord.gg/b4MeYbJrfk) 讨论。
4143

42-
- 微信交流群,可以从页面下面的评论处扫描加入沟通交流,及时解决使用中的问题.
44+
<div style="text-align:center;">
45+
46+
![共享群](./introduction/images/qrcode.jpg)
47+
48+
</div>

docx/_coverpage.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
# 小友+
44

5-
> A lightweight and fast-running RPA (Robotic Process Automation) tool that provides a graphical interface. Users can design various automation processes without the need for programming.
5+
> This lightweight and fast-running computer automation tool empowers users with its intuitive graphical interface, making it incredibly easy to design and implement a wide array of automation processes without the need for any programming knowledge. It's designed for anyone, from beginners to experienced professionals, to streamline their workflows effortlessly.
66
77

88
- Right now support down to build 17763 (version 1809/October 2018 Update) of Windows 10..
99

10-
[微软商店](https://apps.microsoft.com/store/detail/XP9BRHTXN0Z3V7)
10+
[微软商店](https://apps.microsoft.com/detail/xp9lv7v0p6s74z?hl=en-US&gl=CN)
1111
[下载](https://api.winui.net/simple/v5/download_latest ':id=simple')
1212

1313

docx/_sidebar.md

Lines changed: 34 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,25 @@
1414
- [鼠标/键盘宏录制](./introduction/workflow/record)
1515
- [变量](./introduction/workflow/variable.md)
1616
- [资源](./introduction/workflow/resources.md)
17+
- [动作](./introduction/workflow/action.md)
1718
- [流程操作技巧](./introduction/workflow/skill.md)
18-
- [通配符匹配](./introduction/workflow/wildcard.md)
19-
- [Glob模式匹配](./introduction/workflow/glob.md)
19+
- 浏览器
2020
- [Web 定位策略](./introduction/webdriver/locators.md)
21+
- [WebDriver 下载](./introduction/webdriver/download.md)
22+
- [浏览器配置目录](./introduction/webdriver/browser_directory.md)
2123
- [UIAutomatorViewer 工具](./introduction/android/uiautomatorviewer.md)
24+
25+
- 字符匹配
26+
- [Glob模式](./introduction/mixed/glob.md)
27+
- [通配符](./introduction/mixed/wildcard.md)
28+
29+
- AI
30+
- [Tesseract 支持的语言](./introduction/tesseract/Languages_Scripts.md)
31+
- [Tesseract 数据文件](./introduction/tesseract/Data-Files.md)
32+
- [Tesseract 5 的训练](./introduction/tesseract/tesstrain.md)
33+
- [安装 CUDA](./introduction/mixed/CUDA.md)
34+
- [cuDNN 和 CUDA 版本对应关系](./introduction/mixed/cuDNN.md)
35+
- [Paddle2ONNX模型转化](./introduction/mixed/paddle2onnx.md)
2236
- [动作](./actions/README.md)
2337
- 系统
2438
- [等待](./actions/system/Wait.md)
@@ -40,14 +54,14 @@
4054
- [写内存](./actions/system/WriteMemory.md)
4155
- [附加进程](./actions/system/AttachProcess.md)
4256
- 异步操作
43-
- [定时器](./actions/async/WorkTimer.md)
44-
- [定时任务](./actions/async/WorkTask.md)
45-
- [工作线程](./actions/async/WorkThread.md)
46-
- [异步结束](./actions/async/WorkExit.md)
47-
- [异步启动](./actions/async/WorkBegin.md)
48-
- [状态切换](./actions/async/WorkReset.md)
49-
- [等待事件](./actions/async/WhenEvent.md)
50-
- [异步等待](./actions/async/WorkWait.md)
57+
- [定时器](./actions/asynchronous/WorkTimer.md)
58+
- [定时任务](./actions/asynchronous/WorkTask.md)
59+
- [工作线程](./actions/asynchronous/WorkThread.md)
60+
- [异步结束](./actions/asynchronous/WorkExit.md)
61+
- [异步启动](./actions/asynchronous/WorkBegin.md)
62+
- [状态切换](./actions/asynchronous/WorkReset.md)
63+
- [等待事件](./actions/asynchronous/WhenEvent.md)
64+
- [异步等待](./actions/asynchronous/WorkWait.md)
5165
- 文件系统
5266
- [读取文件](./actions/filesystem/FileRead.md)
5367
- [文件写入](./actions/filesystem/FileWrite.md)
@@ -134,13 +148,14 @@
134148
- 深度学习
135149
- [目标分类](./actions/ai/ImageClassification.md)
136150
- [对象检测](./actions/ai/ObjectDetection.md)
137-
- [文字识别](./actions/ai/ImageOCR.md)
151+
- [文字识别](./actions/ai/PaddleOCR.md)
138152
- [文本块检测](./actions/ai/TextDetection.md)
139153
- [二维码识别](./actions/ai/QRCode.md)
140154
- [条码识别](./actions/ai/BarcodeDetector.md)
155+
- [文字识别(Tesseract)](./actions/ai/TesseractOCR.md)
141156
- 媒体
142157
- [窗口截图](./actions/media/CaptureWindow.md)
143-
- [全屏截图](./actions/media/CaptureFullScreen.md)
158+
- [全屏截图](./actions/media/CaptureScreen.md)
144159
- [活动窗口截图](./actions/media/CaptureActiveWindow.md)
145160
- [声音播放](./actions/media/MediaPlay.md)
146161
- [键盘/鼠标宏重放](./actions/media/PlayRecord.md)
@@ -186,7 +201,7 @@
186201
- [切换框架](./actions/web/WebSwitchToFrame.md)
187202
- [重置框架](./actions/web/WebFocusFrameDefault.md)
188203
- [元素截图](./actions/web/WebScreenshot.md)
189-
- [获取 Cookie](./actions/web/WebCookies.md)
204+
- [获取 Cookies](./actions/web/WebCookies.md)
190205
- [执行脚本](./actions/web/WebExecute.md)
191206
- [动作链*执行](./actions/web/WebActionChainsPerform.md)
192207
- [动作链.点击](./actions/web/WebActionClick.md)
@@ -236,6 +251,7 @@
236251
- [关系运算](./actions/control/RelationalOperator.md)
237252
- [参数](./actions/control/Param.md)
238253
- [分组](./actions/control/GroupAction.md)
254+
- [软触发](./actions/control/SoftwareTrigger.md)
239255
- 算法
240256
- [分割字符串](./actions/algorithm/SplitString.md)
241257
- [合并字符串](./actions/algorithm/JoinString.md)
@@ -340,4 +356,9 @@
340356
- [WebLocated](./enums/WebLocated.md)
341357
- [ModuleOption](./enums/ModuleOption.md)
342358
- [BARCODE_Encoding](./enums/BARCODE_Encoding.md)
359+
- [PageSegMode](./enums/PageSegMode.md)
360+
- [CameraTriggerActivation](./enums/CameraTriggerActivation.md)
361+
- [CameraTriggerSource](./enums/CameraTriggerSource.md)
362+
- [CameraType](./enums/CameraType.md)
363+
- [CookiesFormat](./enums/CookiesFormat.md)
343364
- [Changelog](./CHANGELOG.md)

docx/actions/ai/ImageClassification.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,9 @@ import simple;
3636
示例 https://github.com/shelllet/WinUi/blob/main/dnn/ImageClassification.simple
3737

3838

39-
<iframe type="text/html" height="640px" src="https://www.youtube.com/embed/VzygdUOIKns" frameborder="0"></iframe>
4039

41-
<iframe src="//player.bilibili.com/player.html?bvid=BV1ju411F7GA&page=1&autoplay=0" height='640px' scrolling="no" frameborder="no" framespacing="0" allowfullscreen="true"></iframe>
40+
41+
4242

4343

4444
!> ONNX Model Zoo: https://github.com/onnx/models

docx/actions/ai/ObjectDetection.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,5 @@ import simple;
3939
示例 https://github.com/shelllet/WinUi/blob/main/dnn/ObjectDetection.simple
4040

4141

42-
<iframe type="text/html" height="640px" src="https://www.youtube.com/embed/yV5wdgmEXrw" frameborder="0"></iframe>
4342

44-
<iframe src="//player.bilibili.com/player.html?bvid=BV1Jc41167Dr&page=1&autoplay=0" height='640px' scrolling="no" frameborder="no" framespacing="0" allowfullscreen="true"></iframe>
43+
Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# 文字识别
22
识别图像中的中文/英文文字。
33

4-
![ImageOCR](./images/03.png ':size=90%')
4+
![PaddleOCR](./images/03.png ':size=90%')
55

66
## 子流程
77
> 不支持
@@ -20,14 +20,21 @@
2020
* 角度分类器
2121
> 指定是否使用角度分类器,默认识别:0°、90° 、270°。 如果使用,则可识别旋转180°的图片。如果文本没有旋转180°,为了性能,请不要使用该选项。其它文本旋转角度无法准确识别。
2222
23+
* 检测模型
24+
> 检测模型文件,用于非内置语言检测。
25+
* 分类器模型
26+
> 角度分类模型文件,用于非内置语言检测。
27+
* 识别模型
28+
> 识别模型文件,用于非内置语言检测。
29+
* 字典文件
30+
> 字典文件,参考:[Paddle2ONNX模型转化与预测](./introduction/mixed/paddle2onnx.md)
2331
## 输出
2432

2533
> 识别结果, 参考: [`RecognitionResults`](./types/RecognitionResult.md)
2634
2735
### 其它
2836

29-
示例 https://github.com/shelllet/WinUi/blob/main/dnn/ImageOCR.simple
37+
示例 https://github.com/shelllet/WinUi/blob/main/dnn/PaddleOCR.simple
38+
3039

31-
<iframe type="text/html" height="640px" src="https://www.youtube.com/embed/-XdfKlw-vgQ" frameborder="0"></iframe>
3240

33-
<iframe src="//player.bilibili.com/player.html?bvid=BV17N4y1S7xm&page=1&autoplay=0" height='640px' scrolling="no" frameborder="no" framespacing="0" allowfullscreen="true"></iframe>

docx/actions/ai/QRCode.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,5 @@ import simple;
2828
示例 https://github.com/shelllet/WinUi/blob/main/dnn/QRCode.simple
2929

3030

31-
<iframe type="text/html" height="640px" src="https://www.youtube.com/embed/wzw60xVxqE8" frameborder="0"></iframe>
3231

33-
<iframe src="//player.bilibili.com/player.html?bvid=BV1cc411Q7hw&page=1&autoplay=0" height='640px' scrolling="no" frameborder="no" framespacing="0" allowfullscreen="true"></iframe>
32+

docx/actions/ai/TesseractOCR.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# 文字识别(Tesseract)
2+
基于 Tesseract OCR 的一款开源的光学字符识别引擎。能够识别多种语言的文字,包括但不限于英语、中文、法语、德语等。
3+
4+
* 支持多种语言:Tesseract 能够识别多种语言的文字,包括但不限于英语、中文、法语、德语等。通过训练数据的扩展,其语言识别能力还在不断增强。
5+
* 高识别准确率:在经过大量数据训练和优化后,对于清晰的文档图像,Tesseract 可以达到较高的识别准确率。它能够处理多种字体、字号和排版格式的文字,对噪声和图像变形有一定的鲁棒性。
6+
* 可定制性强:用户可以根据自己的需求对 Tesseract 进行定制,例如训练自己的字库模型,以提高对特定领域或特殊字体的识别效果。此外,还可以调*整各种参数来优化识别过程,适应不同的应用场景。
7+
8+
![TesseractOCR](./images/07.png ':size=90%')
9+
10+
## 子流程
11+
> 不支持
12+
13+
## 运行参数
14+
15+
* 图像
16+
> 包含文字的图片。
17+
18+
* 数据文件
19+
> 默认值为 NULL,包含了 **英语****中文 - 简体****中文 - 繁体**。 它指定了 Tesseract 数据文件所在的路径。其它语言需要下载对应的数据文件,参考:[训练数据文件](./introduction/tesseract/Data-Files)
20+
21+
* 识别语言
22+
> 默认值为 "eng"。它指定了要识别的语言,可以使用 ISO 639-3 语言代码来指定语言,例如 "eng" 表示英语,"chi_sim" 表示简体中文。如果要同时识别多种语言,可以用 "+" 连接不同的语言代码,如 "eng+chi_sim",参考: [Tesseract 支持的语言](./introduction/tesseract/Languages_Scripts)
23+
24+
* 页面分割模式
25+
> 默认值为 `AUTO` 。它指的是页面分割模式(Page Segmentation Mode),决定了 Tesseract 如何对图像中的页面进行分割和识别,例如是按行识别、按单词识别还是按单个字符识别等。参考:[PageSegMode](./enums/PageSegMode.md)
26+
27+
## 输出
28+
29+
> 识别结果, 参考: [`RecognitionResults`](./types/RecognitionResult.md)
30+
31+
### 其它
32+
33+
示例 https://github.com/shelllet/WinUi/blob/main/dnn/PaddleOCR.simple

docx/actions/ai/TextDetection.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ import simple;
2929

3030
示例 https://github.com/shelllet/WinUi/blob/main/dnn/TextDetection.simple
3131

32-
<iframe type="text/html" height="640px" src="https://www.youtube.com/embed/4UfXmg0qnhk" frameborder="0"></iframe>
3332

34-
<iframe src="//player.bilibili.com/player.html?bvid=BV1Zj411L7Uq&page=1&autoplay=0" height='640px' scrolling="no" frameborder="no" framespacing="0" allowfullscreen="true"></iframe>
33+
34+
3535

3636
!> 文字检测模型训练:https://github.com/PaddlePaddle/PaddleOCR/blob/release/2.6/doc/doc_ch/detection.md

0 commit comments

Comments
 (0)