Online interface - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Skype & Technology (/forumdisplay.php?fid=9) +---- Forum: Skype & Live Messenger (/forumdisplay.php?fid=10) +----- Thread: Online interface (/showthread.php?tid=63324) Online interface by Rojay on 07-15-2006 at 07:25 PM im working on an online interface for WLM but the first problem im facing is when i try to write contacts info into a file using 'WriteLine' it gives me an error, after 15 mins of tracing i found out that its because some of my contacts have asian characters in thier names ... is theres another way to write to files or a way to remove invalid characters from a string ? RE: Online interface by BstrdSmkr on 07-15-2006 at 10:03 PM try using escape() on the string before writing it. just remember to use unescape() after reading it back. hope that helps RE: Online interface by Rojay on 07-15-2006 at 10:12 PM thanks alot dude another question, how can i get the text(messages sent) in an open window i do konw how to iterate thru the opened chats and retrive thier handles but i want to retrive the messages that has been sent to me while im away RE: Online interface by BstrdSmkr on 07-16-2006 at 03:33 PM
quote: do you mean a Msg Plus chat window? or your web interface window? for a Plus window, i'd probably use OnEvent_ChatWndReceiveMessage() and dump it to a text file. it provides for checking of the sender, and type of message (wink, text, etc). check the docs for usage RE: Online interface by Rojay on 07-16-2006 at 04:28 PM
that was an option RE: Online interface by BstrdSmkr on 07-16-2006 at 05:16 PM
code: 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! |