如何在 PowerShell 中使用输入文本框实现 Windows 10 toast 通知
How to implement Windows 10 toast notification with input textbox in PowerShell
这个↓是C#,但我想在PowerShell中实现。
https://docs.microsoft.com/en-us/windows/uwp/design/shell/tiles-and-notifications/adaptive-interactive-toasts?tabs=builder-syntax#inputs
我不知道怎么写..xml.
环境
- PowerShell 5
- Windows 10
预计↓
<?xml version="1.0" encoding="utf-8"?>
<toast>
<visual>
<binding template="ToastGeneric">
<text>$($title)</text>
<text>$($message)</text>
# <inputTextBox?>...
</binding>
</visual>
</toast>
它不能在 PowerShell 中实现...
您提供的网站,请说明如何使用它:
Install Notifications Visualizer. This free Windows app helps you design interactive toast notifications by providing an instant visual preview of your toast as you edit it, similar to Visual Studio's XAML editor/design view. See Notifications Visualizer for more information, or download Notifications Visualizer from the Store.
如果你想构建一个 app/notify-app 你必须学习如何使用 vs 和 c# 但是 PowerShell
这个↓是C#,但我想在PowerShell中实现。
https://docs.microsoft.com/en-us/windows/uwp/design/shell/tiles-and-notifications/adaptive-interactive-toasts?tabs=builder-syntax#inputs
我不知道怎么写..xml.
环境
- PowerShell 5
- Windows 10
预计↓
<?xml version="1.0" encoding="utf-8"?>
<toast>
<visual>
<binding template="ToastGeneric">
<text>$($title)</text>
<text>$($message)</text>
# <inputTextBox?>...
</binding>
</visual>
</toast>
它不能在 PowerShell 中实现...
您提供的网站,请说明如何使用它:
Install Notifications Visualizer. This free Windows app helps you design interactive toast notifications by providing an instant visual preview of your toast as you edit it, similar to Visual Studio's XAML editor/design view. See Notifications Visualizer for more information, or download Notifications Visualizer from the Store.
如果你想构建一个 app/notify-app 你必须学习如何使用 vs 和 c# 但是 PowerShell