What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » WLM Plus! General » [Suggestion] Messenger Plus! Instant Search Log Viewer

Pages: (2): « First « 1 [ 2 ] Last »
[Suggestion] Messenger Plus! Instant Search Log Viewer
Author: Message:
Nathan
Veteran Member
*****

Avatar
Yeah, "large dimensions" ;)

Posts: 2984
Reputation: 76
– / Male / Flag
Joined: Apr 2005
RE: [Suggestion] Messenger Plus! Instant Search Log Viewer
I have been wondering about this myself, it would be awesome to have as I find the current one a bit annoying tbh.

gogogogoggo patchou :P
Touch Innovation - touch friendly programs/applications for the windows mobile!


08-12-2007 08:01 PM
Profile E-Mail PM Web Find Quote Report
-dt-
Scripting Contest Winner
*****

Avatar
;o

Posts: 1819
Reputation: 74
36 / Male / Flag
Joined: Mar 2004
RE: [Suggestion] Messenger Plus! Instant Search Log Viewer
Hm, patchou could use the vista search api for this, but that leaves XP out in the cold :P

edit:
XP could just install windows desktop search, it seems like it has the same api : >

edit2:
hm could be done as a plus script *starts*

edit3:


hm Ive created code to search the log directory for "hello" and debug.trace the results, though :( because the IE control isnt available for scripts i cant display the results and highlight the phrase :(
code:

var CSIDL_PERSONAL = 0x5;
var reglogdir = "HKCU\\Software\\Patchou\\Messenger Plus! Live\\" + Messenger.MyEmail +"\\Preferences\\LogsDirectory";

var shell  = new ActiveXObject('WScript.Shell');

try{
    var dir = shell.RegRead(reglogdir);
}catch(e){
    var dir = getSpecialDir(CSIDL_PERSONAL) + "\\My Chat Logs";
}
dir = dir.replace("\\", "/");

var db = new ActiveXObject('ADODB.Connection');
db.open("Provider=Search.CollatorDSO;Extended Properties='Application=Windows';");

var results = db.Execute("SELECT System.ItemPathDisplay FROM SystemIndex WHERE CONTAINS('hello') AND SCOPE='file:" + dir + "'");

while(!results.EOF){
    Debug.Trace(results.Fields.item('System.ItemPathDisplay'));
    results.MoveNext();
}


function getSpecialDir( CSIDL){
    var szSendToPath = Interop.Allocate((255 *2) +2);
    Interop.Call("Shell32", "SHGetSpecialFolderPathW", 0, szSendToPath,  CSIDL, 0);
    return szSendToPath.ReadString(0);
}


This post was edited on 08-13-2007 at 05:02 AM by -dt-.
[Image: dt2.0v2.png]      Happy Birthday, WDZ
08-12-2007 11:42 PM
Profile PM Web Find Quote Report
ahmetgns
Veteran Member
*****

Avatar

Posts: 1343
Reputation: 8
39 / Male / Flag
Joined: Dec 2006
RE: RE: [Suggestion] Messenger Plus! Instant Search Log Viewer
quote:
Originally posted by riahc4
quote:
Originally posted by CookieRevised
I think riahc4 means searching _all_ the available logs, not just the current open one...

Aka: the same as when you use Windows Explorer to search for a phrase in a file in a directory and all its subdirectories...
Exactly.

For example, I stopped talking to a friend a long time ago. And I was trying to search our last conversation but it is impossible because I dont remember the date.
Putting their email or a date or a text or a nickname or something should bring up anything related to it. I think Patchou should make Messenger Plus! be able to use the WDS 3.0 platform for Plus! logs including also his old method of Find thru search logs.


Right click on that contact.../Messenger Plus! Features.../Open Chat Log... would help. Keep in mind. I don't have any idea if you have removed that contact from your list.
08-22-2007 08:05 PM
Profile PM Web Find Quote Report
Patchou
Messenger Plus! Creator
*****

Avatar

Posts: 8607
Reputation: 201
43 / Male / Flag
Joined: Apr 2002
RE: [Suggestion] Messenger Plus! Instant Search Log Viewer
I'll try to work on that for the next version.

As for the IE contol, you'll be glad to know version 4.50 give scripts full access to it.
[Image: signature2.gif]
08-23-2007 04:20 PM
Profile PM Web Find Quote Report
riahc4
Veteran Member
*****


Posts: 1073
Reputation: -18
– / Male / Flag
Joined: Aug 2004
Status: Away
O.P. RE: [Suggestion] Messenger Plus! Instant Search Log Viewer
quote:
Originally posted by ahmetgns
Right click on that contact.../Messenger Plus! Features.../Open Chat Log... would help. Keep in mind. I don't have any idea if you have removed that contact from your list.
But how do you search thru other chat logs or other chats youve had way back? You can't.

quote:
I'll try to work on that for the next version.
Thanks Patchou. I think its a much needed feature for some users.


And XP can use this too; Any API can be used in Windows software.
08-29-2007 06:39 PM
Profile PM Find Quote Report
Pages: (2): « First « 1 [ 2 ] Last »
« Next Oldest Return to Top Next Newest »


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