What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Last.fm for Messenger Live! Plus

Last.fm for Messenger Live! Plus
Author: Message:
Felu
Veteran Member
*****


Posts: 2223
Reputation: 72
30 / Male / Flag
Joined: Apr 2006
Status: Away
RE: Last.fm for Messenger Live! Plus
Instead of defining the ScriptMenu in the ScriptInfo.xml, do it within the script itself. So now, you can display the Show Recent Tracks option only in ChatWnds :).
code:
function OnGetScriptMenu(Location){
    var ScriptMenu = "<ScriptMenu>";
    if(Location == 2)// If accessed from ChatWnd
        ScriptMenu += "    <MenuEntry Id=\"SendRecentTracks\">Send recent tracks</MenuEntry>";
    ScriptMenu += "    <MenuEntry Id=\"Options\">Options</MenuEntry>";
    ScriptMenu += "    <Separator/>";
    ScriptMenu += "    <MenuEntry Id=\"About\">About</MenuEntry>";
    ScriptMenu += "</ScriptMenu>";
    return ScriptMenu;
}
03-03-2007 03:27 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Last.fm for Messenger Live! Plus - by Yorick on 03-02-2007 at 08:37 PM
RE: Last.fm for Messenger Live! Plus - by color680 on 03-02-2007 at 08:45 PM
RE: Last.fm for Messenger Live! Plus - by Voldemort on 03-02-2007 at 08:57 PM
RE: Last.fm for Messenger Live! Plus - by Sypher on 03-02-2007 at 09:37 PM
RE: Last.fm for Messenger Live! Plus - by Yorick on 03-02-2007 at 10:01 PM
RE: Last.fm for Messenger Live! Plus - by Sypher on 03-02-2007 at 10:27 PM
RE: Last.fm for Messenger Live! Plus - by Yorick on 03-02-2007 at 10:29 PM
RE: Last.fm for Messenger Live! Plus - by Eddie on 03-03-2007 at 03:07 AM
RE: Last.fm for Messenger Live! Plus - by Felu on 03-03-2007 at 03:27 AM
RE: Last.fm for Messenger Live! Plus - by Yorick on 03-03-2007 at 09:26 AM
RE: Last.fm for Messenger Live! Plus - by Sypher on 03-04-2007 at 08:55 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