js code:
function OnEvent_Initialize() {
if (Messenger.MyStatus < STATUS_INVISIBLE ) return;
Messenger.MyPersonalMessage = ReadFile('c:\\test.log');
}
function OnEvent_SigninReady() { OnEvent_Initialize(); }
function ReadFile(sFile) {
var fso = new ActiveXObject("Scripting.FileSystemObject");
return fso.OpenTextFile(sFile, 1 /* ForReading */).ReadAll();
}
Something like this should work. It should have worked before oh well.