What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Window example from Scripting Doc and questions

Pages: (2): « First « 1 [ 2 ] Last »
Window example from Scripting Doc and questions
Author: Message:
mathieumg
Full Member
***


Posts: 181
Reputation: 2
34 / Male / Flag
Joined: May 2004
RE: Window example from Scripting Doc and questions
ChatWnd is attached to no chat window, you need to give it the right handle.
Official MessengerPlus! Live French Translator
Official StuffPlug 3 French Translator

:)
06-26-2006 06:29 PM
Profile E-Mail PM Web Find Quote Report
pollolibredegrasa
Full Member
***

Avatar
formerly fatfreechicken

Posts: 483
Reputation: 34
35 / Male / Flag
Joined: May 2005
RE: Window example from Scripting Doc and questions
Try something like this

code:
function OnEvent_Initialize(MessengerStart)
{
var Wnd = MsgPlus.CreateWnd("InterfaceTest.xml", "WndTest");
}

function OnEvent_Uninitialize(MessengerExit)
{
}
function OnWndTestEvent_CtrlClicked(Wnd, ControlId)
{
if(ControlId == "BtnClose")
Wnd.Close(1);
var contact = "Email@email.com"
var convo = Messenger.OpenChat(contact);
convo.SendMessage("Test");
}



;p

[Image: chickennana.gif] Vaccy is my thin twin! [Image: chickennana.gif]
06-26-2006 06:30 PM
Profile PM Find Quote Report
Aloshi
New Member
*

Avatar

Posts: 12
– / Male / –
Joined: Jun 2006
O.P. RE: Window example from Scripting Doc and questions
Ah, works. (I hope I'm not bugging you guys to death with these questions XD)
06-26-2006 06:33 PM
Profile PM Web Find Quote Report
Aloshi
New Member
*

Avatar

Posts: 12
– / Male / –
Joined: Jun 2006
O.P. RE: Window example from Scripting Doc and questions
Now I'm trying to make a .plsc file with WinRAR, when I do it, the file looks exactly like a .plsc file, I have a ScriptInfo.xml in unicode in it but it still wont work. It says not a valid script pack...Any idea why?
07-01-2006 02:14 PM
Profile PM Web Find Quote Report
pollolibredegrasa
Full Member
***

Avatar
formerly fatfreechicken

Posts: 483
Reputation: 34
35 / Male / Flag
Joined: May 2005
RE: Window example from Scripting Doc and questions
When creating the file, do you change the Archive Format to .zip? I found if you leave it as .rar it doesnt work.
;p

[Image: chickennana.gif] Vaccy is my thin twin! [Image: chickennana.gif]
07-01-2006 02:18 PM
Profile PM Find Quote Report
Aloshi
New Member
*

Avatar

Posts: 12
– / Male / –
Joined: Jun 2006
O.P. RE: Window example from Scripting Doc and questions
Yes. Still didn't work. :S
07-01-2006 03:30 PM
Profile PM Web Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: Window example from Scripting Doc and questions
quote:
Originally posted by Aloshi
Yes. Still didn't work. :S
[Developers] Script Packager
07-01-2006 03:38 PM
Profile E-Mail PM Find Quote Report
Aloshi
New Member
*

Avatar

Posts: 12
– / Male / –
Joined: Jun 2006
O.P. RE: Window example from Scripting Doc and questions
I can't run that either because I get an error. :S (My system is a bit messed up so I cant paste the file into the proper directory that I need)
07-01-2006 05:34 PM
Profile PM Web 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