Share your favorite FastKeys commands
-
Salama7
- Posts: 2
- Joined: Dec 29th, ’13, 19:28
Post
by Salama7 » Feb 15th, ’14, 15:29
Here is the always on top transparent clock I use in my setup. Very useful. You can change a color, font size and position as you like. Just paste the code below into the Command field.
Code: Select all
Gui, +AlwaysOnTop +ToolWindow -SysMenu -Caption
Gui, Color, cccccc
Gui, Font, cRed s11, verdana ;color and size
Gui, Add, Text, vD y0, %A_YYYY%-%A_MM%-%A_DD% %a_hour%:%a_min%:%a_sec%
Gui, Show, NoActivate x750 y3,uptime ;position
WinSet, TransColor, cccccc 255,uptime
SetTimer, RefC, 1000
return
RefC:
GuiControl, , D, %A_YYYY%-%A_MM%-%A_DD% %a_hour%:%a_min%:%a_sec%
Gui, Show, NoActivate x750 y3,uptime ;position
return
-
Comick
- Posts: 2
- Joined: Jan 17th, ’15, 14:50
Post
by Comick » Dec 12th, ’16, 07:27
This is a great clock, love it. Thanks.
-
ChrisKey
- Posts: 5
- Joined: Dec 7th, ’16, 14:58
Post
by ChrisKey » Dec 12th, ’16, 19:10
Thanks, that's useful
I modified it to get a dark background, a different font and positioned it on the right bottom of the main monitor:
Code: Select all
SysGet, curMon, Monitor
pos_x := curMonRight-200
pos_y := curMonBottom-20
bgd_color=Grey
fgd_color=Lime
Gui, +AlwaysOnTop +ToolWindow -SysMenu -Caption
Gui, Color, %bgd_color% ;Background Color
Gui, Font, c%fgd_color% s11, Courier New ;color, size and font
Gui, Add, Text, vD y0, %A_DD%.%A_MM%.%A_YYYY% %a_hour%:%a_min% :%a_sec%
Gui, Show, NoActivate x%pos_x% y%pos_y%,uptime ;position
;WinSet, TransColor, %bgd_color% 255,uptime
SetTimer, RefC, 1000
return
RefC:
GuiControl, , D, %A_DD%.%A_MM%.%A_YYYY% %a_hour%:%a_min% :%a_sec%
Gui, Show, NoActivate x%pos_x% y%pos_y%,uptime ;position
return