What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » help me debugging this script

help me debugging this script
Author: Message:
tryxter
Junior Member
**

Avatar
A. Maia Ferreira @ PTnet

Posts: 51
Reputation: 1
35 / Male / –
Joined: Jan 2007
RE: help me debugging this script
quote:
Originally posted by Wakaki

cause i wnat that i you chance the goodbye message that when you log out you see the new one ??

i now have this:
code:
//global variables:   
var DefWelcomeMsg = "";
var DefGoodbyeMsg = "";

//functions
function OnEvent_Initialize(MessengerStart) {
var fsObj = new ActiveXObject("Scripting.FileSystemObject");

var fileObj = fsObj.OpenTextFile(MsgPlus.ScriptFilesPath + '\\defwelcomemsg.txt', 1)
DefWelcomeMsg = fileObj.ReadAll();
fileObj.Close();

var fileObj2 = fsObj.OpenTextFile(MsgPlus.ScriptFilesPath + '\\defgoodbyemsg.txt', 1)
DefGoodbyeMsg = fileObj2.ReadAll();
fileObj2.Close();

}



to give the variables a value but this now only happens when messenger starts an di want it always updated like every 5 second or every second

____________________________________________________
p.s.

another little question how do you "say" window.close ??

Sorry, but I can't understand your "english". Can you try to explain it a little better?

About the window close function, you can use:
code:
Wnd.Close(1);
Wnd is the variable containing the window object.

This post was edited on 02-01-2007 at 06:04 PM by tryxter.
02-01-2007 06:02 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
help me debugging this script - by Wakaki on 01-30-2007 at 11:49 AM
RE: help me debugging this script - by markee on 01-30-2007 at 12:18 PM
RE: help me debugging this script - by Wakaki on 01-30-2007 at 12:26 PM
RE: RE: help me debugging this script - by tryxter on 02-01-2007 at 01:28 PM
RE: help me debugging this script - by roflmao456 on 01-30-2007 at 10:15 PM
RE: help me debugging this script - by Wakaki on 01-31-2007 at 02:03 PM
RE: help me debugging this script - by Wakaki on 02-01-2007 at 11:55 AM
RE: help me debugging this script - by Wakaki on 02-01-2007 at 02:53 PM
RE: help me debugging this script - by Wakaki on 02-01-2007 at 03:10 PM
RE: help me debugging this script - by tryxter on 02-01-2007 at 06:02 PM
RE: help me debugging this script - by Matti on 02-01-2007 at 06:24 PM
RE: RE: help me debugging this script - by Wakaki on 02-01-2007 at 09:23 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