Go Back   TechArena Community > Software > Windows Software
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , , , , ,

Sponsored Links


How to Play sound effect while starting Messenger Plus

Windows Software


Reply
 
Thread Tools Search this Thread
  #1  
Old 18-01-2012
Member
 
Join Date: Nov 2011
Posts: 72
How to Play sound effect while starting Messenger Plus

Sponsored Links
I don't know is this possible or not, is this possible to add a sound effect when you start MSN messenger, so far i have seen we are not add sounds upon the start. Anyone know how to add sound effect while starting MSN messenger. thanks in advance...

Reply With Quote
  #2  
Old 18-01-2012
Member
 
Join Date: May 2011
Posts: 506
Re: How to Play sound effect while starting Messenger Plus

You just need to write script on the Messenger and then you wil play a sound when Messenger starts:
Open the script editor in Messenger Plus, to do this open the Plus and after that make click on the Preferences & Options and then click on the Plugins. now on the Plugins click on the create new and after that enter the name, now here you will get the script and under that write all this:
Quote:
Javascript code:
var sSoundFile = "C:\\directory\\sound.mp3";
function OnEvent_Initialize(bMessengerStart) {
if (bMessengerStart) {
MsgPlus.PlaySound("\\" + sSoundFile);
}
}
Now change the path and file name to the sound and then save all.
Reply With Quote
  #3  
Old 18-01-2012
Member
 
Join Date: May 2011
Posts: 412
Re: How to Play sound effect while starting Messenger Plus

Another method is to add sound on your while starting Messenger Plus and to do this you should create the a small batch file/Windows script which you need to start the program itself. First copy the below command on the notepad:
Quote:
sSoundFile = "C:\directory\sound.mp3"
sProgramFile = "C:\Program Files\Windows Live\Messenger\msnmsgr.exe"
'Don't forget to update the proper paths in above variables

Set oWshShell = CreateObject("Wscript.Shell")
oWshShell.Run Chr(34) & sProgramFile & Chr(34)

Set oMCI = CreateObject("MCI.MMcontrol")
oMCI.Command = "Close all"
oMCI.FileName = sSoundFile
oMCI.Command = "Open"
oMCI.Wait = True
oMCI.Command = "Play"

Set oWshShell = Nothing
Set oMCI = Nothing
Now save this file whatever.vbs and start this instead of Messenger itself.
Reply With Quote
  #4  
Old 19-01-2012
Member
 
Join Date: Nov 2011
Posts: 72
Re: How to Play sound effect while starting Messenger Plus

thanks for the all scripts and this was worked for me. now can get the more sounds like this, thanks in advance....
Reply With Quote
Reply

  TechArena Community > Software > Windows Software


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How to Play sound effect while starting Messenger Plus"
Thread Thread Starter Forum Replies Last Post
DLL missing error while starting Mass Effect 3 demo Champ@I Video Games 3 22-02-2012 03:51 PM
Unable to play Mass Effect 2 after playing Mass Effect 3 demo Muthukumar Video Games 6 22-02-2012 06:48 AM
Mass Effect 2 Configuration tool crashes while starting up Jabeena Video Games 5 06-07-2010 11:29 AM
XP not starting sound card & onboard sound not working smartdeep Hardware Peripherals 2 11-09-2009 03:06 PM
XP not starting sound card & onboard sound not working smartdeep Windows XP Support 2 11-09-2009 01:12 PM


All times are GMT +5.5. The time now is 12:19 AM.