Shoutbox

[Request]Copy previous messages - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Scripting (/forumdisplay.php?fid=39)
+----- Thread: [Request]Copy previous messages (/showthread.php?tid=78204)

[Request]Copy previous messages by Jimbo on 10-14-2007 at 04:41 PM

Can someone make a script so that, for example when you typed

quote:
/copymessages 15
this would copy the previous 15 messages sent and recieved

Or, a command like
quote:
/pastemesssages "user@hotmail.com" 20
this would paste the last 20 messages sent adn recieved from the chat user@hotmail.com into the current window?
Is this possible?
RE: [Request]Copy previous messages by Matti on 10-14-2007 at 05:30 PM

Well, this would require the script to store the messages while you receive them, even if you don't need to send them. Scripts don't have access to the last messages, the closed we can get is retrieve a portion of your chat history using ChatWnd::HistoryText_GetTextRange, but we can't know how long it is. :-/


RE: [Request]Copy previous messages by Jimbo on 10-14-2007 at 05:54 PM

quote:
Originally posted by Mattike
Well, this would require the script to store the messages while you receive them, even if you don't need to send them. Scripts don't have access to the last messages, the closed we can get is retrieve a portion of your chat history using ChatWnd::HistoryText_GetTextRange, but we can't know how long it is. :-/
couldnt the script create .txts and store mesages recieved in them?
RE: [Request]Copy previous messages by Jimbo on 10-19-2007 at 06:23 PM

bump, could anyone do this?


RE: [Request]Copy previous messages by Spunky on 10-19-2007 at 06:32 PM

A script could be made that stored the last x messages from your contacts and then you can send upto x messages in a convo. From what I've seen though, some people can have upto a thousand contacts and it could all get a bit bloated. Should be possible though


RE: [Request]Copy previous messages by Jimbo on 10-19-2007 at 07:34 PM

Maybe have a config so you choose what contacts to store the messages for?


RE: [Request]Copy previous messages by warmth on 10-19-2007 at 07:41 PM

scripts can read data from MP!L chat log files???


RE: [Request]Copy previous messages by Jimbo on 10-19-2007 at 07:42 PM

quote:
Originally posted by warmth
scripts can read data from MP!L chat log files???
Yes but they cant tell how lengths of messages etc, read the thread:P
RE: [Request]Copy previous messages by warmth on 10-19-2007 at 07:50 PM

quote:
Originally posted by Jimbodude
would paste the last 20 messages sent adn recieved from the chat user@hotmail.com into the current window?
Is this possible?
:O!!! sorry I scroll down with my mouse and jumped Mattike's post... maybe this will be a very good suggestion for next release of MP!L... :D...

Tell Patchou that store the lenght of the messages received beside the messages ;)!!!