Shoutbox

[request] Flashing Keyboard LED's when message received - 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] Flashing Keyboard LED's when message received (/showthread.php?tid=61770)

[request] Flashing Keyboard LED's when message received by DarkRaider on 06-27-2006 at 05:44 PM

Note: this script has been made and is now available from http://shoutbox.menthix.net/showthread.php?tid=63303.


Is it possible to create a script that makes the Scroll-Lock LED on the keyboard flash?

If somebody can create it, a screen to set the LED's that have to flash might be usefull.. cause i understand it when people say that flashing the Num-Lock and Caps-Lock LED's might be annoying when they are typing something.. ;)

But if i have some code to access them, i might be able to make this script myself :)

RE: [request] Flashing Keyboard LED's when message received by ivan300 on 06-27-2006 at 06:01 PM

here is vb code that will turn the num led on and off

code:
Const VK_num = 144
Const Vk_scroll = 145
Const VK_caps = 20
Const KEYEVENTF_KEYUP = &H2
Private Declare Sub keybd_event Lib "user32.dll" (ByVal bVk As Byte, ByVal bScan As Byte, ByVal dwFlags As Long, ByVal dwExtraInfo As Long)

Private Sub Command1_Click()

    keybd_event VK_num, 0, 0, 0
    keybd_event VK_num, 0, KEYEVENTF_KEYUP, 0
End Sub


I am not sure how to conver "Private Declare Sub keybd_event Lib "user32.dll" ...." to jscript
RE: [request] Flashing Keyboard LED's when message received by matty on 06-27-2006 at 06:03 PM

quote:
Originally posted by ivan300
Private Declare Sub keybd_event Lib "user32.dll" (ByVal bVk As Byte, ByVal bScan As Byte, ByVal dwFlags As Long, ByVal dwExtraInfo As Long)
code:
Interop.Call('user32', 'keybd_event', VK_num, 0, 0, 0);
Interop.Call('user32', 'keybd_event', VK_num, 0, KEYEVENTF_KEYUP, 0);

I started working on a message notifier when you are running a fullscreen app but I never finished it; I may start it back up again.
RE: [request] Flashing Keyboard LED's when message received by ivan300 on 06-27-2006 at 06:22 PM

This is what i have so far, It will only trun off the led but it wont turn it on :S
If some one can debug it and release it please be my guest :)

code:
//WML Flash 1.0 for MPL! ;) by ivan300@yahoo.com

var VK_num = 144
var Vk_scroll = 145
var VK_caps = 20
var KEYEVENTF_KEYUP = '&H2'

function OnEvent_Initialize(bMessengerStart){
//turns off the light when initalised
}

function OnEvent_Uninitialize(bMessengerExit){
}
//when a chat window is created it starts a timer
function OnEvent_ChatWndCreated(){
MsgPlus.AddTimer('check', 100);
}

//when the chat window is closed it stops the timers and turns the light off
function OnEvent_ChatWndDestroyed(){
MsgPlus.CancelTimer('check');
MsgPlus.CancelTimer('check2');

}

//when a message is typed by you the light will turn off
//function OnEvent_ChatWndEditKeyDown(){
//MsgPlus.CancelTimer('check');
//}



//this turns the light off and on depending on the timers
function OnEvent_Timer(sTimerId){
    if(sTimerId == 'check'){
        Interop.Call('user32', 'keybd_event', VK_num, 0, 0, 0);
        Interop.Call('user32', 'keybd_event', VK_num, 0, KEYEVENTF_KEYUP, 0);
        MsgPlus.AddTimer('check2', 200);
    }
    if(sTimerId == 'check2'){
        Interop.Call('user32', 'keybd_event', VK_num, 0, 0, 0);
        Interop.Call('user32', 'keybd_event', VK_num, 0, KEYEVENTF_KEYUP, 0);
        MsgPlus.AddTimer('check', 200);
    }

}


RE: [request] Flashing Keyboard LED's when message received by Apola Silverstone on 06-27-2006 at 06:32 PM

This sounds like it will be one of my favourite scripts. I hope you can get it finished. Also, if you could set it so i could instead use my scroll lock light, it would be much better i think. thanks, (good luck)


RE: [request] Flashing Keyboard LED's when message received by J-Thread on 06-27-2006 at 06:42 PM

This will be a feature of StuffPlug 3. I know that is not a good answer to the question, but you might be interested in it.

Also keep in mind that the method described above will influence the response of the keyboard. It doesn't really flash the lights, but instead it turns num-lock on & off, and that's causing the LED's to flash.

However it can be quite usefull. It's one of my favorite "small but very usefull" SP features(Y)


RE: [request] Flashing Keyboard LED's when message received by Apola Silverstone on 06-27-2006 at 06:43 PM

>.< thanks you, and do you know how much longer (roughly) it will take for sp3 to be out?


RE: [request] Flashing Keyboard LED's when message received by DarkRaider on 06-27-2006 at 06:59 PM

lets hope it doesn't take too long ;)

but still, i'm trying to make ivan300's script work.. :)

EDIT:
GOT IT !! ;)
i'll post it in a couple of minutes.. and i'll start expanding the script with the ability to configure it ;)


EDIT2:

code:
//WML Flash 1.0 for MPL! ;) by ivan300@yahoo.com
// slightly modified by djcarre@gmail.com

var VK_num = 144
var Vk_scroll = 145
var VK_caps = 20
var KEYEVENTF_KEYUP = '&H2'
var count = 0

function OnEvent_Initialize(bMessengerStart){
    //turns off the light when initalised
}

function OnEvent_Uninitialize(bMessengerExit){

}

//when a chat window is created it starts a timer
function OnEvent_ChatWndCreated(){
    MsgPlus.AddTimer('check', 200);
}

//when the chat window is closed it stops the timers and turns the light off
function OnEvent_ChatWndDestroyed(){
    MsgPlus.CancelTimer('check');
    MsgPlus.CancelTimer('check2');

}

//when a message is typed by you the light will turn off
function OnEvent_ChatWndEditKeyDown(){
    MsgPlus.CancelTimer('check');
}



//this turns the light off and on depending on the timers
function OnEvent_Timer(sTimerId){
    if(sTimerId == 'check'){
        Debug.Trace('check');
        Interop.Call('user32', 'keybd_event', Vk_scroll, 0, 0, 0);
        Interop.Call('user32', 'keybd_event', Vk_scroll, 0, 2, 0);
        MsgPlus.AddTimer('check2', 200);
        MsgPlus.CancelTimer('check');
    }
    if(sTimerId == 'check2'){
        Debug.Trace('check2')
        Interop.Call('user32', 'keybd_event', Vk_scroll, 0, 0, 0);
        Interop.Call('user32', 'keybd_event', Vk_scroll, 0, 2, 0);
        MsgPlus.AddTimer('check', 200);
        MsgPlus.CancelTimer('check2');
    }
}


