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:
Yorick
Junior Member
**

Avatar

Posts: 22
34 / Male / Flag
Joined: Mar 2007
O.P. RE: Last.fm for Messenger Live! Plus
quote:
Originally posted by Felu
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;
}


Thank you very much for pointing this out! Hadn't thought about it yet!

quote:
Originally posted by Eddie
Looks nice, works nice and is nice :) Well Done and gl lookin forward to the new version :)

Thank you!

EDIT:
Ok I need some help, because there going to be a lot of different xml feeds that will be read out (http://www.audioscrobbler.net/data/webservices/) I want to make a plugin system. So I'll put the plugins in a sub directory, and read them out. Any-one an example of a other script that has this sort of thing? Because as far as I can remember is that Jscript files in sub directory's aren't read out by default? 

This post was edited on 03-03-2007 at 01:32 PM by Yorick.
03-03-2007 09:26 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