What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » HotKeys ?

HotKeys ?
Author: Message:
V@no
Full Member
***

Avatar
sexy

Posts: 162
Joined: Mar 2004
RE: RE: HotKeys ?
quote:
Originally posted by Matti
Well yeah, I'm indeed working on a full-blown class which allows easy creation and management of system-wide hotkeys, that means: hotkeys which will work from anywhere, not exclusively in one window.

I'm planning to release this along with the next version of Countdown Live
Would you please give an working example how to use your class?

As I understand there must be a window or control where message will be sent when pressed hotkey, am I correct? if so, what would I need to do if I want just execute a JS function when hotkey pressed without any extra window?
Basically I have this script, and I need execute reFloat() function when pressed a hotkey:

code:
function reFloat()
{
  var c = Messenger.MyContacts;
  for (var i = new Enumerator(c); !i.atEnd(); i.moveNext())
  {
    var n = i.item();
    if (n.IsFloating)
    {
      n.IsFloating = false;
      n.IsFloating = true;
    }
  }
}
function OnEvent_Initialize(MessengerStart)
{
  reFloat();
}

function OnEvent_Uninitialize(MessengerExit)
{
}


Thank you.


P.S.
I'm trying create a work around for this issue: Desktop contacts won't stay ontop

This post was edited on 11-27-2010 at 04:59 AM by V@no.
11-27-2010 04:59 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
HotKeys ? - by Xat on 10-28-2008 at 05:51 PM
RE: HotKeys ? - by matty on 10-28-2008 at 06:26 PM
RE: HotKeys ? - by Matti on 10-28-2008 at 06:45 PM
RE: RE: HotKeys ? - by V@no on 11-27-2010 at 04:59 AM
RE: HotKeys ? - by Matti on 11-27-2010 at 10:45 AM
RE: HotKeys ? - by V@no on 11-27-2010 at 05:47 PM
RE: HotKeys ? - by Matti on 11-28-2010 at 11:15 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