Shoutbox

need new help - 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: need new help (/showthread.php?tid=70771)

need new help by Dennis Mike on 01-17-2007 at 05:02 AM

need a code for stop msgplus.playsound()


RE: need new help by matty on 01-17-2007 at 05:08 AM

1) You can't
2) Read the scripting documentation
3) Wite subjects lines on here that reflect what  your asking.


RE: need new help by Dennis Mike on 01-17-2007 at 05:10 AM

Noalready Read the scripting documentation but no find it

excusme i read before


RE: need new help by matty on 01-17-2007 at 05:18 AM

Messenger Plus! Live - Comunidad Hispana Oficial


RE: need new help by Dennis Mike on 01-17-2007 at 05:37 AM

they not respond take day's
i am script developer, alredy intent with empty string but some maked bad and no work then think what no is thus, but intent of new and alredy yes work


RE: need new help by markee on 01-17-2007 at 06:07 AM

Shouldn't starting a sound that has no length or is silent (and short) stop the sound because it cancels the last sound and starts the new one?


RE: need new help by Mike on 01-17-2007 at 01:41 PM

Use mciSendString to play sounds.


RE: need new help by Felu on 01-17-2007 at 01:50 PM

quote:
Originally posted by Scripting Documentation
The MsgPlus::PlaySound function plays a sound asynchronously. It can also be used to stop the current sound from playing.
code:
MsgPlus.PlaySound("");
Though this cannot be reliable as if a sound is playing and a toast comes up the sound stops. Or even if any other script uses the same command it will stop this sound from playing.

So i'd say Mike's suggestion might be a better choice.
RE: RE: need new help by CookieRevised on 01-17-2007 at 05:27 PM

quote:
Originally posted by Felu
quote:
Originally posted by Scripting Documentation
The MsgPlus::PlaySound function plays a sound asynchronously. It can also be used to stop the current sound from playing.
code:
MsgPlus.PlaySound("");
Though this cannot be reliable as if a sound is playing and a toast comes up the sound stops. Or even if any other script uses the same command it will stop this sound from playing.

So i'd say Mike's suggestion might be a better choice.

The request was to stop any plus! sound from playing, MsgPlus.PlaySound("") is perfect for that.