diff --git a/android/AdbDevices.simple b/android/AdbDevices.simple index b5e3d33..8752dd6 100644 Binary files a/android/AdbDevices.simple and b/android/AdbDevices.simple differ diff --git a/android/AdbInput.simple b/android/AdbInput.simple index 5d93091..94c8bd0 100644 Binary files a/android/AdbInput.simple and b/android/AdbInput.simple differ diff --git a/android/AdbSwipe.simple b/android/AdbSwipe.simple index c177a6a..cb57776 100644 Binary files a/android/AdbSwipe.simple and b/android/AdbSwipe.simple differ diff --git a/android/Adbkeyboard.simple b/android/Adbkeyboard.simple new file mode 100644 index 0000000..90faf56 Binary files /dev/null and b/android/Adbkeyboard.simple differ diff --git a/android/cap.simple b/android/cap.simple index 3bb8b07..421cf91 100644 Binary files a/android/cap.simple and b/android/cap.simple differ diff --git a/android/capture.simple b/android/capture.simple deleted file mode 100644 index 76737ce..0000000 Binary files a/android/capture.simple and /dev/null differ diff --git a/android/connect.simple b/android/connect.simple index b8e6dba..04581af 100644 Binary files a/android/connect.simple and b/android/connect.simple differ diff --git a/android/existapp.simple b/android/existapp.simple index 429e9ad..4f6cec3 100644 Binary files a/android/existapp.simple and b/android/existapp.simple differ diff --git a/android/forward.simple b/android/forward.simple index e8de9c6..264f88f 100644 Binary files a/android/forward.simple and b/android/forward.simple differ diff --git a/android/install.simple b/android/install.simple index 307c415..809b0c4 100644 Binary files a/android/install.simple and b/android/install.simple differ diff --git a/android/key.simple b/android/key.simple index 6082bd7..8caa30f 100644 Binary files a/android/key.simple and b/android/key.simple differ diff --git a/android/ls.simple b/android/ls.simple index 6b086e6..5659822 100644 Binary files a/android/ls.simple and b/android/ls.simple differ diff --git a/android/move.simple b/android/move.simple index 1bd0b00..f8a290e 100644 Binary files a/android/move.simple and b/android/move.simple differ diff --git a/android/packages.simple b/android/packages.simple index 518be0c..fd8c69f 100644 Binary files a/android/packages.simple and b/android/packages.simple differ diff --git a/android/pull.simple b/android/pull.simple index f992934..b428be4 100644 Binary files a/android/pull.simple and b/android/pull.simple differ diff --git a/android/push.simple b/android/push.simple index 4e20f6b..d814dda 100644 Binary files a/android/push.simple and b/android/push.simple differ diff --git a/android/startapp.simple b/android/startapp.simple index 2bce708..e9e6773 100644 Binary files a/android/startapp.simple and b/android/startapp.simple differ diff --git a/android/swipe.simple b/android/swipe.simple deleted file mode 100644 index 19999ec..0000000 Binary files a/android/swipe.simple and /dev/null differ diff --git a/android/tap.simple b/android/tap.simple index 73aad52..c38969c 100644 Binary files a/android/tap.simple and b/android/tap.simple differ diff --git a/assets/672778fe90d3c1f9546cca09a646d409.jpg b/assets/672778fe90d3c1f9546cca09a646d409.jpg new file mode 100644 index 0000000..86d66a0 Binary files /dev/null and b/assets/672778fe90d3c1f9546cca09a646d409.jpg differ diff --git a/docx/CHANGELOG.md b/docx/CHANGELOG.md index 5bed67c..f388372 100644 --- a/docx/CHANGELOG.md +++ b/docx/CHANGELOG.md @@ -1,4 +1,18 @@ -# [0.35](https://github.com/shelllet/winui/compare/main...dev) (2024-06-05) +# [0.36](https://github.com/shelllet/winui/compare/main...dev) (2024-07-06) + +### Changed: +1. 添加图像旋转动作。 +2. 修复 安卓中文文字输入时崩溃问题。 +3. 优化 [视频下载](./actions/network/VideoDownload.md)动作。 +4. 修复其它一些问题。 + +### Deprecated: + +### Note + +1. 下载:https://winui.net/_media/winui++0.36.0-setup.x64.exe + +## [0.35](https://github.com/shelllet/winui/compare/main...dev) (2024-06-05) ### Changed: @@ -258,28 +272,3 @@ ### 备注 1. 直接从https://winui.net/ 下载即可下载最新版本 - - -## [0.20](https://github.com/shelllet/winui/compare/main...dev) (2023-05-20) -### Features - -1. 添加 *移动并双击* 动作 -2. 添加 *窗口标题* 动作 -3. 添加 *WindowRect* 动作,获取窗口矩形 -4. 支持多语言切换 -5. 使用 *Acrylic*( 亚克力背景),提高视觉层次结构。 - -### Fixed - -1. 修复一些崩溃问题。 -2. 优化多个动作及动作参数,更容易使用 -3. 修复重命名流程崩溃问题 -4. 修复右键菜单透明问题 - - -### Deprecated - - -### 备注 - -1. 直接从https://winui.net/ 下载即可下载最新版本 diff --git a/docx/_sidebar.md b/docx/_sidebar.md index 8046ce1..729da3d 100644 --- a/docx/_sidebar.md +++ b/docx/_sidebar.md @@ -9,7 +9,7 @@ - 流程 - [项目属性](./introduction/workflow/property.md) - [使用逻辑](./introduction/workflow/logic.md) - - [鼠标/键盘宏录制](./introduction/workflow/mk_record) + - [鼠标/键盘宏录制](./introduction/workflow/record) - [变量](./introduction/workflow/variable.md) - [流程操作技巧](./introduction/workflow/skill.md) - [通配符匹配](./introduction/workflow/wildcard.md) @@ -87,6 +87,7 @@ - [颜色转换](./actions/image/CvtColor.md) - [裁切图片](./actions/image/CropImage.md) - [调整尺寸](./actions/image/ResizeImage.md) + - [图像旋转](./actions/image/ImageRotate.md) - [中心裁切](./actions/image/CenterCropImage.md) - [边缘检测](./actions/image/ImageCanny.md) - [阈值操作](./actions/image/ImageThreshold.md) @@ -229,26 +230,25 @@ - [动作链.发送文本](./actions/web/WebActionSendText.md) - [动作链.暂停](./actions/web/WebActionPause.md) - 安卓 - - [模拟器](./actions/android/AdbDevices.md) + - [启动](./actions/android/AdbStartServer.md) - [连接](./actions/android/AdbConnect.md) - - [端口转发](./actions/android/AdbForward.md) + - [设备](./actions/android/AdbDevices.md) + - [转发](./actions/android/AdbForward.md) - [滑动](./actions/android/AdbSwipe.md) - [输入](./actions/android/AdbInput.md) - - [键盘输入 * 英文](./actions/android/Adbkeyboard.md) + - [输入 * 中文](./actions/android/Adbkeyboard.md) - [清除文字](./actions/android/AdbClearText.md) - [按键](./actions/android/AdbKey.md) - [点击](./actions/android/AdbTap.md) + - [移动](./actions/android/AdbMove.md) - [截图](./actions/android/AdbScreenCap.md) - - [打开应用](./actions/android/AdbStartApp.md) - - [安装包](./actions/android/AdbPackages.md) + - [应用列表](./actions/android/AdbPackages.md) + - [启动 App](./actions/android/AdbStartApp.md) - [应用检测](./actions/android/AdbIsInstalled.md) - [安装应用](./actions/android/AdbInstall.md) - - [移动](./actions/android/AdbMove.md) - [推送文件](./actions/android/AdbPush.md) - [拉取文件](./actions/android/AdbPull.md) - - [文件目录](./actions/android/AdbLs.md) - - [启动服务](./actions/android/AdbStartServer.md) - - [终止服务](./actions/android/AdbKillServer.md) + - [文件列表](./actions/android/AdbLs.md) - 内置类型 - [Boolean](./types/Boolean.md) - [Number](./types/Number.md) @@ -281,6 +281,7 @@ - [GlobOptions](./enums/GlobOptions.md) - [HandleType](./enums/HandleType.md) - [KnownWindow](./enums/KnownWindow.md) + - [KnownFolder](./enums/KnownFolder.md) - [LogicalOperators](./enums/LogicalOperators.md) - [MessageBoxFlags](./enums/MessageBoxFlags.md) - [MessagePlaceMode](./enums/MessagePlaceMode.md) diff --git a/docx/actions/android/AdbClearText.md b/docx/actions/android/AdbClearText.md index e3742d4..aa2089e 100644 --- a/docx/actions/android/AdbClearText.md +++ b/docx/actions/android/AdbClearText.md @@ -1,5 +1,5 @@ # 清除文字 -清输处理焦点的输入框中的文本,清除文本之前,自动安装 *ADBKeyboard.apk*。关于*ADBKeyboard.apk*,请参考:https://github.com/senzhk/ADBKeyBoard 。 +清除处于焦点的输入框中的文本,清除文本之前,自动安装 *ADBKeyboard.apk*。关于*ADBKeyboard.apk*,请参考:https://github.com/shelllet/ADBKeyBoard.git 。 ![AdbClearText](./images/18.png ':size=90%') diff --git a/docx/actions/android/AdbConnect.md b/docx/actions/android/AdbConnect.md index 32f7d95..376b867 100644 --- a/docx/actions/android/AdbConnect.md +++ b/docx/actions/android/AdbConnect.md @@ -15,17 +15,11 @@ ## 输出 -> 日志信息,字符串[`String`](./types/String.md)。 - -``` - # : already connected to 192.168.31.170:5555 -``` - - +> 设备号,可用在其它書店动作中作为输入参数。 ## 资源 -示例:https://github.com/shelllet/WinUi/blob/main/android/connect.simple +示例:https://github.com/shelllet/WinUi/blob/main/android/AdbDevices.simple !> 注意:模拟器需要开启 *ADB本机调试* 或者 *ADB远程调试*。 diff --git a/docx/actions/android/AdbDevices.md b/docx/actions/android/AdbDevices.md index 14a2f49..ed710b3 100644 --- a/docx/actions/android/AdbDevices.md +++ b/docx/actions/android/AdbDevices.md @@ -1,20 +1,20 @@ # 设备 -查询系统中已经连接的安卓模拟器,支持多模拟器同时操作。 +查询系统中已经连接的安卓模拟器或者真机。支持多模拟器同时操作。 ![AdbDevices](./images/01.png ':size=90%') ## 子流程 -> 支持,模拟器的设备号会传入子动作当中。 +> 支持,模拟器的设备号(通常是 *ip* + 端口号)会传入子动作当中。 ## 运行参数 * 异步 -> 可以在子动作中同时操作当前模拟器。 +> 可以并行执行与设备关联的子动作。 ## 输出 -> 设备号列表 [`Strings`](./types/String.md) +> 设备号列表 [`Strings`](./types/String.md)。 ## 资源 diff --git a/docx/actions/android/AdbForward.md b/docx/actions/android/AdbForward.md index 449aac1..ce9aa8c 100644 --- a/docx/actions/android/AdbForward.md +++ b/docx/actions/android/AdbForward.md @@ -1,4 +1,4 @@ -# 端口转发 +# 转发 把安卓系统的服务端口映射到本地端口,通过此种方式可以调用模拟器中的接口或者服务。 ![AdbForward](./images/03.png ':size=90%') @@ -15,8 +15,9 @@ * 本地端口 > -* 服务端口 -> + +* 远程端口 +> 模拟器中的服务端口。 ## 输出 > 设备日志,字符串[`String`](./types/String.md)。 @@ -25,3 +26,7 @@ 示例:https://github.com/shelllet/WinUi/blob/main/android/forward.simple + +!> 该动作超出作用范围后会移除转发的端口。 + +!> WebServer (nanohttpd): https://apkpure.com/webserver-nanohttpd/com.akhiljalagam.androidwebserver/download \ No newline at end of file diff --git a/docx/actions/android/AdbInput.md b/docx/actions/android/AdbInput.md index 0dcd79f..42d0aae 100644 --- a/docx/actions/android/AdbInput.md +++ b/docx/actions/android/AdbInput.md @@ -1,5 +1,5 @@ -# 键盘输入 -在安卓模拟器中模拟文本输入。此动作不支持中文输入,如果需要输入中文请使用动作 [键盘输入](./Adbkeyboard.md)。 +# 输入 +在安卓真机或模拟器中模拟文本输入。此动作不支持中文输入,如果需要输入中文请使用动作 [输入 * 中文](./Adbkeyboard.md)。 ![AdbInput](./images/05.png ':size=90%') diff --git a/docx/actions/android/AdbKey.md b/docx/actions/android/AdbKey.md index 7905323..84c3fd6 100644 --- a/docx/actions/android/AdbKey.md +++ b/docx/actions/android/AdbKey.md @@ -1,5 +1,5 @@ # 按键 -在安卓模拟器中模拟按键。 +在安卓模拟器中模拟按键,支持后台操作。 ![AdbKey](./images/07.png ':size=90%') @@ -17,7 +17,7 @@ * 按键 > 仅支持列表中的按键。 * 按键时间 -> 单位 *秒* +> 单位 *秒*,当该值不为 *0* 时,会在该时间内重复触发按键。 ## 输出 > 无 diff --git a/docx/actions/android/AdbKillServer.md b/docx/actions/android/AdbKillServer.md deleted file mode 100644 index 8d7c078..0000000 --- a/docx/actions/android/AdbKillServer.md +++ /dev/null @@ -1,19 +0,0 @@ -# 终止服务 -终止 *adb* 服务进程。通常用在操作结束或者配合[启动服务](./AdbStartServer.md)一起使用。 - -![AdbKillServer](./images/17.png ':size=90%') - -## 子流程 -> 不支持 - - -## 运行参数 - - -## 输出 - -> 设备日志,字符串[`String`](./types/String.md)。 - - - -## 资源 \ No newline at end of file diff --git a/docx/actions/android/AdbLs.md b/docx/actions/android/AdbLs.md index 2c7b3b0..3d8d0ab 100644 --- a/docx/actions/android/AdbLs.md +++ b/docx/actions/android/AdbLs.md @@ -1,11 +1,11 @@ -# 文件目录 -获取文件或者文件夹列表。 +# 文件列表 +获取模拟器或真机中的文件或者文件夹列表,类似文件或者文件夹遍历。 ![AdbLs](./images/04.png ':size=90%') ## 子流程 -> 支持,模拟器的设备号会传入子动作当中。 +> 支持,被遍历的文件或者文件夹会传入子流程当中。 ## 运行参数 @@ -13,11 +13,14 @@ > 设备号,如果当前连接的只有一个设备,该值可为空。 * 目录 -> 根目录, 可为空,表示 *sd* 卡的根目录。 +> 根目录, 可为空,通常 `/mnt/sdcard` 或者 `/storage/emulated/0` 表示根目录。 + +* 异步迭代 +> 遍历到的每个路径都会开启一个线程去执行子流程。 ## 输出 -> 目录列表,参考: [`Paths`](./types/Path.md)。 +> 文件或者文件夹列表,参考: [`Paths`](./types/Path.md)。 ## 资源 diff --git a/docx/actions/android/AdbMove.md b/docx/actions/android/AdbMove.md index c44852e..73c1cc9 100644 --- a/docx/actions/android/AdbMove.md +++ b/docx/actions/android/AdbMove.md @@ -13,13 +13,13 @@ > 设备号,如果当前连接的只有一个设备,该值可为空。 * 起始位置 -> 在模拟器屏幕当中,按下的位置,比如 *移动盘*的位置, +> 在模拟器屏幕当中,按下的位置,例如 *移动盘*的位置, * 方向 > 参考: [Direction](./enums/Directions.md)。 * 时间 -> 按键时间,单位 *秒*。 +> 移动时间,单位 *秒*。 ## 输出 > 无 diff --git a/docx/actions/android/AdbPackages.md b/docx/actions/android/AdbPackages.md index 5aa1d6e..3f01911 100644 --- a/docx/actions/android/AdbPackages.md +++ b/docx/actions/android/AdbPackages.md @@ -1,5 +1,5 @@ # 应用列表 -获取安卓模拟器当中的所有已经安装的包名。 +获取安卓模拟器当中的所有已经安装的包名称。 ![AdbPackages](./images/12.png ':size=90%') @@ -15,7 +15,7 @@ ## 输出 -> 安装包列表。[`Strings`](./types/String.md) 类型 +> 安装包列表。[`Strings`](./types/String.md) 类型。 ## 资源 diff --git a/docx/actions/android/AdbPull.md b/docx/actions/android/AdbPull.md index a595da7..e9a4859 100644 --- a/docx/actions/android/AdbPull.md +++ b/docx/actions/android/AdbPull.md @@ -1,5 +1,5 @@ # 拉取文件 -从设备复制文件/目录到本地计算机。 +从安卓设备复制文件/目录到本地计算机。 ![AdbPull](./images/15.png ':size=90%') @@ -12,7 +12,7 @@ > 设备号,如果当前连接的只有一个设备,该值可为空。 * 源 -> Android*设备中的文件或目录。 +> *Android*设备中的文件或目录。通常 `/mnt/sdcard` 或者 `/storage/emulated/0` 表示根目录。 * 目标 > 本地计算机当中的目录。 diff --git a/docx/actions/android/AdbPush.md b/docx/actions/android/AdbPush.md index 490e620..46147ac 100644 --- a/docx/actions/android/AdbPush.md +++ b/docx/actions/android/AdbPush.md @@ -15,7 +15,7 @@ > 本地文件或目录 * 目标 -> *Android* 设备中目录。 +> *Android* 设备中目录。通常 `/mnt/sdcard` 或者 `/storage/emulated/0` 表示根目录。 比如 *下载目录* :`/mnt/sdcard/Download` 或 `/storage/emulated/0/Download`。 ## 输出 diff --git a/docx/actions/android/AdbStartApp.md b/docx/actions/android/AdbStartApp.md index acc2be2..5b2634e 100644 --- a/docx/actions/android/AdbStartApp.md +++ b/docx/actions/android/AdbStartApp.md @@ -1,4 +1,4 @@ -# 打开应用 +# 启动 App 打开安卓设备上已经安装的 *App*。 ![AdbStartApp](./images/10.png ':size=90%') @@ -13,9 +13,7 @@ > 设备号,如果当前连接的只有一个设备,该值可为空。 * 安装包 -> 已经安装的 *App* 包名。点击红色指示的按钮,可以打安装包选择窗口。如下图: - - ![AdbStartApp](./images/11.png ':size=90%') +> 已经安装的 *App* 包名。可以配合应用列表,获取安装包名称。例如:`com.android.adbkeyboard`。 ## 输出 diff --git a/docx/actions/android/AdbStartServer.md b/docx/actions/android/AdbStartServer.md index 4a214ec..2d63578 100644 --- a/docx/actions/android/AdbStartServer.md +++ b/docx/actions/android/AdbStartServer.md @@ -39,4 +39,6 @@ emulator-5557 device > 设备日志,字符串[`String`](./types/String.md)。 -## 资源 \ No newline at end of file +## 资源 + +!> 该动作超出作用范围后,会终止 *adb*服务。 \ No newline at end of file diff --git a/docx/actions/android/AdbTap.md b/docx/actions/android/AdbTap.md index 811bbc6..69bbb37 100644 --- a/docx/actions/android/AdbTap.md +++ b/docx/actions/android/AdbTap.md @@ -1,5 +1,5 @@ # 点击 -在安卓设备中模拟点击。 +在安卓设备中模拟点击,支持后台操作。 ![AdbTap](./images/08.png ':size=90%') diff --git a/docx/actions/android/Adbkeyboard.md b/docx/actions/android/Adbkeyboard.md index 584e815..f440925 100644 --- a/docx/actions/android/Adbkeyboard.md +++ b/docx/actions/android/Adbkeyboard.md @@ -1,5 +1,5 @@ -# 键盘输入 -在安卓模拟器中模拟文本输入。此动作支持中文输入,输入中文字符之前,安装 *ADBKeyboard.apk*。关于*ADBKeyboard.apk*,请参考:https://github.com/senzhk/ADBKeyBoard 。 +# 输入 * 中文 +在安卓真机或模拟器中模拟文本输入。此动作支持中文输入,输入中文字符之前,安装 *ADBKeyboard.apk*。关于*ADBKeyboard.apk*,请参考:https://github.com/shelllet/ADBKeyBoard.git 。 ![Adbkeyboard](./images/06.png ':size=90%') @@ -22,4 +22,4 @@ ### 资源 -示例:https://github.com/shelllet/WinUi/blob/main/android/AdbInput.simple +示例:https://github.com/shelllet/WinUi/blob/main/android/Adbkeyboard.simple diff --git a/docx/actions/android/images/01.png b/docx/actions/android/images/01.png index 636d446..22a491e 100644 Binary files a/docx/actions/android/images/01.png and b/docx/actions/android/images/01.png differ diff --git a/docx/actions/android/images/03.png b/docx/actions/android/images/03.png index 8e75ed2..4f004c9 100644 Binary files a/docx/actions/android/images/03.png and b/docx/actions/android/images/03.png differ diff --git a/docx/actions/android/images/04.png b/docx/actions/android/images/04.png index cf87cf5..d716ff5 100644 Binary files a/docx/actions/android/images/04.png and b/docx/actions/android/images/04.png differ diff --git a/docx/actions/android/images/05.png b/docx/actions/android/images/05.png index c28c497..ab3009c 100644 Binary files a/docx/actions/android/images/05.png and b/docx/actions/android/images/05.png differ diff --git a/docx/actions/android/images/06.png b/docx/actions/android/images/06.png index 80ce557..42605c7 100644 Binary files a/docx/actions/android/images/06.png and b/docx/actions/android/images/06.png differ diff --git a/docx/actions/android/images/07.png b/docx/actions/android/images/07.png index ee55011..3b60e8e 100644 Binary files a/docx/actions/android/images/07.png and b/docx/actions/android/images/07.png differ diff --git a/docx/actions/android/images/09.png b/docx/actions/android/images/09.png index 26ffe9f..8864156 100644 Binary files a/docx/actions/android/images/09.png and b/docx/actions/android/images/09.png differ diff --git a/docx/actions/android/images/10.png b/docx/actions/android/images/10.png index d795141..e73c60c 100644 Binary files a/docx/actions/android/images/10.png and b/docx/actions/android/images/10.png differ diff --git a/docx/actions/android/images/11.png b/docx/actions/android/images/11.png deleted file mode 100644 index 8cd177e..0000000 Binary files a/docx/actions/android/images/11.png and /dev/null differ diff --git a/docx/actions/android/images/12.png b/docx/actions/android/images/12.png index 89dfc20..f58c160 100644 Binary files a/docx/actions/android/images/12.png and b/docx/actions/android/images/12.png differ diff --git a/docx/actions/android/images/14.png b/docx/actions/android/images/14.png index a2d6519..db96947 100644 Binary files a/docx/actions/android/images/14.png and b/docx/actions/android/images/14.png differ diff --git a/docx/actions/android/images/15.png b/docx/actions/android/images/15.png index aea1a5b..5ac2d6f 100644 Binary files a/docx/actions/android/images/15.png and b/docx/actions/android/images/15.png differ diff --git a/docx/actions/android/images/17.png b/docx/actions/android/images/17.png deleted file mode 100644 index d411571..0000000 Binary files a/docx/actions/android/images/17.png and /dev/null differ diff --git a/docx/actions/android/images/18.png b/docx/actions/android/images/18.png index ce2cfc9..e8fafee 100644 Binary files a/docx/actions/android/images/18.png and b/docx/actions/android/images/18.png differ diff --git a/docx/actions/android/images/19.png b/docx/actions/android/images/19.png index be69298..4e2e297 100644 Binary files a/docx/actions/android/images/19.png and b/docx/actions/android/images/19.png differ diff --git a/docx/actions/android/images/21.png b/docx/actions/android/images/21.png index 85c9012..450e101 100644 Binary files a/docx/actions/android/images/21.png and b/docx/actions/android/images/21.png differ diff --git a/docx/actions/filesystem/StandardPath.md b/docx/actions/filesystem/StandardPath.md index 9cdfc79..453dda8 100644 --- a/docx/actions/filesystem/StandardPath.md +++ b/docx/actions/filesystem/StandardPath.md @@ -16,11 +16,4 @@ > 路径,参考:[Path](./types/Path.md)。 -## 脚本调用 - -```python -import simple; - -``` - ## 资源 \ No newline at end of file diff --git a/docx/actions/image/ImageRotate.md b/docx/actions/image/ImageRotate.md new file mode 100644 index 0000000..19372bf --- /dev/null +++ b/docx/actions/image/ImageRotate.md @@ -0,0 +1,28 @@ +# 图像旋转 +指定旋转中心和角度,旋转图像。 + +![ResizeImage](./images/13.png ':size=90%') + +## 子流程 +> 不支持 + + +## 运行参数 + +* 图像 +> +* 旋转中心 +> 默认以图像中心进行旋转。 + +* 角度 +> 旋转角度, 0° ~ 360°之间,逆时针旋转。 -0° ~ -360°之间,顺时针旋转。 + + +## 输出 + +> 旋转后的图像 + +## 资源 + +示例:https://github.com/shelllet/WinUi/blob/main/image/RotateImage.simple + diff --git a/docx/actions/image/images/13.png b/docx/actions/image/images/13.png new file mode 100644 index 0000000..cd1b172 Binary files /dev/null and b/docx/actions/image/images/13.png differ diff --git a/docx/actions/network/VideoDownload.md b/docx/actions/network/VideoDownload.md index 79fe521..f1092d3 100644 --- a/docx/actions/network/VideoDownload.md +++ b/docx/actions/network/VideoDownload.md @@ -11,11 +11,9 @@ * 网址 > 视频链接。 -* 音频 -> 在预览环境时,只输出音频资源。 +* 选项 +> 默认下载MP4格式文件。 例如下载 128k 声音文件:`-f bestaudio -x --audio-format mp3 --audio-quality 128k` -* 标签 -> 下载的视频*itag*, 可以参考:[YouTube video stream format codes](https://gist.github.com/sidneys/7095afe4da4ae58694d128b1034e01e2), 也可以通过动作预览,获取 *itag*。 * 输出 > 下载的视频保存的文件夹。 @@ -30,5 +28,3 @@ - -!> 目前版本只支持 *Youtube*视频下载,中国用户需要能访问 *Youtube* 的代理网络。 \ No newline at end of file diff --git a/docx/actions/web/WebActionClick.md b/docx/actions/web/WebActionClick.md index 70bf19e..cdcd12d 100644 --- a/docx/actions/web/WebActionClick.md +++ b/docx/actions/web/WebActionClick.md @@ -22,3 +22,8 @@ ## 示例 * 流程:https://github.com/shelllet/WinUi/blob/main/web/action_sendtxt.simple + + + + + \ No newline at end of file diff --git a/docx/actions/web/WebActionDoubleClick.md b/docx/actions/web/WebActionDoubleClick.md index 7ae8029..ed8fe8e 100644 --- a/docx/actions/web/WebActionDoubleClick.md +++ b/docx/actions/web/WebActionDoubleClick.md @@ -21,3 +21,7 @@ ## 示例 * 流程:https://github.com/shelllet/WinUi/blob/main/web/action_doubleclick.simple + + + + \ No newline at end of file diff --git a/docx/actions/web/WebActionDragDrop.md b/docx/actions/web/WebActionDragDrop.md index 34bb7b7..ad9fac9 100644 --- a/docx/actions/web/WebActionDragDrop.md +++ b/docx/actions/web/WebActionDragDrop.md @@ -24,3 +24,7 @@ ## 示例 * 流程:https://github.com/shelllet/WinUi/blob/main/web/action_drag.simple + + + + \ No newline at end of file diff --git a/docx/actions/web/WebActionKeyDown.md b/docx/actions/web/WebActionKeyDown.md index 236ee5e..1059592 100644 --- a/docx/actions/web/WebActionKeyDown.md +++ b/docx/actions/web/WebActionKeyDown.md @@ -24,3 +24,7 @@ ## 示例 * 流程:https://github.com/shelllet/WinUi/blob/main/web/action_sendkey.simple + + + + \ No newline at end of file diff --git a/docx/actions/web/WebActionKeyUp.md b/docx/actions/web/WebActionKeyUp.md index 1871523..fb3722d 100644 --- a/docx/actions/web/WebActionKeyUp.md +++ b/docx/actions/web/WebActionKeyUp.md @@ -25,3 +25,7 @@ ## 示例 * 流程:https://github.com/shelllet/WinUi/blob/main/web/action_sendkey.simple + + + + \ No newline at end of file diff --git a/docx/actions/web/WebActionPause.md b/docx/actions/web/WebActionPause.md index 09d043e..dc9f112 100644 --- a/docx/actions/web/WebActionPause.md +++ b/docx/actions/web/WebActionPause.md @@ -21,3 +21,7 @@ ## 示例 * 流程:https://github.com/shelllet/WinUi/blob/main/web/action_pause.simple + + + + \ No newline at end of file diff --git a/docx/actions/web/WebActionReleaseMouseButton.md b/docx/actions/web/WebActionReleaseMouseButton.md index a27bcac..98fc800 100644 --- a/docx/actions/web/WebActionReleaseMouseButton.md +++ b/docx/actions/web/WebActionReleaseMouseButton.md @@ -24,3 +24,7 @@ ## 示例 * 流程:https://github.com/shelllet/WinUi/blob/main/web/action_click_release.simple + + + + \ No newline at end of file diff --git a/docx/enums/KnownFolder.md b/docx/enums/KnownFolder.md index 14eda03..3f9072c 100644 --- a/docx/enums/KnownFolder.md +++ b/docx/enums/KnownFolder.md @@ -1,8 +1,12 @@ # KnownFolder -* Downloads -> 下载 -* Documents -> 我的文档 -* LocalAppData -> \ No newline at end of file +* DOWNLOADS +> *下载* 文件夹 +* DOCUMENTS +> *我的文档* 文件夹 +* LOCALAPPDATA +> *本地应用数据* 文件夹 +* PICTURES +> *图片* 文件夹 +* MUSIC +> *音乐* 文件夹 \ No newline at end of file diff --git a/docx/introduction/README.md b/docx/introduction/README.md index 26e7179..f412029 100644 --- a/docx/introduction/README.md +++ b/docx/introduction/README.md @@ -1,16 +1,16 @@ # 系统配置要求 -|
| 最低系统要求 | 描述 | +| | 最低系统要求 | 推荐 | | :------------------------: | :--------------------------: | :---------------------: | -| 操作系統 | Windows® 10 64-bit 1809 以上 | 推荐 Windows® 10 64-bit | +| 操作系統 | Windows® 10 64-bit 1809 以上 | Windows® 11 64-bit | | 处理器 | - | - | | 显卡 | - | - | | 内存 | 1 GB RAM | - | -| 存储空间 | 300M | - | -| 网络 | 非必要 | 推荐有网络的环境下使用 | +| 存储空间 | 10GB | - | +| 网络 | 非必要 | 有网络的环境下使用 | | 分辨率 | 1024X768 | - | -- 最新版本:[https://github.com/shelllet/WinUi/releases](https://github.com/shelllet/WinUi/releases) +- 最新版本:https://bitbucket.org/winui-release/version/downloads - 问题提交:[https://github.com/shelllet/WinUi/issues](https://github.com/shelllet/WinUi/issues) # 注册版和试用版 diff --git a/docx/introduction/installation/question/quest2.md b/docx/introduction/installation/question/quest2.md index 5679849..c4df13e 100644 --- a/docx/introduction/installation/question/quest2.md +++ b/docx/introduction/installation/question/quest2.md @@ -1,3 +1,3 @@ # 覆盖安装无法启动 -在资源管理器地址栏输入 `%LOCALAPPDATA%\Simple`,打开该目录,清空该目录下面的所有文件,重启 *WinUi++*。 \ No newline at end of file +关闭 *WinUi++*, 在资源管理器地址栏输入 `%LOCALAPPDATA%\Simple`,打开该目录,清空该目录下面的所有文件,重启 *WinUi++*。 \ No newline at end of file diff --git a/docx/introduction/workflow/logic.md b/docx/introduction/workflow/logic.md index 1de359b..16a365b 100644 --- a/docx/introduction/workflow/logic.md +++ b/docx/introduction/workflow/logic.md @@ -1,6 +1,4 @@ -# 使用要点 - -这里介绍 *WinUi++* 基本的使用要点: +## 动作使用逻辑 * 将动作添加到视图上。 @@ -24,4 +22,7 @@ * 每个流程从*Start* 动作开始执行。 -* 流程动作执行完毕,默认不退出,如果需要退出流程,需要添加 *Exit* 动作。 \ No newline at end of file +* 流程动作执行完毕,默认不退出,如果需要退出流程,需要添加 *Exit* 动作。 + +## 动作作用域 +动作的作用域通常包括动作本身、兄弟动作所在的流程范围及子动作所在的流程范围,但不包括父动作所在的流程。 \ No newline at end of file diff --git a/docx/introduction/workflow/mk_record.md b/docx/introduction/workflow/record.md similarity index 100% rename from docx/introduction/workflow/mk_record.md rename to docx/introduction/workflow/record.md diff --git a/image/rotate.simple b/image/rotate.simple new file mode 100644 index 0000000..c023a53 Binary files /dev/null and b/image/rotate.simple differ diff --git a/network/YoutubeDownload.simple b/network/YoutubeDownload.simple index 6e16c53..a9aa855 100644 Binary files a/network/YoutubeDownload.simple and b/network/YoutubeDownload.simple differ diff --git a/web/action_doubleclick.simple b/web/action_doubleclick.simple index be3cad9..43dbf39 100644 Binary files a/web/action_doubleclick.simple and b/web/action_doubleclick.simple differ diff --git a/web/download.simple b/web/download.simple index eb86920..1a30002 100644 Binary files a/web/download.simple and b/web/download.simple differ diff --git a/web/openurl.simple b/web/openurl.simple index 143e01c..bfe9fb3 100644 Binary files a/web/openurl.simple and b/web/openurl.simple differ diff --git a/web/sendkey.simple b/web/sendkey.simple index db8a9c5..fccb6b7 100644 Binary files a/web/sendkey.simple and b/web/sendkey.simple differ