RE: [request] Flashing Keyboard LED's when message received by djnerve on 06-28-2006 at 12:21 AM

doesn't work for me:(


RE: [request] Flashing Keyboard LED's when message received by ivan300 on 06-28-2006 at 12:32 AM

I got it working

Update 2 Thanks silentdragon i forgot about that :$ hehe

code:
//WML Flash 1.0 for MPL! (Smilie) by ivan300@yahoo.com
// slightly modified by djcarre@gmail.com

var VK_num = 144
var VK_scroll = 145
var VK_caps = 20
var KEYEVENTF_KEYUP = '&H2'
var count = 0

function OnEvent_Initialize(bMessengerStart){
}

function OnEvent_Uninitialize(bMessengerExit){
}

//when a chat window is created it starts a timer
function OnEvent_ChatWndCreated(){
MsgPlus.AddTimer('check', 200);
}

//when the chat window is closed it stops the timers and turns the light off
function OnEvent_ChatWndDestroyed(){
MsgPlus.CancelTimer('check');
MsgPlus.CancelTimer('check2');
}

//stops the blining when you type into the convo
//make sure to change VK_scroll accordingly if youre using a different led
function OnEvent_ChatWndEditKeyDown(Wnd, key){
if(key != VK_scroll){
    MsgPlus.CancelTimer('check');
    MsgPlus.CancelTimer('check2');
}
}

//to change which light you want to blink change the
// Vk_scroll to VK_num for num lock or VK_caps for caps lock

//this turns the light off and on depending on the timers
function OnEvent_Timer(sTimerId){
if(sTimerId == 'check'){
Debug.Trace('check');
Interop.Call('user32', 'keybd_event', VK_scroll, 0, 0, 0);
Interop.Call('user32', 'keybd_event', VK_scroll, 0, 2, 0);
MsgPlus.AddTimer('check2', 100);
}
if(sTimerId == 'check2'){
Debug.Trace('check2')
Interop.Call('user32', 'keybd_event', VK_scroll, 0, 0, 0);
Interop.Call('user32', 'keybd_event', VK_scroll, 0, 2, 0);
MsgPlus.AddTimer('check', 100);
}
}


RE: [request] Flashing Keyboard LED's when message received by Silentdragon on 06-28-2006 at 12:49 AM

code:
function OnEvent_ChatWndEditKeyDown(Wnd, key){
if(key != Vk_scroll)
    MsgPlus.CancelTimer('check');
}
Wouldn't that work
RE: [request] Flashing Keyboard LED's when message received by novolo on 06-28-2006 at 02:08 AM

GREAT SCRIPT!  ALREADY USING IT! 


RE: [request] Flashing Keyboard LED's when message received by Apola Silverstone on 06-28-2006 at 02:15 AM

Umm... my scroll light flashed, but can you explain to me exactly when, and how the light flashes? with all the stuff that got changed, it would be nice to be told how it works again... Thanks :)


RE: [request] Flashing Keyboard LED's when message received by novolo on 06-28-2006 at 02:19 AM

FOR WHAT I CAN SEE,  IT STARTS FLASHING WHEN A NEW CONVERSATION IS CREATED,   FOR EXAMPLE WHEN SOMEONE SEND YOU A MESSAGE FOR THE FIRST TIME,   THEN  WHEN YOU START typing it stops blinking,   and then when you close it it turns off...
i think its like that..



PS: sorry for the caps :P


RE: [request] Flashing Keyboard LED's when message received by Apola Silverstone on 06-28-2006 at 02:21 AM

ok, isthere any way to make it blink when ever the concact sends a messege? just like the task bar blinking when it comes? that way i don't have to be worriued i missing anything if i can't see task bar, and the chat window is already open


RE: [request] Flashing Keyboard LED's when message received by novolo on 06-28-2006 at 02:33 AM

thats exactly what i was going to ask...      is there annother "event" other than OnEvent_ChatWndCreated(),  like,   new message or something like that?


RE: [request] Flashing Keyboard LED's when message received by Silentdragon on 06-28-2006 at 02:37 AM

code:
//WML Flash 1.0 for MPL! (Smilie) by ivan300@yahoo.com
// slightly modified by djcarre@gmail.com

var VK_num = 144
var VK_scroll = 145
var VK_caps = 20
var KEYEVENTF_KEYUP = '&H2'
var count = 0

function OnEvent_Initialize(bMessengerStart){
}

function OnEvent_Uninitialize(bMessengerExit){
}

//when a chat window is created it starts a timer
function OnEvent_ChatWndCreated(){
MsgPlus.AddTimer('check', 200);
}
function OnEvent_ChatWndReceiveMessage(Wnd, Origin,Message,MessageKind){
if(Origin != Messenger.MyName)
MsgPlus.AddTimer('check',200);
return Message;
}
//when the chat window is closed it stops the timers and turns the light off
function OnEvent_ChatWndDestroyed(){
MsgPlus.CancelTimer('check');
MsgPlus.CancelTimer('check2');
}

//stops the blining when you type into the convo
//make sure to change VK_scroll accordingly if youre using a different led
function OnEvent_ChatWndEditKeyDown(Wnd, key){
if(key != VK_scroll){
    MsgPlus.CancelTimer('check');
    MsgPlus.CancelTimer('check2');
}
}

//to change which light you want to blink change the
// Vk_scroll to VK_num for num lock or VK_caps for caps lock

//this turns the light off and on depending on the timers
function OnEvent_Timer(sTimerId){
if(sTimerId == 'check'){
Debug.Trace('check');
Interop.Call('user32', 'keybd_event', VK_scroll, 0, 0, 0);
Interop.Call('user32', 'keybd_event', VK_scroll, 0, 2, 0);
MsgPlus.AddTimer('check2', 100);
}
if(sTimerId == 'check2'){
Debug.Trace('check2')
Interop.Call('user32', 'keybd_event', VK_scroll, 0, 0, 0);
Interop.Call('user32', 'keybd_event', VK_scroll, 0, 2, 0);
MsgPlus.AddTimer('check', 100);
}
}

RE: [request] Flashing Keyboard LED's when message received by Apola Silverstone on 06-28-2006 at 02:38 AM

