The new AHK version is using the XP look to draw GUI elements( looks much better ),
but those nice colorfull bars showed by
scripts are now default system scheme bars.
I wanted a volume osd showing colored bars again.
case somebody is interested this is a much(much or very??) simplified version of Rajat's
Volume On-Screen-Display (OSD)
This script was made specifically for TPF Display font, to use others fonts you must edit it.
volume_up:: SoundSet, +1, MASTER Gosub, osd Return +volume_up:: SoundSet, +1, WAVE Gosub, osd Return volume_down:: SoundSet, -1, MASTER Gosub, osd Return +volume_down:: SoundSet, -1, WAVE Gosub, osd Return osd: SoundGet, ?volM, MASTER SoundGet, ?volW, WAVE Transform, ?volM, Ceil, %?volM% Transform, ?volW, Ceil, %?volW% ?full = IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII IfWinNotExist, volumeMASTER { StringLeft, ?barM, ?full, %?volM% StringLeft, ?barW, ?full, %?volW% Progress,1: B H26 W790 ZH0 C0 ZX0 ZY0 FS22 CTE0932F CWblack, , , volumeMASTER,TPF Display WinGetPos, , ?wY, , , volumeMASTER ?wY += 26 Progress,2: B Y%?wY% H26 W790 ZH0 C0 ZX0 ZY0 FS22 CTred CWblack, , , volumeWAVE,TPF Display Progress, 1:, %?volM%--%?barM% Progress, 2:, %?volW%--%?barW% } Else { StringLeft, ?barM, ?full, %?volM% StringLeft, ?barW, ?full, %?volW% Progress, 1:, %?volM%--%?barM% Progress, 2:, %?volW%--%?barW% } SetTimer, label, 2000 ;bars are visible for 2 seconds Return label: SetTimer, label, Off Progress, 1:Off Progress, 2:Off ReturnYou can find TPF Display font here
http://www.dafont.co...lle=TPF Display