I haven't seen anything similar (for some reason) so I made a skin that toasts a Windows 10 notification to use it for my skin.
General notification options
NotificationTitle;;Default: Rainmeter ;;
If defined, this variable will be the notification's Title.
If not defined, the NotificationContext will take its place. If neither are defined, the default of each Variable will be displayed.
Example: NotificationTitle=My notification's Title
If defined, this variable will be the notification's Title.
If not defined, the NotificationContext will take its place. If neither are defined, the default of each Variable will be displayed.
Example: NotificationTitle=My notification's Title
NotificationContext;;Default: New notification;;
If defined, this variable will be the notification's context.
If not defined, but NotificationTitle is defined, only the Title will be displayed.
Example: NotificationContext=My notification's context
If defined, this variable will be the notification's context.
If not defined, but NotificationTitle is defined, only the Title will be displayed.
Example: NotificationContext=My notification's context
NotificationTopImage;; ;;
If defined, this variable will show an image on the top of the notification.
Image dimensions are 364x180 pixels at 100% scaling.
The image can be sourced either from:
1) local path No size limits.
2) URL For http and https remote web images, there is a limit of 3 MB on normal connections and 1 MB on metered connections on the file size of each individual image. If an image exceeds the file size, or fails to download, or times out, the image will be dropped and the rest of the notification will be displayed.
Example: NotificationTopImage=#@#Images\HeroImage.jfif
Example: NotificationTopImage=https://picsum.photos/360/202?image=1043
If defined, this variable will show an image on the top of the notification.
Image dimensions are 364x180 pixels at 100% scaling.
The image can be sourced either from:
1) local path No size limits.
2) URL For http and https remote web images, there is a limit of 3 MB on normal connections and 1 MB on metered connections on the file size of each individual image. If an image exceeds the file size, or fails to download, or times out, the image will be dropped and the rest of the notification will be displayed.
Example: NotificationTopImage=#@#Images\HeroImage.jfif
Example: NotificationTopImage=https://picsum.photos/360/202?image=1043
NotificationIcon;;Default: Rainmeter's logo;;
If defined, this variable will be the notification's icon.
If not defined, the default will be displayed.
Image dimensions are 48x48 pixels at 100% scaling.
The image can be sourced either from:
1) local path No size limits.
2) URL For http and https remote web images, there is a limit of 3 MB on normal connections and 1 MB on metered connections on the file size of each individual image. If an image exceeds the file size, or fails to download, or times out, the image will be dropped and the rest of the notification will be displayed.
Example: NotificationIcon=#@#Images\appLogoOverride.jfif
Example: NotificationIcon=https://picsum.photos/48?image=883
If defined, this variable will be the notification's icon.
If not defined, the default will be displayed.
Image dimensions are 48x48 pixels at 100% scaling.
The image can be sourced either from:
1) local path No size limits.
2) URL For http and https remote web images, there is a limit of 3 MB on normal connections and 1 MB on metered connections on the file size of each individual image. If an image exceeds the file size, or fails to download, or times out, the image will be dropped and the rest of the notification will be displayed.
Example: NotificationIcon=#@#Images\appLogoOverride.jfif
Example: NotificationIcon=https://picsum.photos/48?image=883
Progress bar;;Options: (see below);;
NotificationProgressBarTitle: If defined, this variable will be the notification's progress bar title.
Example: NotificationProgressBarTitle=My notification's progress bar title
NotificationProgressBarValue: If defined, this variable will be the notification's progress bar value.
This variable has to be between 0-1.
Example: NotificationProgressBarValue=0.54
NotificationProgressBarValueOverride: If defined, this variable will override the percentage to whatever you want.
If not defined, the actual percentage will be displayed.
You can put anything, numbers and strings.
Example: NotificationProgressBarValueOverride=10/20 songs
NotificationProgressStatus: If defined, this variable will be the notification's progress status.
Example: NotificationProgressStatus=Playing...
NotificationProgressBarTitle: If defined, this variable will be the notification's progress bar title.
Example: NotificationProgressBarTitle=My notification's progress bar title
NotificationProgressBarValue: If defined, this variable will be the notification's progress bar value.
This variable has to be between 0-1.
Example: NotificationProgressBarValue=0.54
NotificationProgressBarValueOverride: If defined, this variable will override the percentage to whatever you want.
If not defined, the actual percentage will be displayed.
You can put anything, numbers and strings.
Example: NotificationProgressBarValueOverride=10/20 songs
NotificationProgressStatus: If defined, this variable will be the notification's progress status.
Example: NotificationProgressStatus=Playing...
Button,Button2,...,Button5;;Options: (See below);;
NotificationButtonName: If defined, this variable will be the buttons name.
Example: NotificationButtonName=Click me
Example: NotificationButtonName2=Don't click me
NotificationButtonIcon: If defined, this variable will show an icon above the button's name.
Example: NotificationButtonIcon=#@#Images\Complete.png
Example: NotificationButtonIcon2=#@#Images\Something.png
NotificationButtonAction: If defined, this variable will execute an action.
This action can either be a local path, a URL, or nothing.
Example: NotificationButtonAction="https://forum.rainmeter.net/viewtopic.php?f=27&t=29933&p=154476#p154476"
Example: NotificationButtonAction2=#@#ShutdownPC.vbs
Note: You can only have up to 5 buttons per notification.
Note: This will work only for windows 10 version 1709 and later.NotificationButtonName: If defined, this variable will be the buttons name.
Example: NotificationButtonName=Click me
Example: NotificationButtonName2=Don't click me
NotificationButtonIcon: If defined, this variable will show an icon above the button's name.
Example: NotificationButtonIcon=#@#Images\Complete.png
Example: NotificationButtonIcon2=#@#Images\Something.png
NotificationButtonAction: If defined, this variable will execute an action.
This action can either be a local path, a URL, or nothing.
Example: NotificationButtonAction="https://forum.rainmeter.net/viewtopic.php?f=27&t=29933&p=154476#p154476"
Example: NotificationButtonAction2=#@#ShutdownPC.vbs
Note: You can only have up to 5 buttons per notification.
Note2: You can have a max of 20 notification show in the action center per app.
Changelog:
[8.11.2018.2](Latest)
-Fixed "When you define a new button or a progress bar, the first time you set the variables, a refresh will be needed to properly show the notification. I have an idea for a possible fix, will update." Now you can add buttons and progress bar without refreshing.. (Thanks khanhas again for the idea.)
[8.11.2018]
-Added: "Ask permission to show notification" option. (This writes in the registry but I'm close to finding a solution.)
-Removed: Removed the lua script, now everything is done using PowershellRM plugin (Huge thanks to khanhas and others!)
-Added: Multiple buttons support.
-Changed: You don't need to manually escape XML reserved characters.
-Added: Progress bar support.
-Fixed: Some issues with the script.
-Issue: When you define a new button or a progress bar, the first time you set the variables, a refresh will be needed to properly show the notification. I have an idea for a possible fix, will update.
[4.11.2018]
-Added: button action support and made the notification be called by Rainmeter instead of powershell.
-Minor code changes.
[3.11.2018]
-Made the powershell script run without displaying a powershell window (thanks raiguard)
-Minor code changes.
Finally, if someone is interested enough, you can edit the XML code pretty easily to do more stuff.
Here's some easy-to-follow documentation
...........................