thanks a million (haven't tried it yet but good feelings)
trested, this is great!! Good job guys, please post this in the script db


RE: [request] Flashing Keyboard LED's when message received by novolo on 06-28-2006 at 02:59 AM

hey, one other question..  how do i verify that a message comes from a certain email?

i mean,  i can verify if it comes from a certain nickname by doing:  if (Origin == nickname),  but what if i want to verify the email...

i'm thinking of doing this to make the led blink only for certain people...   


RE: [request] Flashing Keyboard LED's when message received by Silentdragon on 06-28-2006 at 03:14 AM

code:
//WML Flash 1.0 for MPL! (Smilie) by ivan300@yahoo.com
// slightly modified by djcarre@gmail.com

var VK_num = 144
var VK_scroll = 145
var VK_caps = 20
var KEYEVENTF_KEYUP = '&H2'
var count = 0

function OnEvent_Initialize(bMessengerStart){
}

function OnEvent_Uninitialize(bMessengerExit){
}

//when a chat window is created it starts a timer
function OnEvent_ChatWndCreated(){
    MsgPlus.AddTimer('check', 200);
}
function OnEvent_ChatWndReceiveMessage(Wnd, Origin,Message,MessageKind){
    var contacts = new Enumerator(Wnd.Contacts);
    for (; !contacts.atEnd(); contacts.moveNext())
    {
        var contact = contacts.item();
        switch(contact){
            case 'someemail@hotmail.com' :
            case 'someemail2@hotmail.com' :
                MsgPlus.AddTimer('check',200);
                break;
        }
    }
    if(Origin != Messenger.MyName)
        MsgPlus.AddTimer('check',200);
    return Message;
}
//when the chat window is closed it stops the timers and turns the light off
function OnEvent_ChatWndDestroyed(){
    MsgPlus.CancelTimer('check');
    MsgPlus.CancelTimer('check2');
}

//stops the blining when you type into the convo
//make sure to change VK_scroll accordingly if youre using a different led
function OnEvent_ChatWndEditKeyDown(Wnd, key){
    if(key != VK_scroll){
        MsgPlus.CancelTimer('check');
        MsgPlus.CancelTimer('check2');
    }
}

//to change which light you want to blink change the
// Vk_scroll to VK_num for num lock or VK_caps for caps lock

//this turns the light off and on depending on the timers
function OnEvent_Timer(sTimerId){
    if(sTimerId == 'check'){
        Debug.Trace('check');
        Interop.Call('user32', 'keybd_event', VK_scroll, 0, 0, 0);
        Interop.Call('user32', 'keybd_event', VK_scroll, 0, 2, 0);
        MsgPlus.AddTimer('check2', 100);
    }
    if(sTimerId == 'check2'){
        Debug.Trace('check2')
        Interop.Call('user32', 'keybd_event', VK_scroll, 0, 0, 0);
        Interop.Call('user32', 'keybd_event', VK_scroll, 0, 2, 0);
        MsgPlus.AddTimer('check', 100);
    }
}

Haven't tested but should work.
RE: [request] Flashing Keyboard LED's when message received by patternott on 06-28-2006 at 05:54 AM

Hello, Thanks for this script it works great and i love it.

Just one thing, is it possible to make a key (ie. caps lock) stop the light from flashing. I ask this because i have a Logitech keyboard and when i am in a full-screen game Scroll Lock On - Scroll Lock Off, keeps on flashing on the bottom of the screen and its very annoying and sometimes i cant minimize to stop it.

If this can be done it will be greatly appreciated.


RE: [request] Flashing Keyboard LED's when message received by CookieRevised on 06-28-2006 at 06:28 AM

quote:
Originally posted by ivan300
This is what i have so far, It will only trun off the led but it wont turn it on :S
If some one can debug it and release it please be my guest :)
check your declaration of KEYEVENTF_KEYUP:

code:
var KEYEVENTF_KEYUP = '&H2'

A string is something with quotes put around, but
&H2 is not a string it is a hexadecimal number.

To define KEYEVENTF_KEYUP properly as a number:

code:
var KEYEVENTF_KEYUP = 0x02

RE: [request] Flashing Keyboard LED's when message received by Silentdragon on 06-28-2006 at 07:02 AM

code:
//WML Flash 1.0 for MPL! (Smilie) by ivan300@yahoo.com
// slightly modified by djcarre@gmail.com

var selectiveBlink = 0
var VK_num = 144
var VK_scroll = 145
var VK_caps = 20
var KEYEVENTF_KEYUP = 0x02
var count = 0

function OnEvent_Initialize(bMessengerStart){
}

function OnEvent_Uninitialize(bMessengerExit){
}

//when a chat window is created it starts a timer
function OnEvent_ChatWndCreated(){
    MsgPlus.AddTimer('check', 200);
}
function OnEvent_ChatWndReceiveMessage(Wnd, Origin,Message,MessageKind){
    if(selectiveBlink == 1) {
        var contacts = new Enumerator(Wnd.Contacts);
        for (; !contacts.atEnd(); contacts.moveNext())
        {
            var contact = contacts.item();
            switch(contact){
                case 'someemail@hotmail.com' :
                case 'someemail2@hotmail.com' :
                    MsgPlus.AddTimer('check',200);
                    count++;
                    break;
            }
            if(count) break;
        }
        count = 0;
    } else
        if(Origin != Messenger.MyName)
            MsgPlus.AddTimer('check',200);
    return Message;
}
//when the chat window is closed it stops the timers and turns the light off
function OnEvent_ChatWndDestroyed(){
    MsgPlus.CancelTimer('check');
    MsgPlus.CancelTimer('check2');
}

//stops the blining when you type into the convo
//make sure to change VK_scroll accordingly if youre using a different led
function OnEvent_ChatWndEditKeyDown(Wnd, key){
    if(key != VK_scroll && key != VK_caps){
        MsgPlus.CancelTimer('check');
        MsgPlus.CancelTimer('check2');
    }
}

//to change which light you want to blink change the
// Vk_scroll to VK_num for num lock or VK_caps for caps lock

