What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » How to include a .log file in my personal message?

How to include a .log file in my personal message?
Author: Message:
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: How to include a .log file in my personal message?
You can use FileSystemObject to read the file then set the text to Messenger.MyPersonalMessage

js code:
try { Messenger.MyPersonalMessage = GetEverything('c:\\test.log'); } catch (e) {}

function GetEverything(sFile) {
   var fso;
   fso = new ActiveXObject("Scripting.FileSystemObject");
   return fso.OpenTextFile(sFile, 1 /* ForReading */).ReadAll();
}

This post was edited on 05-22-2009 at 07:30 PM by matty.
05-22-2009 07:20 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
How to include a .log file in my personal message? - by msnplusfreak on 05-22-2009 at 06:14 PM
RE: How to include a .log file in my personal message? - by matty on 05-22-2009 at 07:15 PM
RE: How to include a .log file in my personal message? - by msnplusfreak on 05-22-2009 at 07:17 PM
RE: How to include a .log file in my personal message? - by matty on 05-22-2009 at 07:20 PM
RE: How to include a .log file in my personal message? - by msnplusfreak on 05-22-2009 at 07:41 PM
RE: How to include a .log file in my personal message? - by matty on 05-22-2009 at 07:47 PM
RE: How to include a .log file in my personal message? - by msnplusfreak on 05-22-2009 at 07:56 PM
RE: How to include a .log file in my personal message? - by matty on 05-25-2009 at 11:51 AM
RE: How to include a .log file in my personal message? - by msnplusfreak on 05-29-2009 at 05:14 PM
RE: How to include a .log file in my personal message? - by matty on 05-29-2009 at 06:12 PM
RE: How to include a .log file in my personal message? - by msnplusfreak on 05-31-2009 at 08:59 PM
RE: How to include a .log file in my personal message? - by CookieRevised on 05-31-2009 at 09:22 PM
RE: How to include a .log file in my personal message? - by msnplusfreak on 06-01-2009 at 05:11 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