Scroll Lock LED as a notification LED indicator

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
hardiksethi20
Posts: 2
Joined: 14 Apr 2022, 07:26

Scroll Lock LED as a notification LED indicator

Post by hardiksethi20 » 14 Apr 2022, 07:31

I am quite new to AHK and wanted a script that would help me use my Scroll Lock LED on the keyboard as a visual indicator for unread notifications in windows.
I spent last few days scrolling through the internet and the forums but didn't find any related posts. It would be great if someone helps me out. Thanks in advance.

David4
Posts: 27
Joined: 12 Jul 2016, 14:28

Re: Scroll Lock LED as a notification LED indicator

Post by David4 » 15 Apr 2022, 06:40

Code: Select all

SetCapsLockState , on
sleep,500
SetCapsLockState , off
sleep,500
SetCapsLockState , on
or better with settimer

hardiksethi20
Posts: 2
Joined: 14 Apr 2022, 07:26

Re: Scroll Lock LED as a notification LED indicator

Post by hardiksethi20 » 20 May 2022, 09:51

David4 wrote:
15 Apr 2022, 06:40

Code: Select all

SetCapsLockState , on
sleep,500
SetCapsLockState , off
sleep,500
SetCapsLockState , on
or better with settimer
Thanks for your reply. I got this. But how to make it react when a notification arrives in Windows??

Post Reply

Return to “Ask for Help (v1)”