What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Skype & Live Messenger » Online interface

Online interface
Author: Message:
BstrdSmkr
Junior Member
**

Avatar
Earned. Never Given.

Posts: 46
38 / Male / –
Joined: Jul 2006
RE: Online interface
code:

function OnEvent_ChatWndRecieveMessage(ChatWnd, Origin, Message, MessageKind);
{
   var ChatWnd;  //a reference to the window that recieved the msg is stored here
   if (Origin != Messenger.MyName)//check if the message came from you
   {
      if (LogFileExists(ChatWnd);)//Check if the window already has a log file
      {
         addToLogFile(ChatWnd, Message);//add the recieved msg to existing log file
      }
      else if (!LogFileExists(ChatWnd);)//if window doesn't have a log...
      {
         createLogFile(ChatWnd);//create one
      }
   }
}


obviously, make functions using file system objects for log creation, adding to, etc. and use similar technique to delete the file after OnEvent_ChatWndDestroyed();

hope that gets ya going again! :)

This post was edited on 07-16-2006 at 05:21 PM by BstrdSmkr.
07-16-2006 05:16 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Online interface - by Rojay on 07-15-2006 at 07:25 PM
RE: Online interface - by BstrdSmkr on 07-15-2006 at 10:03 PM
RE: Online interface - by Rojay on 07-15-2006 at 10:12 PM
RE: Online interface - by BstrdSmkr on 07-16-2006 at 03:33 PM
RE: Online interface - by Rojay on 07-16-2006 at 04:28 PM
RE: Online interface - by BstrdSmkr on 07-16-2006 at 05:16 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