What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Help/ Early Preview] Myspace integration

Pages: (2): « First [ 1 ] 2 » Last »
[Help/ Early Preview] Myspace integration
Author: Message:
BstrdSmkr
Junior Member
**

Avatar
Earned. Never Given.

Posts: 46
38 / Male / –
Joined: Jul 2006
O.P. Cool  [Help/ Early Preview] Myspace integration
now thanks to Pai, i've got the menu up and running and even some primative (albeit useless....) toasts popping off :D the problem i'm having now is that i can't get any response back from the preferences window, no control clicked event, no nothing :^) nothing registers in the debugger after the menu clicked event.  everything in in unicode, and the window ID is correct to the best of my knowledge. below is my code:

code:

/*
* Hook to Prefs Window
*/

function OnnwaPrefsEvent_CrtlClicked(nwaWnd, ControlId)
{
    if(ControlId == "BtnOK")
    {
        nwaWnd.Close(1);
        SaveSettings(Messenger.MyEmail);
    }
//    nwaLogin            = PlusWnd.GetControlText("nwalogininput");
//    nwaPassword         = PlusWnd.GetControlText("nwapasswordinput");
//
//    nwaMailInterval     = PlusWnd.GetControlText("nwamailinput")     * 60000;
//    nwaRequestInterval  = PlusWnd.GetControlText("nwarequestsinput") * 60000;
//    nwaBulletinInterval = PlusWnd.GetControlText("nwabulletininput") * 60000;
//    nwaEventInterval    = PlusWnd.GetControlText("nwaeventsinput")   * 60000;
//    nwaBlogInterval     = PlusWnd.GetControlText("nwablogsinput")    * 60000;
//    SaveSettings(Messenger.MyEmail);
}



I've commented out those lines b/c they're useless until i can get something back from the windows. any help is greatly apprieciated!

and my current script pack is attached to sate curriosity :)

.plsc File Attachment: Never Work Again.plsc (19.16 KB)
This file has been downloaded 203 time(s).

This post was edited on 07-13-2006 at 02:12 AM by BstrdSmkr.
07-05-2006 08:20 PM
Profile E-Mail PM Web Find Quote Report
craig2k5
Junior Member
**


Posts: 64
Joined: Feb 2006
RE: [Help/ Early Preview] Myspace integration
wouldnt it be better if u posted the script file? then it would be a bit easier (A)
07-05-2006 08:21 PM
Profile E-Mail PM Find Quote Report
Stigmata
Veteran Member
*****



Posts: 3520
Reputation: 45
20 / Other / Flag
Joined: Jul 2003
RE: [Help/ Early Preview] Myspace integration
you cannot upload .js files
07-05-2006 08:23 PM
Profile PM Web Find Quote Report
MisterFreak
New Member
*

=)

Posts: 4
33 / Male / –
Joined: Jun 2006
RE: [Help/ Early Preview] Myspace integration
You could pack it in a .plsc file =)
[Image: mfsigg.jpg]
07-05-2006 08:28 PM
Profile E-Mail PM Web Find Quote Report
BstrdSmkr
Junior Member
**

Avatar
Earned. Never Given.

Posts: 46
38 / Male / –
Joined: Jul 2006
O.P. RE: [Help/ Early Preview] Myspace integration
new problems/solution, see first post :)
07-10-2006 11:03 PM
Profile E-Mail PM Web Find Quote Report
Pai
Full Member
***

w00t !

Posts: 203
Reputation: 2
– / Male / –
Joined: Sep 2003
RE: [Help/ Early Preview] Myspace integration
You forgot to close the "<ScriptMenu>" ...

Add to the end:
code:
menu += '</ScriptMenu>';
07-11-2006 12:50 AM
Profile PM Find Quote Report
:No-Frost:
Full Member
***

Avatar
Msg Plus! 2 Official Testers

Posts: 252
Reputation: 1
41 / Male / –
Joined: May 2003
RE: [Help/ Early Preview] Myspace integration
what this does???
[Image: occl.png]
07-11-2006 03:44 AM
Profile PM Web Find Quote Report
Keikonium
Full Member
***


Posts: 229
Reputation: 3
35 / Male / Flag
Joined: Jul 2006
RE: [Help/ Early Preview] Myspace integration
Having not tried it, and not having a myspace (well, I do, but I never use it... ever :|), looking at the script I would say it notifies you on New Mail, friend requests, bullitins, events, and blogs.

It looks as tho it adds these to a drop down in the Plus! menu, and you can click them and it will let you know if you have any new notifications.

Just a guess, and if this is what it does, well done BstrdSmkr :o! Very cool. Like a personal RSS :)
07-11-2006 04:02 AM
Profile E-Mail PM Find Quote Report
BstrdSmkr
Junior Member
**

Avatar
Earned. Never Given.

Posts: 46
38 / Male / –
Joined: Jul 2006
O.P. RE: [Help/ Early Preview] Myspace integration
Keikonium is right on the money here.  Although ideally once all the bugs are worked out, it will pop off a toast whenever you have a new message on your Myspace.com account.  Sadly, as of the moment, its still just a tease, i'm still having trouble getting the dynamic menu working, it doesn't seem to want to add to the menu unless it's defined in scriptmenu.xml : \ i added the </Scriptmenu> tag, but it's still not showing up.  any ideas?   newest version uploaded to 1st post

and thanks for the compliment btw :D

This post was edited on 07-11-2006 at 04:21 AM by BstrdSmkr.
07-11-2006 04:16 AM
Profile E-Mail PM Web Find Quote Report
Pai
Full Member
***

w00t !

Posts: 203
Reputation: 2
– / Male / –
Joined: Sep 2003
RE: [Help/ Early Preview] Myspace integration
Try this:

code:
function OnGetScriptMenu(Loc) {

/*
* Create Plus Menu
*/

var menu = '<ScriptMenu>';
menu += '<MenuEntry Id="MnuChkAll">Check All Now</MenuEntry>';
menu += '<MenuEntry Id="MnuInbox">Inbox</MenuEntry>';
menu += '<MenuEntry Id="MnuRequest">Friend Requests (' + nwaNewRequestCounter  + ')</MenuEntry>';
menu += '<MenuEntry Id="MnuBulletin">Bulletins ('      + nwaNewBulletinCounter + ')</MenuEntry>';
menu += '<MenuEntry Id="MnuEvent">Events (' + nwaNewEventCounter    + ')</MenuEntry>';
menu += '<MenuEntry Id="MnuBlog">Blogs ('         + nwaNewBlogCounter     + ')</MenuEntry>';
menu += '<MenuEntry Id="MnuOptions">Options...</MenuEntry>';
menu +=   '</ScriptMenu>';

  return menu;

}
07-11-2006 11:11 AM
Profile PM Find Quote Report
Pages: (2): « First [ 1 ] 2 » Last »
« Next Oldest Return to Top Next Newest »


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