Skip to content
Merged

Dev #110

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ jobs:
pwd
mkdir -p /var/www
cp -Rf ./docx/* /var/www
wget -P /var/www/_media/simple/ --content-disposition https://winui.net/simple/v3/download

if ! [-f /var/www/_media/winui++${{ vars.VERSION }}-setup.x64.exe]; then
curl -L --create-dirs -o winui++${{ vars.VERSION }}-setup.x64.exe --output-dir /var/www/_media https://winui.net/simple/v3/download
fi

sudo chown -R caddy:caddy /var/www/_media
shell: bash
Binary file added assets/sound/013.wav
Binary file not shown.
Binary file modified dnn/QRCode.simple
Binary file not shown.
11 changes: 7 additions & 4 deletions docx/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,23 @@
# [0.31](https://github.com/shelllet/winui/compare/main...dev) (2023-12-xx)
# [0.31](https://github.com/shelllet/winui/compare/main...dev) (2023-12-22)

### Changed:

1. *工作线程* 动作支持选择是否立即运行。
2. *监听鼠标* 动作支持鼠标侧键。
3. *For*(循环)动作名称变更为 *ForEach*(迭代)动作,功能不变。
4. *IterParam*(迭代参数)动作名称变更为 *ParamGet*(参数获取)动作,并支持设置默认参数,功能不变。
3. *For*(循环)动作名称变更为 *Iterate*(迭代)动作,功能不变。
4. *IterParam*(迭代参数)动作名称变更为 *Param*(参数)动作,并支持设置默认参数,功能不变。
5. 增加 *StandardPath*(标准路径)动作,用来表示系统常用路径。
5. 增加 *FlashWindow*(闪烁窗口)动作,用来闪烁窗口,定位多个相同名称/类名的窗口。
6. 优化网络相关动作

### Deprecated:

1. *前置窗口截图* 动作弃用,请使用 [*窗口截图*](./actions/media/CaptureWindow.md) 动作。
1. *窗口筛选* 动作弃用,请使用 [*EnumWindows*](./actions/window/EnumWindows.md) 动作。

### 备注

1. 下载:...
1. 下载:https://winui.net/_media/simple/winui++0.31-setup.x64

## [0.30](https://github.com/shelllet/winui/compare/main...dev) (2023-11-10)

Expand Down
4 changes: 2 additions & 2 deletions docx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ _WinUi++_ 绝对不会嵌入任何广告、捆绑任何软件。也不会像国
- 开发版文档:https://shelllet.github.io/winui/#/
- 示例流程:https://github.com/shelllet/winui

- 最新版本下载:[https://winui.net/](https://winui.net/)
- 版本下载:[https://winui.net/](./CHANGELOG.md)

- 油管: [https://www.youtube.com/playlist?list=UULFs1P87PQvBDJAuJfkKRLqMQ](https://www.youtube.com/playlist?list=UULFs1P87PQvBDJAuJfkKRLqMQ)
- YT: [https://www.youtube.com/playlist?list=UULFs1P87PQvBDJAuJfkKRLqMQ](https://www.youtube.com/playlist?list=UULFs1P87PQvBDJAuJfkKRLqMQ)
- B 站:[https://space.bilibili.com/652005178/channel/collectiondetail?sid=84951](https://space.bilibili.com/652005178/channel/collectiondetail?sid=84951)

- 加入 [Discord](https://discord.gg/b4MeYbJrfk) 讨论。
Expand Down
25 changes: 15 additions & 10 deletions docx/_sidebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
- 安装
- [直接安装](./introduction/installation/installed_by_exe.md)
- [微软商店安装](./introduction/installation/installed_by_msix.md)
- [安装问题](./introduction/installation/questions.md)
- 安装问题
- [新安装无法启动](./introduction/installation/question/quest1.md)
- [覆盖安装无法启动](./introduction/installation/question/quest2.md)
- 流程
- [项目属性](./introduction/workflow/property.md)
- [使用逻辑](./introduction/workflow/logic.md)
Expand Down Expand Up @@ -35,7 +37,7 @@
- [状态切换](./actions/async/WorkReset.md)
- [等待事件](./actions/async/WhenEvent.md)
- [异步等待](./actions/async/WorkWait.md)
- 文件
- 文件系统
- [读取文件](./actions/filesystem/FileRead.md)
- [文件写入](./actions/filesystem/FileWrite.md)
- [按行读取](./actions/filesystem/ReadLines.md)
Expand All @@ -44,6 +46,7 @@
- [搜索文件](./actions/filesystem/FileQuery.md)
- [遍历文件](./actions/filesystem/DirectoryIterator.md)
- [文件复制](./actions/filesystem/CopyFile.md)
- [标准路径](./actions/filesystem/StandardPath.md)
- 键盘
- [发送按键](./actions/keyboard/SendKey.md)
- [发送文本](./actions/keyboard/SendText.md)
Expand Down Expand Up @@ -75,6 +78,7 @@
- [窗口位置](./actions/window/WindowXy.md)
- [窗口大小](./actions/window/WindowSize.md)
- [窗口坐标](./actions/window/WindowPoint.md)
- [闪烁窗口](./actions/window/FlashWindow.md)
- 图像处理
- [颜色转换](./actions/image/CvtColor.md)
- [裁切图片](./actions/image/CropImage.md)
Expand Down Expand Up @@ -118,14 +122,14 @@
- [相机图像](./actions/media/VideoFrame.md)
- 网络
- [文件下载](./actions/network/HttpDownload.md)
- [视频下载](./actions/network/YoutubeDownload.md)
- [视频下载](./actions/network/VideoDownload.md)
- [HEAD 请求](./actions/network/HttpHead.md)
- [GET 请求](./actions/network/HttpGet.md)
- [POST 请求](./actions/network/HttpPost.md)
- [商品监听](./actions/network/TcpListen.md)
- [数据发送](./actions/network/TcpSend.md)
- [数据接收](./actions/network/TcpReceive.md)
- [服务连接](./actions/network/TcpConnect.md)
- [网络服务](./actions/network/NetworkListen.md)
- [网络发送](./actions/network/NetworkSend.md)
- [网络接收](./actions/network/NetworkReceive.md)
- [服务连接](./actions/network/NetworkConnect.md)
- 统计分析
- [文档](./actions/xml/XmlLoadDocument.md)
- [获取节点](./actions/xml/XmlGetNodeList.md)
Expand All @@ -135,7 +139,7 @@
- [保存](./actions/xml/XmlSaveDocument.md)
- [读取 Json](./actions/json/ReadJson.md)
- 逻辑
- [迭代](./actions/control/ForEach.md)
- [迭代](./actions/control/Iterate.md)
- [判断](./actions/control/If.md)
- [判空](./actions/control/IsEmpty.md)
- [调用](./actions/control/Invoke.md)
Expand All @@ -150,7 +154,7 @@
- [算术运行](./actions/control/ArithmeticCalculate.md)
- [逻辑运算](./actions/control/LogicalOperator.md)
- [关系运算](./actions/control/RelationalOperator.md)
- [参数获取](./actions/control/ParamGet.md)
- [参数](./actions/control/Param.md)
- 算法
- [分割字符串](./actions/algorithm/SplitString.md)
- [非零像素点](./actions/algorithm/FindNonZero.md)
Expand All @@ -164,7 +168,6 @@
- [周长筛选](./actions/algorithm/FilterPerimeter.md)
- [形状筛选](./actions/algorithm/FilterVertex.md)
- [椭圆筛选](./actions/algorithm/FilterEllipse.md)
- [窗口筛选](./actions/algorithm/FilterWindows.md)
- [随机数](./actions/algorithm/RandomNumber.md)
- [随机坐标](./actions/algorithm/RandomPoint.md)
- [图像差值](./actions/algorithm/ImageDifference.md)
Expand Down Expand Up @@ -258,6 +261,7 @@
- [Timer](./types/Timer.md)
- [Thread](./types/Thread.md)
- [Keyboard](./types/Keyboard.md)
- [主机地址](./types/HostAddress.md)
- 枚举类型
- [ThresholdTypes](./enums/ThresholdTypes.md)
- [Directions](./enums/Directions.md)
Expand All @@ -282,4 +286,5 @@
- [MorphologicalOperations](./enums/MorphologicalOperations.md)
- [ContourApproximationModes](./enums/ContourApproximationModes.md)
- [FeatureAlgorithm](./enums/FeatureAlgorithm.md)
- [WindowSortDirection](./enums/WindowSortDirection.md)
- [Changelog](./CHANGELOG.md)
32 changes: 0 additions & 32 deletions docx/actions/algorithm/FilterWindows.md

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# 循环
循环,主要用来迭代容器
# 迭代
用来迭代相应的列表数据,遍历列表的每一个元素,也可称为*循环*。

![action](./images/2022-11-17_184608.png ':size=90%')

Expand Down
29 changes: 29 additions & 0 deletions docx/actions/control/Param.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# 参数
用于获取由父动作传入子动作的数据。例如,在迭代动作的子动作中添加该动作,便可获取被迭代的每个元素值。

![Param](./images/2022-11-17_184608.png ':size=90%')

## 子流程

> 不支持

## 运行参数




## 输出

> 无


## 脚本调用

```python
import simple


```

## 示例

29 changes: 0 additions & 29 deletions docx/actions/control/ParamGet.md

This file was deleted.

7 changes: 6 additions & 1 deletion docx/actions/detection/BlobDetect.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,9 @@ import simple;

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

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

## 版本变化

* 0.31
> 图像参数支持使用*窗口*类型。
7 changes: 6 additions & 1 deletion docx/actions/detection/EllipseDetection.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,9 @@ import simple;

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

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

## 版本变化

* 0.31
> 图像参数支持使用*窗口*类型。
8 changes: 7 additions & 1 deletion docx/actions/detection/FeatureDetect.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,10 @@ import simple;
<iframe src="//player.bilibili.com/player.html?bvid=BV1bc411f7pH&page=1&autoplay=0" height='640px' scrolling="no" frameborder="no" framespacing="0" allowfullscreen="true"></iframe>


!> 该动作会先将源图像和模板图像转换成灰度图像,再进行匹配。
!> 该动作会先将源图像和模板图像转换成灰度图像,再进行匹配。


## 版本变化

* 0.31
> 图像参数支持使用*窗口*类型。
6 changes: 6 additions & 0 deletions docx/actions/detection/FindContours.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,9 @@ import simple;
<iframe type="text/html" height="640px" src="https://www.youtube.com/embed/jhWW91Lo8mQ" frameborder="0"></iframe>

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


## 版本变化

* 0.31
> 图像参数支持使用*窗口*类型。
8 changes: 7 additions & 1 deletion docx/actions/detection/LineDetection.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,10 @@ import simple;

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

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


## 版本变化

* 0.31
> 图像参数支持使用*窗口*类型。
7 changes: 6 additions & 1 deletion docx/actions/detection/MatchShapes.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,9 @@ import simple;

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

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

## 版本变化

* 0.31
> 图像参数支持使用*窗口*类型。
5 changes: 5 additions & 0 deletions docx/actions/detection/MatchTemplate.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,8 @@ import simple;
<iframe type="text/html" height="640px" src="https://www.youtube.com/embed/yW83dUrNDoo" frameborder="0"></iframe>

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

## 版本变化

* 0.31
> 图像参数支持使用*窗口*类型。
7 changes: 6 additions & 1 deletion docx/actions/detection/ShapeDetection.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,9 @@ import simple;

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

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

## 版本变化

* 0.31
> 图像参数支持使用*窗口*类型。
Loading