Using PowerShell BalloonTip and RSS Feed

Ask questions about creating Graphical User Interfaces (GUI) in PowerShell and using WinForms controls.
Forum rules
Do not post any licensing information in this forum.

Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
Locked
probles40
Posts: 15
Joined: Sat Apr 11, 2020 6:05 pm

Using PowerShell BalloonTip and RSS Feed

Post by probles40 »

Am developing a simple balloontip that can show the most recent rss feed alert to end user. This is the code that we have for displaying simple messages. How could I modify this code to pull most recent rss alerts.
  1. [void] [System.Reflection.Assembly]::LoadWithPartialName("System.Windows.Forms")
  2.  
  3.  $objNotifyIcon = New-Object System.Windows.Forms.NotifyIcon
  4.  
  5.  $objNotifyIcon.Icon = [System.Drawing.SystemIcons]::Information
  6.  
  7.  $objNotifyIcon.BalloonTipIcon = "Info"
  8.  
  9.  $text = 'This is just a text'
  10.  
  11.  $objNotifyIcon.BalloonTipText = $text
  12.  
  13.  $objNotifyIcon.BalloonTipTitle = "Tip Title"
  14.  
  15.  $objNotifyIcon.Visible = $True
  16.  
  17.  $objNotifyIcon.ShowBalloonTip(30000)

jvierra
Posts: 14543
Joined: Tue May 22, 2007 9:57 am
Contact:

Re: Using PowerShell BalloonTip and RSS Feed

Post by jvierra »

RSS alerts are part of Windows 10 and later. Just set notifications on for RSS feeds.

YOU will have to use the low-level API to access the RSS feed. There are numerous clisnt apps that can do all of this.
Without knowing your RSS client it is not possible to guess at an answer.

probles40
Posts: 15
Joined: Sat Apr 11, 2020 6:05 pm

Re: Using PowerShell BalloonTip and RSS Feed

Post by probles40 »

Thanks for the reply, this answer my forum question. By the way, jvierra, am sure that you are super busy, did you get a chance to see my last reply on the other question? Thanks for all your assistance. it is greatly appreciated. And, I do want to keep learning powershell.

Locked