What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » one noob question

one noob question
Author: Message:
P4uLo
New Member
*


Posts: 2
Joined: Sep 2008
O.P. Huh?  one noob question
Hi
I have a text file in "C:\" directory. Example: C:\test.txt

How can i change my personal message for the contents of the text file?
08-27-2009 02:58 PM
Profile E-Mail PM Find Quote Report
matty
Scripting Guru
*****


Posts: 8336
Reputation: 109
39 / Male / Flag
Joined: Dec 2002
Status: Away
RE: one noob question
http://msdn.microsoft.com/en-us/library/t58aa4dd%28VS.85%29.aspx

js code:
Messenger.MyPersonalMessage = new ActiveXObject  ( 'Scripting.FileSystemObject' ).OpenTextFile ( 'c:\\test.txt' , 1 ).ReadAll ( );

This post was edited on 08-27-2009 at 03:15 PM by matty.
08-27-2009 03:15 PM
Profile E-Mail PM Find Quote Report
P4uLo
New Member
*


Posts: 2
Joined: Sep 2008
O.P. RE: RE: one noob question
quote:
Originally posted by matty
http://msdn.microsoft.com/en-us/library/t58aa4dd%28VS.85%29.aspx

js code:
Messenger.MyPersonalMessage = new ActiveXObject  ( 'Scripting.FileSystemObject' ).OpenTextFile ( 'c:\\test.txt' , 1 ).ReadAll ( );


It worked!

Thank you (l)
08-27-2009 03:22 PM
Profile E-Mail PM Find Quote Report
« 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