Shoutbox

one noob question - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: one noob question (/showthread.php?tid=92021)

one noob question by P4uLo on 08-27-2009 at 02:58 PM

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?


RE: one noob question by matty on 08-27-2009 at 03:15 PM

http://msdn.microsoft.com/en-us/library/t58aa4dd%28VS.85%29.aspx

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


RE: RE: one noob question by P4uLo on 08-27-2009 at 03:22 PM

quote:
Originally posted by matty
http://msdn.microsoft.com/en-us/library/t58aa4dd%28VS.85%29.aspx

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



It worked!

Thank you (l)