Windows Toastnotification without PowerShell

Just starting out? Need help? Post your questions and find answers here.
breeze4me
Enthusiast
Enthusiast
Posts: 523
Joined: Thu Mar 09, 2006 9:24 am
Location: S. Kor

Re: Windows Toastnotification without PowerShell

Post by breeze4me »

jacdelad wrote: Fri Nov 11, 2022 9:55 pm Aye thanks. The links seem very useful. Mind if I use your module, modify it a bit for easier use, add easy access to some predefined templates to be used with PureBasic, and post it here? At least if I can produce something that works.

Update: Great links indeed. I found out, that the mini-icon is normal. Also I found out how to use a big image. I will experiment a bit more and post the results; it is working with templates, so these ones are easily to adapt to PureBasic.
I'm glad the links helped.
Feel free to modify the module. :wink:
User avatar
jacdelad
Addict
Addict
Posts: 1473
Joined: Wed Feb 03, 2021 12:46 pm
Location: Planet Riesa
Contact:

Re: Windows Toastnotification without PowerShell

Post by jacdelad »

I got the custom icons working:
<toast>
<visual>
<binding template='ToastImageAndText04'>
<text id='1'>Headline:</text>
<text id='1'>Line 1</text>
<text id='1'>Line 2</text>
<image id='1' src='D:\MyFolder\Image.png' alt='Alternative text'/>
<binding>
</visual>
<actions>
<action activationType='foreground' arguments='Cancel' content='Close' />
</actions>
</toast>
This shows a box with headline and to sublines with custom icon. For some reason it only accepts files as images...
PureBasic 6.04/XProfan X4a/Embarcadero RAD Studio 11/Perl 5.2/Python 3.10
Windows 11/Ryzen 5800X/32GB RAM/Radeon 7770 OC/3TB SSD/11TB HDD
Synology DS1821+/36GB RAM/130TB
Synology DS920+/20GB RAM/54TB
Synology DS916+ii/8GB RAM/12TB
Post Reply