Project

General

Profile

[Script] Blinking scroll lock led on highlight v0.5 » Blinking scroll lock led on highlight v0.3.ini

Mr. BS, 11/20/2014 02:36 PM

 
; http://dev.adiirc.com/boards/5/topics/217
; Blinking scroll lock led on highlight
; v0.3 by pereba

on *:TEXT:$(* $+ $$highlight($1-) $+ *):#:{
if (!$appactive) {
.timerLED -m 0 500 flashled
}
}

;Adi get focus then lets disable the led blinking
on *:APPACTIVE:{
if ($timer(LED)) {
.timerLED off
if ($keylocked(scrolllock)) {
flashled
}
}
}

alias flashled {
var %name led $+ $ticks
.comopen %name WScript.Shell
.comclose %name $com(%name,SendKeys,3,bstr,{ScrollLock})
}
(3-3/5)