RE: Delete a folder
Why delete it when you can just disable it from logging (FOR THAT CONTACT)
this is some pseudocode, but the important functions are real
OnEvent_ChatWndCreated(ChatWnd) {
var contact = <whatever to get email>
if contact == "email@email.com" do:
The ChatWnd::ChatLogEnabled property sets or gets the "Logging" option of the chat window. This affects whether or not Messenger Plus! saves the content of the chat in a log file. This does not affect Messenger's own XML logs.
}
Set it to false, and it'll go back to true once you close the window.
Also, if the window is closed and re-opened, the property is set back to its original value based on the user's preferences.
This post was edited on 01-21-2011 at 01:43 AM by prashker.
|