//this turns the light off and on depending on the timers
function OnEvent_Timer(sTimerId){
    if(sTimerId == 'check'){
        //Debug.Trace('check');
        Interop.Call('user32', 'keybd_event', VK_scroll, 0, 0, 0);
        Interop.Call('user32', 'keybd_event', VK_scroll, 0, 2, 0);
        if(!Interop.Call('user32',    'GetKeyState', VK_caps))
            MsgPlus.AddTimer('check2', 100);
        else {
            Interop.Call('user32', 'keybd_event', VK_caps, 0, KEYEVENTF_KEYUP, 0);
            Interop.Call('user32', 'keybd_event', VK_caps, 0, 0, 0);
        }
    }
    if(sTimerId == 'check2'){
        //Debug.Trace('check2')
        Interop.Call('user32', 'keybd_event', VK_scroll, 0, 0, 0);
        Interop.Call('user32', 'keybd_event', VK_scroll, 0, KEYEVENTF_KEYUP, 0);
        if(!Interop.Call('user32',    'GetKeyState', VK_caps))
            MsgPlus.AddTimer('check', 100);
        else {
            Interop.Call('user32', 'keybd_event', VK_caps, 0, KEYEVENTF_KEYUP, 0);
            Interop.Call('user32', 'keybd_event', VK_caps, 0, 0, 0);
        }
    }
}

Set at the top if you want to have enable selectiving blinking. Set the emails if needed. If Caps Lock is on the script will only blink the scroll once, otherwise it will blink till you press Caps Lock, and it auto disables caps lock after its pressed.
RE: [request] Flashing Keyboard LED's when message received by patternott on 06-28-2006 at 07:15 AM

Thanks that works great.


RE: [request] Flashing Keyboard LED's when message received by John Anderton on 06-28-2006 at 07:59 AM

quote:
Originally posted by Silentdragon
Set at the top if you want to have enable selectiving blinking. Set the emails if needed. If Caps Lock is on the script will only blink the scroll once, otherwise it will blink till you press Caps Lock, and it auto disables caps lock after its pressed.
Well there are a few bugs that i would like to talk about ... mabbe on wlm? Add me. My address is in my profile :)
RE: [request] Flashing Keyboard LED's when message received by MisterFreak on 06-28-2006 at 08:55 AM

Nice script! But it would be handy if there is an way  to don't let the led flicker when WLM is locked. But I really think it is a nice script!


RE: [request] Flashing Keyboard LED's when message received by Bmw1000c on 06-28-2006 at 09:42 AM

i love it :D
gratz Silentdragon and ivan300


RE: [request] Flashing Keyboard LED's when message received by DarkRaider on 06-28-2006 at 09:45 AM

this afternoon (CET) i'm going to make a configure interface so that you can configure which LED's have to flash and which don't.
And when it's ready and working without (much) bugs and everybody is happy about it, we can upload it to the MP!L scripts site ;)


RE: [request] Flashing Keyboard LED's when message received by Mentality on 06-28-2006 at 09:52 AM

Great script guys and a fine entrance to the forum - welcome on board. I look forward to the final product.


RE: [request] Flashing Keyboard LED's when message received by Dark_Angel_Pt on 06-28-2006 at 11:04 AM

Great script guys. But instead of caps lock can't i use some other key? Because in some games caps lock is used and i would prefer to use home, end or pause to stop the lights flashing.

Also when you code the configuration interface can you add a script on/off? Because i only want it to flash when i'm playing or something, not all the time.


RE: [request] Flashing Keyboard LED's when message received by Rik on 06-28-2006 at 11:23 AM

i'm loving this script but could you make it not to flash when the window is open? :)


RE: [request] Flashing Keyboard LED's when message received by DarkRaider on 06-28-2006 at 11:32 AM

i'll try to add al these options to the config window.

ScrollLock on/off
NumLock on/off
CapsLock on/off

Flash when Messenger is locked on/off

Stop flashing when chatwindow is focused
or stop flashing when you enter a text..

@Dark_Angel_Pt: i can set a checkbox in the config window, but if you want to turn this script off, i think it's easier to just uncheck the checkbox of the script itself ;)

For now, i'll start with this..
Anything else to add?


RE: RE: [request] Flashing Keyboard LED's when message received by Dark_Angel_Pt on 06-28-2006 at 11:38 AM

quote:
Originally posted by DarkRaider
@Dark_Angel_Pt: i can set a checkbox in the config window, but if you want to turn this script off, i think it's easier to just uncheck the checkbox of the script itself ;)

For now, i'll start with this..
Anything else to add?


I know i can disable the script but it was easier if i could just turn it off in the plus contact list button instead of having to go to plus option, scripts and disable it.

Just one question... does this script detects when someone is talking to you and you already had a conversation window opened or is it just when someone opens the conversation window?
RE: [request] Flashing Keyboard LED's when message received by DarkRaider on 06-28-2006 at 11:46 AM

ah, in the plus! menu.. ok, that's a good idea :)

the version that i have now, is activated when you receive a message.. and if the Origin is someone else, but this isn't really necessary..
maybe in future versions i can make it possible to select users for who it has to be activated, but for now, i'm going to make it like i said above :)


RE: [request] Flashing Keyboard LED's when message received by novolo on 06-28-2006 at 12:32 PM

Hey silentdragon,  i dont seem to be able to make the email verificaion work  :S

the code is accepted and everything,  but when i send a message from the email i want  nothing happens...

this is the code:

code:
function OnEvent_ChatWndReceiveMessage(Wnd, Origin,Message,MessageKind){
    var contacts = new Enumerator(Wnd.Contacts);
    for (; !contacts.atEnd(); contacts.moveNext()){
        var contact = contacts.item();
        switch(contact){
            case 'remotocasa@hotmail.com' :
            MsgPlus.AddTimer('check',200);
            break;
        }
    }
}


the thing is that nothing happens...

whats wrong?

EDIT:      this is something i did,   but doesn't work either...
code:
function OnEvent_ChatWndReceiveMessage(ChatWnd, Origin, Message, MessageKind){
    var Contact = ChatWnd.Contacts;
    var e = new Enumerator(Contact);
    if (e < 2){
        if (Contact.Email == 'remotocasa@hotmail.com') {
              MsgPlus.AddTimer('check',200);       
        }
    }
}

RE: [request] Flashing Keyboard LED's when message received by orido on 06-28-2006 at 01:18 PM

hey nice script.  can i make a request?  Is it possible to make the light go back to the "on" setting once the conversation is restarted?  And i use a logitech keyboard so i don't have a scroll lock key, so i'm using the num lock.  I'd be handy to use the F Mode led instead but i don't know what the code to that is.  Can anyone gimme a hand?


RE: [request] Flashing Keyboard LED's when message received by MGrove03 on 06-28-2006 at 02:44 PM

hey you know how when you press all 4 arrow buttons it starts to make a beeping sound? is it possible for it to make that beeping sound when a message is received because i do not always have my speakers on


