吐司通知';用XML定义参数
在PowerShell中,在XML的帮助下,我正在尝试构建toast通知。我已经阅读了Microsoft的toast模式文档,但没有找到答案(或者我不知道去哪里查找) 是否可以删除Windows Powershell中的单词或将其更改为其他内容?吐司通知';用XML定义参数,xml,windows,powershell,toast,Xml,Windows,Powershell,Toast,在PowerShell中,在XML的帮助下,我正在尝试构建toast通知。我已经阅读了Microsoft的toast模式文档,但没有找到答案(或者我不知道去哪里查找) 是否可以删除Windows Powershell中的单词或将其更改为其他内容? S字母在图片中放大。有没有可能在那里展示整个缩小的图片?图片的像素是83x15 我的XML: [xml]$Toast = @" <toast scenario="$Scenario"> <vis
S
字母在图片中放大。有没有可能在那里展示整个缩小的图片?图片的像素是83x15
我的XML:
[xml]$Toast = @"
<toast scenario="$Scenario">
<visual>
<binding template="ToastGeneric">
<image id="1" placement="appLogoOverride" src="$LogoImage"/>
<text >$AttributionText</text>
<text>$HeaderText</text>
<group>
<subgroup>
<text hint-style="title" hint-wrap="true" >$TitleText</text>
</subgroup>
</group>
<group>
<subgroup>
<text hint-style="body" hint-wrap="true" >$BodyText1</text>
</subgroup>
</group>
<group>
<subgroup>
<text hint-style="body" hint-wrap="true" >$BodyText2</text>
</subgroup>
</group>
</binding>
</visual>
<actions>
<action activationType="system" arguments="dismiss" content="$DismissButtonContent"/>
</actions>
</toast>
"@
[xml]$Toast=@”
$AttributeText
$HeaderText
$TitleText
$BodyText1
$BodyText2
"@
至少图像很容易修复,只需将徽标编辑为83x83像素的正方形即可