What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » CTRL+C | CTRL+V

CTRL+C | CTRL+V
Author: Message:
DyLaK
New Member
*


Posts: 3
Joined: Mar 2007
O.P. RE: RE: CTRL+C | CTRL+V
quote:
Originally posted by Felu
Have a look at [UPDATED] Clipboard Functions (that WORK) ;).



thanks! i will have a look later to check if it works.

CookieRevised, i suppose thats not the best way to do that, but what you say is very difficult to do for me, so if the the copy/pasting works fine while im awat from keyboard, its ok.


EDIT: i have tried the code, and it works, but not at all. I think its using a lot the clipboard so after a few messages i cant access to it. I think that maybe if I use a delay it will work fine. My code is something like this:

code:
function OnEvent_ChatWndReceiveMessage(ChatWnd, User, Message, Kind) {
    if (botActive[ChatWnd.Handle] == true) {
        if (Kind == 1 && User != Messenger.MyName) {
            var m = Message.toLowerCase();
            writeClipboard(m);
            var mbot = readClipboard();
            mbot = mbot.toLowerCase();
            while((m == mbot) || (mbot = false)){
                mbot = readClipboard();
                mbot = mbot.toLowerCase();
            }
            ChatWnd.SendMessage(readClipboard());
            contador = contador + 1;
            if(contador == 5){
                clearClipboard();
                contador = 0;
            }
        }   
    }
}

how can i improve it?


This post was edited on 03-28-2007 at 07:44 PM by DyLaK.
03-28-2007 06:38 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
CTRL+C | CTRL+V - by DyLaK on 03-28-2007 at 12:41 PM
RE: CTRL+C | CTRL+V - by Felu on 03-28-2007 at 02:43 PM
RE: RE: CTRL+C | CTRL+V - by DyLaK on 03-28-2007 at 06:38 PM
RE: RE: RE: CTRL+C | CTRL+V - by CookieRevised on 03-28-2007 at 11:48 PM
RE: CTRL+C | CTRL+V - by CookieRevised on 03-28-2007 at 02:48 PM
RE: CTRL+C | CTRL+V - by DyLaK on 03-29-2007 at 12:25 AM


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