Play a few musical notes on desktop

Useful script s and methods to resolve complicated issues in ConnectWise Automate
Post Reply
User avatar
Cubert
Posts: 2430
Joined: Tue Dec 29, 2015 7:57 pm
8
Contact:

Play a few musical notes on desktop

Post by Cubert »

Here is a script to play music using WMI beep tones on an active desktop agent under ConnectWise Automate control.

The script takes in a single command (MyTone), if provided it will play one of 4 pieces of music else will default to Close Encounters of the 3rd kind.

The MyTone Commands are:
  • HappyBirthday
  • MissionImpossible
  • ImperialMarch
  • CloseEncounters
Usage:
#1 Schedule the script once a year on the birthday of the know user with MyTone=HappyBirthday.
#2 Execute script on your own system when events happen in automate.
#3 Execute script on other tech or systems engineers when an event happens in automate.
#4 send a tone down to an end agent to denote a response in another script.

I am sure you can have some fun with it.

Cubert
Attachments
SoundEffectOnDesktop.zip
(2.76 KiB) Downloaded 107 times

Post Reply

Return to “Scripts”