Ironman Software Forums
Continue the conversion on the Ironman Software forums. Chat with over 1000 users about PowerShell, PowerShell Universal, and PowerShell Pro Tools.
This blog post was requested by one of our users. Feel free to contact us if you have something you’d like to see.
First, create a published folder that points to your media directory. I have a notification WAV file stored in this folder.
New-PSUPublishedFolder -RequestPath "/media" -Path "C:\ProgramData\UniversalAutomation\Repository\media"
Next, we can create a button on our dashboard to create a new Audio object and play it when the user clicks a button.
It’s also possible to play the sound after some sort of processing or event takes place. For example, you could use
New-UDDynamic to load some data and then play a sound once it completes.
Find this useful? Please consider sharing this article. Have a question about PowerShell? Contact us and we'll write a post about it.