TrayIndicators: lock keys indicators in system tray

Post your working scripts, libraries and tools for AHK v1.1 and older
ikonomov
Posts: 29
Joined: 21 Feb 2016, 22:10

TrayIndicators: lock keys indicators in system tray

08 Mar 2019, 19:31

I'm posting a simple script that shows the keyboard indicators for the lock keys (NumLock, CapsLock and ScrollLock) in notification area of Taskbar in Windows. There are a few programs available with the same functionality, but none of them quite have the features or the icon legibility that I wanted. Notably it has different icon sizes for different Windows DPI scaling for maximum sharpness, a few color options, and the ability to configure it to only show when there are lock keys turned on.

Please feel free to post suggestions!
TrayIndicators 1.1.zip
(1.1 MiB) Downloaded 485 times
Attachments
screenshot.png
screenshot.png (22 KiB) Viewed 2689 times
Last edited by ikonomov on 13 Mar 2019, 14:22, edited 3 times in total.
iPhilip
Posts: 819
Joined: 02 Oct 2013, 12:21

Re: TrayIndicators: lock keys indicators in system tray

08 Mar 2019, 23:00

Hi ikonomov,

Thank you. It looks very good. Why not set the default indicator icon size automatically in the ini file based on the current Windows DPI scaling? See the A_ScreenDPI built-in value.

Cheers!

- iPhilip
Windows 10 Pro (64 bit) - AutoHotkey v2.0+ (Unicode 64-bit)
ikonomov
Posts: 29
Joined: 21 Feb 2016, 22:10

Re: TrayIndicators: lock keys indicators in system tray

09 Mar 2019, 01:39

iPhilip, thank you for the great suggestion and pointing out the exact thing that I need! I was actually looking up earlier today how I could do this, and only found DPIScale, which wasn't much help, and gave up lol. I'll set the setting in the .ini for accepting an "auto" input, which will adjust it automatically, and to allow manually to adjust the size if a number is entered manually the way it is right now. Perfect!
ikonomov
Posts: 29
Joined: 21 Feb 2016, 22:10

Re: TrayIndicators: lock keys indicators in system tray

09 Mar 2019, 02:37

Done. Thank you once again iPhilip!
Olbi
Posts: 2
Joined: 07 Mar 2019, 14:00

Re: TrayIndicators: lock keys indicators in system tray

12 Mar 2019, 10:20

Looks great! This is very useful!
ss005
Posts: 3
Joined: 25 Dec 2014, 09:17

Re: TrayIndicators: lock keys indicators in system tray

17 Mar 2021, 12:59

It's really great! Thanks a lot!
If it would be possible to put this script on github, it'd benefit more number of people I think.

Thanks again!

Return to “Scripts and Functions (v1)”

Who is online

Users browsing this forum: Rohwedder and 232 guests