RE: [request] Flashing Keyboard LED's when message received by novolo on 06-28-2006 at 02:48 PM

hey,  one thing i've noticed...      it work fine when someone sends you a message,   but when you're already talking to that person,  if he or she sends you another message it starts blinking again...
it blinks everytime you get a message and it only stops when you start typing or press capslock...

any ideas how to blink only for the first new message of every conversation?


RE: RE: [request] Flashing Keyboard LED's when message received by djnerve on 06-28-2006 at 02:56 PM

quote:
Originally posted by MGrove03
hey you know how when you press all 4 arrow buttons it starts to make a beeping sound? is it possible for it to make that beeping sound when a message is received because i do not always have my speakers on


heres vb code

code:
Declare Function Beep Lib "kernel32.dll" ( _
     ByVal dwFreq As Long, _
     ByVal dwDuration As Long) As Long

RE: [request] Flashing Keyboard LED's when message received by upsfeup on 06-28-2006 at 04:35 PM

So in Jscript:

code:
Interop.Call('kernel32', 'Beep', frequency , duration);

Frequency in hertz between 37 through 32,767 (0x25 through 0x7FFF).

Duration in milliseconds.

And.. it locks the process in the duration of the beep. So make it short!
RE: [request] Flashing Keyboard LED's when message received by MGrove03 on 06-28-2006 at 04:50 PM

for any1 who wants it here is the code for making it beep aswell as flash

code:
//WML Flash 1.0 for MPL! (Smilie) by ivan300@yahoo.com
// slightly modified by djcarre@gmail.com and mgrove03@gmail.com

var VK_num = 144
var VK_scroll = 145
var VK_caps = 20
var KEYEVENTF_KEYUP = '&H2'
var count = 0

function OnEvent_Initialize(bMessengerStart){
}

function OnEvent_Uninitialize(bMessengerExit){
}

//when a chat window is created it starts a timer
function OnEvent_ChatWndCreated(){
MsgPlus.AddTimer('check', 200);
}
function OnEvent_ChatWndReceiveMessage(Wnd, Origin,Message,MessageKind){
if(Origin != Messenger.MyName)
MsgPlus.AddTimer('check',200);
return Message;
}
//when the chat window is closed it stops the timers and turns the light off
function OnEvent_ChatWndDestroyed(){
MsgPlus.CancelTimer('check');
MsgPlus.CancelTimer('check2');
}

//stops the blining when you type into the convo
//make sure to change VK_scroll accordingly if youre using a different led
function OnEvent_ChatWndEditKeyDown(Wnd, key){
if(key != VK_scroll){
    MsgPlus.CancelTimer('check');
    MsgPlus.CancelTimer('check2');
}
}

//to change which light you want to blink change the
// Vk_scroll to VK_num for num lock or VK_caps for caps lock

//this turns the light off and on depending on the timers
function OnEvent_Timer(sTimerId){
if(sTimerId == 'check'){
Debug.Trace('check');
Interop.Call('user32', 'keybd_event', VK_scroll, 0, 0, 0);
Interop.Call('user32', 'keybd_event', VK_scroll, 0, 2, 0);
//Makes the computer beep when a message is received
Interop.Call('kernel32', 'Beep', 1000 , 50);
MsgPlus.AddTimer('check2', 100);
}
if(sTimerId == 'check2'){
Debug.Trace('check2')
Interop.Call('user32', 'keybd_event', VK_scroll, 0, 0, 0);
Interop.Call('user32', 'keybd_event', VK_scroll, 0, 2, 0);
//Makes the computer beep when a message is received
Interop.Call('kernel32', 'Beep', 1000 , 50);
MsgPlus.AddTimer('check', 100);
}
}

RE: [request] Flashing Keyboard LED's when message received by Silentdragon on 06-28-2006 at 07:49 PM

code:
//WML Flash 1.0 for MPL! (Smilie) by ivan300@yahoo.com
// slightly modified by djcarre@gmail.com, silentdragon@gmail.com, and mgrove03@gmail.com

var selectiveBlink = 0
var beep = 0
var keep_caps = 0

var VK_num = 144
var VK_scroll = 145
var VK_caps = 20
var KEYEVENTF_KEYUP = 0x02
var count = 0

function OnEvent_Initialize(bMessengerStart){
}

function OnEvent_Uninitialize(bMessengerExit){
}

//when a chat window is created it starts a timer
function OnEvent_ChatWndCreated(){
    MsgPlus.AddTimer('check', 200);
}
function OnEvent_ChatWndReceiveMessage(Wnd, Origin,Message,MessageKind){
    if(selectiveBlink == 1) {
        var contacts = new Enumerator(Wnd.Contacts);
        for (; !contacts.atEnd(); contacts.moveNext())
        {
            var contact = contacts.item();
            switch(contact.Email){
                case 'someemail@hotmail.com' :
                case 'someemail2@hotmail.com' :
                    MsgPlus.AddTimer('check',200);
                    count++;
                    break;
            }
            if(count) break;
        }
        count = 0;
    } else
        if(Origin != Messenger.MyName)
            MsgPlus.AddTimer('check',200);
    return Message;
}
//when the chat window is closed it stops the timers and turns the light off
function OnEvent_ChatWndDestroyed(){
    MsgPlus.CancelTimer('check');
    MsgPlus.CancelTimer('check2');
}

//stops the blining when you type into the convo
//make sure to change VK_scroll accordingly if youre using a different led
function OnEvent_ChatWndEditKeyDown(Wnd, key){
    if(key != VK_scroll && key != VK_caps){
        MsgPlus.CancelTimer('check');
        MsgPlus.CancelTimer('check2');
    }
}

//to change which light you want to blink change the
// Vk_scroll to VK_num for num lock or VK_caps for caps lock

