diff --git a/docx/CHANGELOG.md b/docx/CHANGELOG.md index 8e2671e..ef16dde 100644 --- a/docx/CHANGELOG.md +++ b/docx/CHANGELOG.md @@ -1,4 +1,18 @@ -# [0.33](https://github.com/shelllet/winui/compare/main...dev) (2024-2-24) +# [0.34](https://github.com/shelllet/winui/compare/main...dev) (2024-3-xx) + +### Changed: + +1. 改进预览和调试功能。 +2. 发送按键支持 Alt + Tab。 +3. 关机动作优化,增加注销和重启功能。 + +### Deprecated: + +### Note + +1. about:blank + +## [0.33](https://github.com/shelllet/winui/compare/main...dev) (2024-2-24) ### Changed: diff --git a/docx/_coverpage.md b/docx/_coverpage.md index 5742c0c..2296748 100644 --- a/docx/_coverpage.md +++ b/docx/_coverpage.md @@ -5,6 +5,6 @@ - Right now support down to build 17763 (version 1809/October 2018 Update) of Windows 10. [微软商店](https://apps.microsoft.com/store/detail/XP9BRHTXN0Z3V7) -[下载](https://api.winui.net/simple/v3/download ':id=simple') +[下载](https://winui.net/simple/v3/download ':id=simple') diff --git a/docx/_sidebar.md b/docx/_sidebar.md index 262d50f..38f5662 100644 --- a/docx/_sidebar.md +++ b/docx/_sidebar.md @@ -23,7 +23,7 @@ - [打开应用](./actions/system/OpenApplication.md) - [打开文件](./actions/system/LaunchFile.md) - [打开链接](./actions/system/OpenUri.md) - - [关机](./actions/system/ShutdownSystem.md) + - [退出系统](./actions/system/ExitWindows.md) - [关闭句柄](./actions/system/CloseHandle.md) - [检测进程](./actions/system/ExistProcess.md) - [终止进程](./actions/system/KillProcess.md) @@ -296,4 +296,5 @@ - [FeatureAlgorithm](./enums/FeatureAlgorithm.md) - [WindowSortDirection](./enums/WindowSortDirection.md) - [FileExtension](./enums/FileExtension.md) + - [ExitWindowsOption](./enums/ExitWindowsOption.md) - [Changelog](./CHANGELOG.md) \ No newline at end of file diff --git a/docx/actions/control/For.md b/docx/actions/control/For.md index 8c94b73..bc71c41 100644 --- a/docx/actions/control/For.md +++ b/docx/actions/control/For.md @@ -10,7 +10,7 @@ ## 运行参数 * 次数 -> 循环次数 +> 循环次数, 从 *0* 开始。 ## 输出 diff --git a/docx/actions/system/ShutdownSystem.md b/docx/actions/system/ExitWindows.md similarity index 63% rename from docx/actions/system/ShutdownSystem.md rename to docx/actions/system/ExitWindows.md index 2cb77e2..1737089 100644 --- a/docx/actions/system/ShutdownSystem.md +++ b/docx/actions/system/ExitWindows.md @@ -1,7 +1,8 @@ -# 关机 -该动作可以关闭操作系统,也就是电脑关机。 +# 退出系统 +关闭操作系统,或者注销当前交互的用户,或者重启操作系统。 + +![ExitWindows](./images/09.png ':size=90%') -![ShutdownSystem](./images/09.png ':size=90%') ## 权限 > 无要求 @@ -11,24 +12,17 @@ ## 运行参数 +* 类型 +> 注销,关机或者重启,参考:[ExitWindowsOption](./enums/ExitWindowsOption.md) ## 输出 > 无 -## 脚本调用 - -```python -import simple; - -r = simple.ShutdownSystemRunner() - -r.run() -``` ## 资源 -* 示例流程:https://github.com/shelllet/WinUi/blob/main/system/ShutdownSystem.simple +* 示例流程:https://github.com/shelllet/WinUi/blob/main/system/ExitWindows.simple diff --git a/docx/enums/ExitWindowsOption.md b/docx/enums/ExitWindowsOption.md new file mode 100644 index 0000000..3ca2f02 --- /dev/null +++ b/docx/enums/ExitWindowsOption.md @@ -0,0 +1,8 @@ +# ExitWindowsOption + +* LOGOFF +> 注销。 +* REBOOT +> 重启。 +* SHUTDOWN +> 关机。 diff --git a/docx/introduction/README.md b/docx/introduction/README.md index 3fbf7b0..5ae9393 100644 --- a/docx/introduction/README.md +++ b/docx/introduction/README.md @@ -27,21 +27,10 @@ ![wx](./images/wx.png ":size=40%") - PayPal 购买 [https://www.paypal.com/paypalme/junwufan](https://www.paypal.com/paypalme/junwufan) \* ,可加入 [Discord](https://discord.gg/b4MeYbJrfk) 咨询交流。