What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Code needed for hiding sound alert!

Code needed for hiding sound alert!
Author: Message:
Jesus
Scripting Contest Winner
****

Avatar
Koffie, my cat ;)

Posts: 623
Reputation: 15
37 / Male / Flag
Joined: Jul 2005
RE: Code needed for hiding sound alert!
I haven't scripted anything for a while now, let alone visited the forum, but I think it should be possible to check the sound library for the existence of the sound before sending it.
Custom sounds can be found in:
C:\Documents and Settings\All Users\Application Data\Messenger Plus!\Custom Sounds\
and
C:\Documents and Settings\<Current User>\Application Data\Messenger Plus!\Custom Sounds\

At least, in WinXP. Vista will probably use a similar location, so I think something like %AppData%\Messenger Plus!\Custom Sounds (and %AllUsersProfile%\Application Data\Messenger Plus!\Custom Sounds) will be the best option.

The name of the sound as Plus! will display it can be found in Properties>Attributes (not sure about the names, I'm on a dutch machine), so you'll have to find a way to access this information.

Now I don't know if this method takes all possible scenarios into account (default sounds, sound packs, and the likes), but this is what first came on my mind.

Good Luck ;)
Man is least himself when he is in his own person. Give him a mask and he will tell you the truth. (Oscar Wilde)
12-13-2007 06:47 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Code needed for hiding sound alert! - by Jumpfreakske on 12-13-2007 at 05:36 PM
RE: Code needed for hiding sound alert! - by Jesus on 12-13-2007 at 06:47 PM
RE: RE: Code needed for hiding sound alert! - by Jumpfreakske on 12-13-2007 at 07:32 PM
RE: Code needed for hiding sound alert! - by Matti on 12-13-2007 at 07:51 PM
RE: Code needed for hiding sound alert! - by Jumpfreakske on 12-13-2007 at 08:08 PM
RE: Code needed for hiding sound alert! - by CookieRevised on 12-13-2007 at 09:05 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On