//this turns the light off and on depending on the timers
function OnEvent_Timer(sTimerId){
    if(sTimerId == 'check'){
        //Debug.Trace('check');
        Interop.Call('user32', 'keybd_event', VK_scroll, 0, 0, 0);
        Interop.Call('user32', 'keybd_event', VK_scroll, 0, 2, 0);
        if(beep) Interop.Call('kernel32', 'Beep', 1000 , 50);
        if(!Interop.Call('user32',    'GetKeyState', VK_caps))
            MsgPlus.AddTimer('check2', 100);
        else if(!keep_caps) {
            Interop.Call('user32', 'keybd_event', VK_caps, 0, KEYEVENTF_KEYUP, 0);
            Interop.Call('user32', 'keybd_event', VK_caps, 0, 0, 0);
        }
    }
    if(sTimerId == 'check2'){
        //Debug.Trace('check2')
        Interop.Call('user32', 'keybd_event', VK_scroll, 0, 0, 0);
        Interop.Call('user32', 'keybd_event', VK_scroll, 0, KEYEVENTF_KEYUP, 0);
        if(beep) Interop.Call('kernel32', 'Beep', 1000 , 50);
        if(!Interop.Call('user32',    'GetKeyState', VK_caps))
            MsgPlus.AddTimer('check', 100);
        else if(!keep_caps) {
            Interop.Call('user32', 'keybd_event', VK_caps, 0, KEYEVENTF_KEYUP, 0);
            Interop.Call('user32', 'keybd_event', VK_caps, 0, 0, 0);
        }
    }
}


Selective emails should work now, keep caps on is in option, but the current method won't work because caps are on. To switch that remove the ! from !Interop.Call('user32',    'GetKeyState', VK_caps) both times. Has an option to beep too.
RE: [request] Flashing Keyboard LED's when message received by DarkRaider on 06-28-2006 at 08:39 PM

ok guys, got the first version with a small configuration window..
give me your comments and i'll see what i can change if needed :)

Download here (Right click -> save as)

Functions for this version:
- Configuration lets the user choose which LEDs have to flash
- Included the beep, but dunno if it works.. couldn't test it here on my laptop :( (but if the code in the previous post work, then this should work ;) )
- Added the possibility to disable the flashing leds when your messenger is locked.. (haven't tested that either, but it should work)
- The ability to switch of the script in the contactlist Plus! Menu as requested ;)


RE: [request] Flashing Keyboard LED's when message received by Dark_Angel_Pt on 06-28-2006 at 08:46 PM

I get an error when i'm installing the script and it doesn't finish the instalation :(


RE: [request] Flashing Keyboard LED's when message received by Bmw1000c on 06-28-2006 at 08:46 PM

---------------------------
Messenger Plus! Live
---------------------------
An error occurred while importing the script files.
---------------------------
OK   
---------------------------


RE: [request] Flashing Keyboard LED's when message received by DarkRaider on 06-28-2006 at 08:48 PM

i'll try to fix it.. for now, just rename it to .zip *-)


RE: RE: [request] Flashing Keyboard LED's when message received by Dark_Angel_Pt on 06-28-2006 at 08:51 PM

quote:
Originally posted by DarkRaider
i'll try to fix it.. for now, just rename it to .zip *-)


What do i do with the .zip file?
RE: [request] Flashing Keyboard LED's when message received by DarkRaider on 06-28-2006 at 08:54 PM

ok, i put a better version on my webspace (same link as posted above), you can now install it.
it still gives an error here, but eventhough it gives an error, the files are in the script directory *-)
i'll try to find a solution to this


RE: RE: [request] Flashing Keyboard LED's when message received by Dark_Angel_Pt on 06-28-2006 at 09:09 PM

quote:
Originally posted by DarkRaider
ok, i put a better version on my webspace (same link as posted above), you can now install it.
it still gives an error here, but eventhough it gives an error, the files are in the script directory *-)
i'll try to find a solution to this


I have the files in the script directory but it's not in the plus options.
RE: [request] Flashing Keyboard LED's when message received by DarkRaider on 06-28-2006 at 09:13 PM

ok, found the bug.. should work fine now ;)
here is the link again:
Download here (Right click -> save as)


RE: [request] Flashing Keyboard LED's when message received by Dark_Angel_Pt on 06-28-2006 at 09:34 PM

thanks for this great script (Y)

Can i suggest one more thing? Can you add an option to choose the sound? So instead of a beep i can choose other sound.


RE: [request] Flashing Keyboard LED's when message received by ramik on 06-29-2006 at 07:13 AM

A great addition will be to make the flashing occurs on specific state, which in general should be BUSY, like that it will notify by flashing when there are some full-screen apps such as games and dvd players....


RE: [request] Flashing Keyboard LED's when message received by CookieRevised on 06-29-2006 at 08:57 AM

quote:
Originally posted by Dark_Angel_Pt
thanks for this great script (Y)

Can i suggest one more thing? Can you add an option to choose the sound? So instead of a beep i can choose other sound.
That is already in Messenger Plus! Live...
Set an event for "user has started new chat" with the sound of your likings (or leave the field empty for the default sound).


--------------------------------------------------------------------

@DarkRaider

Had a quick glance over this script:
  • OnEvent_Uninitialize(bMessengerExit) is empty... remove it
    or better: make a "EndProcedure()" function which includes the disabling of the timers and uninitializing the used objects (eg fso; but I rather suggest to make the fso object locally, not globally!). People can disable a script while a chat window is still open, an unexpected error might occur, etc... (EDIT: see next reply for example of what I mean)
  • OnEvent_ChatWndEditKeyDown misses the cancelling of the timer check2 (also see first point).
  • Function OnEvent_Timer(sTimerId) can be made much shorter. No need for stating those Interop.Calls twice. The only thing different between the two sTimerids is the enabling/disabling of the timers, so only that should be in the if then else structure.
  • Variable ConfigFolder doesn't need to be globally declared.
  • Spelling error: //If the confif file doesnt exist create a default one

RE: [request] Flashing Keyboard LED's when message received by orido on 06-29-2006 at 09:26 AM

v1.2 is great.  but is anyone having the same problem as me?  When i exit wlm and log back in later all the options in the control panel of the script will be off and when i try to turn them back on the "ok" button won't work. 

Maybe its something with my wlm...


RE: [request] Flashing Keyboard LED's when message received by DarkRaider on 06-29-2006 at 09:34 AM

ok, i'll look into it ;)
and i'll add the possibility to flash by status


RE: [request] Flashing Keyboard LED's when message received by Dark_Angel_Pt on 06-29-2006 at 11:08 AM

@CookieRevised
That will only affect when someone opens a conversation window. There isn't a option in plus to choose the sound for messages you recieve while the conversation window is already open.
I know you can change it in wlm options but that won't be heard during some games.

@DarkRaider
Can't you make the script to remember if it was on/off when i shutdown my pc? Because i usually just turn it on when i'm playing but now the script always starts on.


RE: [request] Flashing Keyboard LED's when message received by CookieRevised on 06-29-2006 at 11:22 AM

PS: I urge to fix the bugs I mentionned ASAP (especially the first two ones in my list). Currently the script is constantly running, enabling and disabling timers ALL THE TIME.... check your debug window...

