Shoutbox

Play all regular sounds for specific Contacts while Busy - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: Play all regular sounds for specific Contacts while Busy (/showthread.php?tid=64710)

Play all regular sounds for specific Contacts while Busy by artfuldodga on 08-09-2006 at 05:11 PM

I don't mean emoticon sounds :) but I would like it, if i could select which Contacts I want to be able to hear while busy.

Possible? or already in Plus! Live somewhere..

* More specificly, the Instant Message Sound.


RE: Play all regular sounds for specific Contacts while Busy by problem-solver-wlm on 08-09-2006 at 06:43 PM

id realy love this and i need it because sometimes you need to talk to people if your doing something on the computer and the glowy tsakbar dosnt help if its someone else u dont want to speak to


RE: Play all regular sounds for specific Contacts while Busy by Spunky on 08-09-2006 at 07:16 PM

I'm sure you could do something like turn off the default signin toast, replace it with your own when people sign in, and set it so that if the contacts email is one you want to hear sound for, it plays the sound file :p

PS: you could set it for other events as well as signin


RE: Play all regular sounds for specific Contacts while Busy by artfuldodga on 08-09-2006 at 09:19 PM

i didn't see in the 'event notifications' that it will play the sound of an instant message ..  only 'started new chat' .. sound, but what i would like is for the instant message sound to play for specific contacts, regardless if you are busy, right now i don't think it can do that


RE: Play all regular sounds for specific Contacts while Busy by Spunky on 08-10-2006 at 05:10 PM

I know you can play sounds during a toast, so why not be able to do it at other times? :s


RE: Play all regular sounds for specific Contacts while Busy by artfuldodga on 08-10-2006 at 07:42 PM

hard to explain what i mean i guess, i'd like all the regular sounds of WLM, including Plus! sounds...  to play for specific contacts, when set to Busy.


RE: Play all regular sounds for specific Contacts while Busy by Spunky on 08-10-2006 at 07:50 PM

You mean this?

I know you can turn off sound notifications using Plus! for certain contacts. If this is possible using a script, then you can disable sounds from unwanted contacts when your status is set to busy and then the others will still play


RE: Play all regular sounds for specific Contacts while Busy by artfuldodga on 08-10-2006 at 08:12 PM

i tick that option so its enabled... but, when im set busy, i get no IM sound when somebody is msging me :), you know.. the 'New Instant Message' sound in Messenger itself.

Event Notification sounds Do work.. when set to Busy, if i have a Sound attached to them, but there is no Event option for 'New Instant Message'


RE: Play all regular sounds for specific Contacts while Busy by markee on 08-11-2006 at 08:24 AM

Try something like the following:
[/code]function OnEvent_ChatWndCreated(ChatWnd)
{
  if (Messenger.MyStatus == 4)
  {
    MsgPlus.PlaySound("Notify.mp3")
  }
}[/code]
This script will give you a notification via sound of someone starting a new chat with you (though it will also do it when you open the chat window, sorry but it is a limitation).  Also it doesn't use the proper WLM sound, it just uses a notify sound that MP!L has (though you can just change the file).  I hope this is useful for you.


RE: Play all regular sounds for specific Contacts while Busy by artfuldodga on 08-11-2006 at 12:31 PM

function OnEvent_Initialize(MessengerStart)
{
}
function OnEvent_ChatWndCreated(ChatWnd)
{
  if (Messenger.MyStatus == 4)
  {
    MsgPlus.PlaySound("C:\temp\wlm\sounds\messenger\03_newalert.wav")
  }
}
function OnEvent_Uninitialize(MessengerExit)
{
}

used that, but.. im no scripter :) and it didn't seem to work .. thanks though, it also isn't exactly what i would need though.


RE: Play all regular sounds for specific Contacts while Busy by Spunky on 08-11-2006 at 12:37 PM

code:
MsgPlus.PlaySound("C:\temp\wlm\sounds\messenger\03_newalert.wav")

has to be
code:
MsgPlus.PlaySound("\C:\temp\wlm\sounds\messenger\03_newalert.wav")

as it's an absoloute path, not relative. (Just for future reference ;))

Even though it's not what you need, I think it might be the closest you can get *-)
RE: Play all regular sounds for specific Contacts while Busy by artfuldodga on 08-11-2006 at 01:38 PM

still doesn't seem to be working ^o)


RE: Play all regular sounds for specific Contacts while Busy by markee on 08-12-2006 at 05:27 AM

quote:
Originally posted by SpunkyLoveMuff

code:
MsgPlus.PlaySound("\C:\temp\wlm\sounds\messenger\03_newalert.wav")

It really needs to be
code:
MsgPlus.PlaySound("\\C:\\temp\\wlm\\sounds\\messenger\\03_newalert.wav")
This is because that's how JScript has to have it :P
RE: Play all regular sounds for specific Contacts while Busy by artfuldodga on 08-12-2006 at 06:26 AM

well that works like you said :)


RE: Play all regular sounds for specific Contacts while Busy by Spunky on 08-12-2006 at 12:00 PM

I looked in the documentation to check for this and it used single slashes. I suppose it is an escape character so needs to be used to cancel itself out though :p