| View previous topic :: View next topic |
| Author |
Message |
System*Monitor Guest
|
Posted: Mon May 07, 2007 11:27 pm Post subject: Add seconds to clock |
|
|
| Is there a way to add seconds to the clock on the lower right of the screen? i just thought of the idea not sure how to do it help please!!! |
|
| Back to top |
|
 |
Hmm Guest
|
Posted: Tue May 08, 2007 9:22 pm Post subject: Clocks |
|
|
| I use this software: http://www.drive-software.com/atomicalarmclock.html to show the seconds. It isn't free but I know I got the free version some where. (It's no longer available on the site.) The free version doesn't have an alarm or less skins or something but still shows the seconds. |
|
| Back to top |
|
 |
SKAN
Joined: 26 Dec 2005 Posts: 5790
|
Posted: Tue May 08, 2007 10:41 pm Post subject: Re: Add seconds to clock |
|
|
| System*Monitor wrote: | | help please!!! |
Disclaimer: I am not comfortable with the idea of writing to the registry per second.
But I tested and the following code works properly for me:
Tray clock with seconds by Landvermesser
| Code: | #Persistent
RegRead, SavedTimeFormat, HKEY_CURRENT_USER, Control Panel\International, sTimeFormat
OnExit, SubExit
SetTimer, WatchTime, 1000
Return
WatchTime:
RegWrite, REG_SZ, HKEY_CURRENT_USER, Control Panel\International, sTimeFormat, ' 'H:mm':%A_Sec% '
SendMessage, 0x1A, 0, "intl", TrayClockWClass1, ahk_class Shell_TrayWnd
Return
SubExit:
RegWrite, REG_SZ, HKEY_CURRENT_USER, Control Panel\International, sTimeFormat, %SavedTimeFormat%
SendMessage, 0x1A, 0, "intl", TrayClockWClass1, ahk_class Shell_TrayWnd
ExitApp |
 |
|
| Back to top |
|
 |
svi
Joined: 09 Oct 2006 Posts: 124 Location: Finland
|
Posted: Tue May 08, 2007 11:39 pm Post subject: |
|
|
If you have vertical, thin taskbar, you'll have to shorten the space in | Code: | | sTimeFormat, ' 'H:mm':%A_Sec% | in order to see seconds! _________________ Pekka Vartto |
|
| Back to top |
|
 |
System*Monitor Guest
|
Posted: Wed May 09, 2007 4:27 am Post subject: |
|
|
THANKS!!1
Do you happen to know how to change it from 24-Hour to 12-Hour with AM and PM
Thank U |
|
| Back to top |
|
 |
SYstem *Monitor Guest
|
Posted: Wed May 09, 2007 5:07 am Post subject: |
|
|
| never mind figured out |
|
| Back to top |
|
 |
System*Monitor Guest
|
Posted: Wed May 09, 2007 5:09 am Post subject: |
|
|
Is there a way to make it smaller like the normal clock without so much space?  |
|
| Back to top |
|
 |
atnbueno
Joined: 24 Mar 2007 Posts: 26
|
Posted: Wed May 09, 2007 4:55 pm Post subject: |
|
|
I removed all the extra spaces and it looks good to me  _________________ Regards,
Antonio |
|
| Back to top |
|
 |
SKAN
Joined: 26 Dec 2005 Posts: 5790
|
Posted: Wed May 09, 2007 5:35 pm Post subject: |
|
|
| System*Monitor wrote: | Is there a way to make it smaller like the normal clock without so much space?  |
You may disable Tray clock and use a Start button clock instead.
That should save you some space.
See: http://www.autohotkey.com/forum/viewtopic.php?p=54863#54863
 |
|
| Back to top |
|
 |
|