This is also a small warning for all who use this script as it currently is; the script might slow down others, etc.


RE: [request] Flashing Keyboard LED's when message received by DarkRaider on 06-29-2006 at 11:38 AM

Download here (Right click -> save as)

fixed :
- Timers
- Save config script
added:
- credits window

@Dark_Angel_Pt
I'll put that as an extra option in the configuration window..


RE: [request] Flashing Keyboard LED's when message received by RudeYute on 06-29-2006 at 12:09 PM

Just installed this, but is there something else I'm supposed to do?
If I just import it into MsgPlus it imports fine, but doesn't actually do anything.


RE: [request] Flashing Keyboard LED's when message received by lesbass on 06-29-2006 at 12:10 PM

when you choose the conv window and the led is flashed it remain on... while it should turn off... :P


RE: [request] Flashing Keyboard LED's when message received by DarkRaider on 06-29-2006 at 12:10 PM

you can open the configuration window from the Plus! menu on your contactlist ;)


RE: [request] Flashing Keyboard LED's when message received by RudeYute on 06-29-2006 at 12:21 PM

Ahh, lol.
Got it... cool.  Would love for it to flash them in a nice pattern tho - like one by one animation.:P
This I will definitely use when monitor is off.


RE: [request] Flashing Keyboard LED's when message received by novolo on 06-29-2006 at 12:39 PM

hey,  one thing i've noticed..  maybe this happens only to me...
when i receive a new message, it starts blinking, ok,    but when i start writing nothing happens,  the oly way to stop the blinking is t clos the convo... :S


RE: [request] Flashing Keyboard LED's when message received by DarkRaider on 06-29-2006 at 01:15 PM

Weird.. it all works here.. the only thing that doesn't work good enough yet is the fact that if you focus the chatwindow on the wrong moment, the LED stays on and you'll have to turn it of manually if it annoys you :^)


RE: [request] Flashing Keyboard LED's when message received by novolo on 06-29-2006 at 01:23 PM

aint there a way to make sure the led allways stops at the OFF position ?


RE: [request] Flashing Keyboard LED's when message received by lesbass on 06-29-2006 at 01:42 PM

you should save the state of the led before start blinking and reset it when you open the conv window :P it should not be difficult to do...


RE: [request] Flashing Keyboard LED's when message received by novolo on 06-29-2006 at 01:47 PM

ok, the last problem i had was something i did...

but now one thing i noticed...   when i'm already talking to a person,  every time he send a message,  the led changes or from off to on,  or from on to off...   
maybe that can be fixed...


RE: [request] Flashing Keyboard LED's when message received by lesbass on 06-29-2006 at 01:54 PM

true.... but i think that implementing my idea should solve this issue :)


RE: [request] Flashing Keyboard LED's when message received by DarkRaider on 06-29-2006 at 01:56 PM

I'll try to make the script remember the status so that if you click in a window, the LED(s) go out..

for now, i'm working on the "active when status is busy" part
I'll post the new version when that's fixed and when the LEDs go out


RE: [request] Flashing Keyboard LED's when message received by benrolfe on 06-29-2006 at 03:38 PM

Can this script be turned into a plsc file?
It would then be much easier to load into Msg Plus Live.

Ben


RE: RE: [request] Flashing Keyboard LED's when message received by Dark_Angel_Pt on 06-29-2006 at 03:45 PM

quote:
Originally posted by benrolfe
Can this script be turned into a plsc file?
It would then be much easier to load into Msg Plus Live.

Ben


It's already a .plsc file but if your computer is renaming it to .zip like mine was just rename the .zip to .plsc
RE: [request] Flashing Keyboard LED's when message received by Silentdragon on 06-29-2006 at 04:47 PM

code:
if(Interop.Call('user32', 'GetKeyState', VK_scroll))
   //turn scroll off

RE: [request] Flashing Keyboard LED's when message received by DarkRaider on 06-29-2006 at 05:13 PM

Thanks, this helped alot and it's fixed now ;)


RE: [request] Flashing Keyboard LED's when message received by RudeYute on 06-29-2006 at 05:30 PM

The last uploaded one is the one I'm using - Still slightly buggy.
Sometimes all the lights flash together, sometimes one at a time (I'm guessing this is meant to be like this, but can't work out which is meant to be when).

As someone above, they stay on, and so you type funny (im using a laptop).

Btw, is there any way to convert a PLSC file into editable format?


RE: [request] Flashing Keyboard LED's when message received by novolo on 06-29-2006 at 06:06 PM

code:
if(Interop.Call('user32', 'GetKeyState', VK_scroll))
so, this makes sure the light is turned off when the timer is deacivated ?

where in the script should that be?
RE: [request] Flashing Keyboard LED's when message received by DarkRaider on 06-29-2006 at 07:14 PM

Download here (Right click -> save as)

fixed:
- turn off leds after window is focused (not fully fixed)

added:
- option to flash only when you have a certain status
- option to activate script on startup.. or not

I hope that most things are fixed now..
If you still find bugs, report them and i'll try to fix them :)


RE: [request] Flashing Keyboard LED's when message received by lesbass on 06-29-2006 at 07:46 PM

great! BUT... i can't press OK button in the config tab... i press it (it's selectable) but it doesn't close, and of course it doesn't save the configuration i made. then, i don't see any status in the status menu :P i'm using italian version, is it the cause?


RE: [request] Flashing Keyboard LED's when message received by DarkRaider on 06-29-2006 at 07:57 PM

oh, make sure that you delete the old config.xml file in your scripts directory ! ;)
cause when it already exists, the script tries to read it but in the new version there are other values... so it gives errors ..
so just delete the numbered folder inside the KeyFlashers script folder   and it should work ;)

EDIT : The easy way
Remove the script in your preferences window before you install the newer version


RE: [request] Flashing Keyboard LED's when message received by lesbass on 06-29-2006 at 08:14 PM

ok.. it's all right now! Tnx a lot!!!!

Great job!


RE: [request] Flashing Keyboard LED's when message received by Knucks on 06-29-2006 at 08:27 PM

Hmm, you may be working on it already or i have just not configured the script but, can you add that when the button you have chosen (num/caps/scroll lock) is pressed when it is blinking, it will turn off?


RE: [request] Flashing Keyboard LED's when message received by DarkRaider on 06-29-2006 at 08:37 PM

hmm, I don't think that is possible, cause the script makes the computer think you are already pressing that button... and pressing it yourself won't help much..

So.. it won't be turned off untill you click or type something in the conversation window you received a message in..
that's why advise people to just use the scroll lock LED since that doesn't affect your typing or gaming ;)


