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