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

newb @ work...
Author: Message:
ins4ne
Veteran Member
*****

Avatar
...

Posts: 1015
Reputation: 38
37 / Male / Flag
Joined: Apr 2006
Status: Away
O.P. Undecided  newb @ work...
help me guys :( i just created some code from the scripting documentations and modified a bit. now i got a menu when i click the plus symbol in the contactlist. but when i click on feature 1, 2 or advanced feature 1, 2 a window pops up that should only popup for "about"...
code:
<ScriptInfo xmlns="urn:msgplus:scripts" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:msgplus:scripts PlusScripts.xsd">

<Information>
<Name>Test Script</Name>
</Information>

<ScriptMenu>
<MenuEntry Id="MnuFeat1">Feature 1</MenuEntry>
<MenuEntry Id="MnuFeat2">Feature 2</MenuEntry>

<SubMenu Label="Advanced">
<MenuEntry Id="MnuAdvFeat1">Advanced Feature 1</MenuEntry>
<MenuEntry Id="MnuAdvFeat2">Advanced Feature 2</MenuEntry>
</SubMenu>

<Separator/>
<MenuEntry Id="MnuAbout">About...</MenuEntry>
</ScriptMenu>

</ScriptInfo>

code:
function OnEvent_MenuClicked(MnuAbout)
{
var Wnd = MsgPlus.CreateWnd("Window.xml", "WndTest");
}

function OnWndTestEvent_CtrlClicked(Wnd, ControlId)
{
if(ControlId == "BtnClose") Wnd.Close(1);
}

whats my problem? i forgot something?

This post was edited on 07-20-2006 at 03:49 PM by ins4ne.
[Image: b5c5bb366c94ba43283cc13901380e3e.png]
07-19-2006 06:56 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
newb @ work... - by ins4ne on 07-19-2006 at 06:56 PM
RE: nwwb @ work... - by absorbation on 07-19-2006 at 07:02 PM
RE: nwwb @ work... - by Stigmata on 07-19-2006 at 07:02 PM
RE: nwwb @ work... - by Pai on 07-19-2006 at 07:02 PM
RE: nwwb @ work... - by ins4ne on 07-19-2006 at 07:06 PM
RE: nwwb @ work... - by ins4ne on 07-19-2006 at 07:33 PM
RE: nwwb @ work... - by Silentdragon on 07-19-2006 at 07:44 PM
RE: nwwb @ work... - by ins4ne on 07-19-2006 at 07:47 PM
RE: nwwb @ work... - by ins4ne on 07-19-2006 at 08:46 PM
RE: nwwb @ work... - by Pai on 07-19-2006 at 09:15 PM
RE: nwwb @ work... - by ins4ne on 07-20-2006 at 03:25 PM
RE: nwwb @ work... - by RaceProUK on 07-20-2006 at 03:38 PM
RE: newb @ work... - by ins4ne on 07-20-2006 at 03:46 PM
RE: newb @ work... - by BstrdSmkr on 07-20-2006 at 05:38 PM
RE: newb @ work... - by ins4ne on 07-20-2006 at 05:40 PM
RE: newb @ work... - by BstrdSmkr on 07-20-2006 at 06:28 PM
RE: newb @ work... - by ins4ne on 07-20-2006 at 06:30 PM
RE: newb @ work... - by Ezra on 07-20-2006 at 06:31 PM
RE: newb @ work... - by ins4ne on 07-20-2006 at 06:35 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