RE: [request] Flashing Keyboard LED's when message received by Knucks on 06-29-2006 at 08:46 PM

I have also noticed in a conversation window that when trying to use the caps lock, it keeps turning it back off when the key is pressed and i am using the scroll lock light to use this script. :P


RE: [request] Flashing Keyboard LED's when message received by DarkRaider on 06-29-2006 at 09:02 PM

oh yeah, forgot to add something there.. fixed that now.. it will only reset the LED you have set in the config screen :)


RE: [request] Flashing Keyboard LED's when message received by orido on 06-30-2006 at 08:40 AM

DarkRaider... i love you man


RE: [request] Flashing Keyboard LED's when message received by John Anderton on 06-30-2006 at 09:03 AM

quote:
Originally posted by DarkRaider
EDIT : The easy way
Remove the script in your preferences window before you install the newer version
Plus is made such that it automatically replaces all the files in the \scripts\<script name> folder so you dont need to do so.
RE: RE: [request] Flashing Keyboard LED's when message received by DarkRaider on 06-30-2006 at 09:08 AM

quote:
Originally posted by John Anderton
quote:
Originally posted by DarkRaider
EDIT : The easy way
Remove the script in your preferences window before you install the newer version
Plus is made such that it automatically replaces all the files in the \scripts\<script name> folder so you dont need to do so.

Yeah that's true, but in this case, there is a folder with a unique number of your account that should be removed first.. If you got an old file in that folder, then the script will give errors..
replacing the script won't remove that folder, removing the script first will ;)
RE: [request] Flashing Keyboard LED's when message received by alexp2_ad on 06-30-2006 at 10:12 AM

Quick suggestion, in returning the menu XML, check whether the script is running and have the menu show "Enable Script" or "Disable Script" as appropriate.  A small thing, but it improves the overall look of the script.


RE: [request] Flashing Keyboard LED's when message received by DarkRaider on 06-30-2006 at 11:43 AM

Ok, that's done..
I wanted to do that first but i didn't know how.. but i searched and found ! ;)
I also disabled the combobox in the configurationmenu when the checkbox above is unchecked..

Download = same link as before :)


RE: [request] Flashing Keyboard LED's when message received by RudeYute on 06-30-2006 at 02:30 PM

Seems to be working a lot better now.:D

Just one thing, is anyone else using this on a laptop?  I'm pretty sure it is stopping my touchpad from working.... I'm guessing there's nothing in the code which could be causing this?


RE: [request] Flashing Keyboard LED's when message received by DarkRaider on 06-30-2006 at 03:09 PM

hmm, weird.. i created and tested the script on my laptop... didn't have any problems here.. sry
only the 3 buttons of the LEDs are called in the script.. so I don't see any reason why your touchpad stops working *-)


RE: [request] Flashing Keyboard LED's when message received by RudeYute on 07-02-2006 at 11:10 AM

Yep, its definitely caused by the script - I have found that activating scroll lock and disabling it again sorts the problem - so maybe it can be added to the script somehow (not sure as it only causes me a problem and not sure it'd help).


RE: [request] Flashing Keyboard LED's when message received by LilBenji on 07-03-2006 at 11:06 PM

Hey, Great Script!!

BUt I have a suggestion ... can you implement a function that turn off the leds after a time cause i dont shut down and do not close the messenger while I sleep and while i'm away... and someone always talk to you when you not there ;) ..
so to do not kill the Keyboard leds so easily can you implement the funcion to set a timer when stop blinking the leds. Or the possible to set a time range where the script is disabled automaticcly. Like from 00:00 to 06.00.

And a other suggestion like a other guy has requested with logitech keyboards that do not have the scroll lock key. But theres a Function Key that can be used.

That's all

THX . .
Benji


RE: RE: [request] Flashing Keyboard LED's when message received by DarkRaider on 07-04-2006 at 12:29 PM

quote:
Originally posted by LilBenji
BUt I have a suggestion ... can you implement a function that turn off the leds after a time cause i dont shut down and do not close the messenger while I sleep and while i'm away... and someone always talk to you when you not there ;) ..
so to do not kill the Keyboard leds so easily can you implement the funcion to set a timer when stop blinking the leds. Or the possible to set a time range where the script is disabled automaticcly. Like from 00:00 to 06.00.


Well, it's only a small script. I didn't intend to create a lot of extra functions on it.. and i think i've added most needed options..
When you leave your pc, you can turn the script off, or just set the script to work when you are in a certain status.
You can also edit the script yourself and add that function ;)

quote:
And a other suggestion like a other guy has requested with logitech keyboards that do not have the scroll lock key. But theres a Function Key that can be used.


If you could give me the keycode (number) of the fn button, I can easily add this :)
I'll see if there are other (small) things I can add..

@RudeYute
You seem to be the only one with this problem..*-)
Maybe it's better that you personalize your script a bit.. Just add the lines of code, where the script flashes the scroll lock, once in your initialize function.. I hope that that works :)
RE: [request] Flashing Keyboard LED's when message received by DarkFox on 07-05-2006 at 09:59 PM

A really cool thing would be alternating LEDs (like the key flasher plugin for trillian)


RE: RE: RE: [request] Flashing Keyboard LED's when message received by RudeYute on 07-05-2006 at 10:57 PM

quote:
Originally posted by DarkRaider
@RudeYute
You seem to be the only one with this problem..*-)
Maybe it's better that you personalize your script a bit.. Just add the lines of code, where the script flashes the scroll lock, once in your initialize function.. I hope that that works :)

Thanks, will probably have a look at editing it when I get a chance, but for now have it disabled.  It's wierd, as sometimes when I switch scroll lock on, it doesn't actually come on, but the second time I do it it does (hope that makes sense).

@DarkFox
Mine sometimes does lol... thing is, I couldn't work out when they are alternating and when they flash together.
RE: [request] Flashing Keyboard LED's when message received by P4R4D0x on 07-15-2006 at 12:52 AM

quote:
Originally posted by J-Thread

Also keep in mind that the method described above will influence the response of the keyboard. It doesn't really flash the lights, but instead it turns num-lock on & off, and that's causing the LED's to flash.

Yes, when I have this enabled I can't use caps lock and so forth...

RE: [request] Flashing Keyboard LED's when message received by DarkRaider on 07-15-2006 at 10:12 AM

I've released the script..
If there are any other questions or remarks, make them here:
http://shoutbox.menthix.net/showthread.php?tid=63303

This topic can be closed