Request - Escape key script - 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 - Escape key script (/showthread.php?tid=69701) Request - Escape key script by Fraisie on 12-19-2006 at 08:30 PM
Hewwo people! RE: Request - Escape key script by MattyRid on 12-19-2006 at 08:37 PM I think this would be what you are after. RE: Request - Escape key script by Fraisie on 12-19-2006 at 08:40 PM
Thanks, but that's not really what I mean RE: Request - Escape key script by MattyRid on 12-19-2006 at 08:52 PM I suppose you want it similar to this just that instead of using a command, use the Esc key instead I would assume? RE: Request - Escape key script by Fraisie on 12-19-2006 at 08:56 PM I dont want everything that has been said to be deleted: just what was in the "Type your message here" window and that wasnt sent yet RE: Request - Escape key script by Spunky on 12-19-2006 at 09:56 PM Escape can't be detected by the OnEvent_ChatWndKeyDown function so it might have to be a hotkey (and even then it might not be possible). I think it's because Esc is a reserved key that is mainly used for OS functions RE: Request - Escape key script by matty on 12-19-2006 at 10:01 PM
Here you go Fraisie . RE: Request - Escape key script by Spunky on 12-19-2006 at 10:07 PM
quote: Tested: Doesn't work I already tried that method, but when you press Esc, Plus! doesn't trigger the event, probably deliberatley so that scripts can't interfere with normal Windows functionality RE: Request - Escape key script by MattyRid on 12-19-2006 at 10:10 PM Isn't this the a similar problem to the "/clear" command anyway? From memory hasn't it got somethiung to do with the way conversation windows are handled in Windows Live Messenger, thus not allowing you clear the conversation area without having to close the whole window? RE: Request - Escape key script by matty on 12-19-2006 at 10:15 PM Fraisie is not taking about the chat history. She is talking about where you type your message. RE: Request - Escape key script by ShawnZ on 12-19-2006 at 10:15 PM
quote: quote: quote: RE: Request - Escape key script by matty on 12-19-2006 at 11:06 PM
This one may work it registers a hotkey and intercepts it. Again I can't test it and I don't think it will actually work but its worth a shot. RE: Request - Escape key script by Spunky on 12-19-2006 at 11:10 PM
Still closes the window. I do actually think that this is impossible, but may be possible with a combination of Esc and CTRL for example, or a different key, but obviously that undermines the purpose of the script RE: Request - Escape key script by matty on 12-19-2006 at 11:23 PM
quote:Well it is possible with a keyboard hook. But that has to be done in a dll not a script. RE: Request - Escape key script by alexp2_ad on 12-19-2006 at 11:37 PM
Edited your version to work, there were some incorrectly named functions etc. But this version works perfectly for me. RE: Request - Escape key script by Spunky on 12-19-2006 at 11:38 PM
quote: Awesomeness I'll shut my mouth about it not being possible then RE: Request - Escape key script by alexp2_ad on 12-19-2006 at 11:39 PM
My bad, that script breaks esc in everything else... hold on... RE: Request - Escape key script by matty on 12-20-2006 at 12:08 AM
Ya let me fix that RE: Request - Escape key script by Fraisie on 12-20-2006 at 01:57 AM
Working GREAT!! RE: Request - Escape key script by matty on 12-20-2006 at 02:23 AM
quote:glad i could help RE: Request - Escape key script by johnhazen on 09-09-2011 at 06:32 PM I believe the script posted in post 7965 by Matty still kills ESC throughout all programs. Not just messenger. RE: Request - Escape key script by matty on 09-09-2011 at 07:06 PM
quote:You're right it does do that. But considering the thread is 5 years old (almost) it isn't that big of a deal. RE: Request - Escape key script by johnhazen on 09-09-2011 at 08:31 PM Rats. I was hoping that "feature" was gone for good. Dunno why MS would even consider that a good thing in the first place. Way too easy to clobber your session. At least for some of us. |