2021年1月6日星期三

How to implement Windows 10 toast notification with input textbox in PowerShell

This↓ is C# but I want to implement it in PowerShell.
https://docs.microsoft.com/en-us/windows/uwp/design/shell/tiles-and-notifications/adaptive-interactive-toasts?tabs=builder-syntax#inputs

I didn't know how to write .. xml.

environment

  • PowerShell 5
  • Windows 10

expected↓

<?xml version="1.0" encoding="utf-8"?>  <toast>      <visual>          <binding template="ToastGeneric">              <text>$($title)</text>              <text>$($message)</text>              # <inputTextBox?>...          </binding>      </visual>  </toast>  
https://stackoverflow.com/questions/65605240/how-to-implement-windows-10-toast-notification-with-input-textbox-in-powershell January 07, 2021 at 08:49AM

没有评论:

发表评论