Jump to content

Digital Clock Docklet for Object Dock


Recommended Posts

A simple digital clock docklet & stopwatch for ObjectDock

You may configure the docklet to optionally show:

- Show/hide Seconds

- Show/hide Current Date (use the Windows locale)

- Show/hide Current Day of Week (uses the Windows locale)

- Use 12/24 Hour format for time display

The previous options may also be set directly from the left-button context menu.

The docklet is still under development, it does not have a lot of functionallity yet. I have thought about adding support for alarms or a stopwatch.

The Docklet supports stopwatch mode. Clicking on the stopwatch icon toggles stopwatch mode and lets start/pause/stop & reset the counter.

It is possible to start the counter and return to clock mode, the count will continue in the background.



+ Added options to configure font, color & size of text to support an upcoming skin by Ghostwalker (take a look at the preview).

+ Fixed :ome configuration dialog bugs that prevented to swith the skin.

Major update:


+ A new version of this docklet is available. The new version includes support for easier and more complete skinning, letting you configure the in-docklet position and region for the elements of the clock (digits, buttons, hot-spots, etc.) as well for the stopwatch. It also lets you backup & restore skin settings for later reuse or sharing.


- Multi-time zone support. Done: Still needs refining and thorough testing

- Multi-alarm support. Done: Still needs refining and thorough testing

- Full support for upcomig Ghostwalker's iPhone skin. Done: Skin might still change a bit.

Update 05/24/2009:

+ Meged digits sets on a single image, merged background on a single image.

+ Modified the mode switching code to provide faster update times.

+ Added even/odd highlights to alarms & world clock modes in order to provide visual feedback while scrolling among configured alarms & clocks.

Update 05/26/2009:

+ Modified alarms configuration dialog to support introducing alarms when 24 hour format is set.

+ Modified the skins settings tab to include a clock mode selector. Hopefully this will make it easier for skinners to understand what elements they are working with.

Update 05/29/209:

+ Added support for playing MP3 & WAV files when an alarm is fired. Two additional alarms-related options where incorporated: Play media file continuously when the reminder is shown and keep reminders windows on top. (I have conducted very few testing with this... many bugs may be present)

+ On the skin settings tab the preview will correspond to the currently selectd clock mode in the docklet.

+ Incorporated latest Ghostwalker's skin (as of today of course).

+ Added options to add alarms & world clock directly from the docklet context menu.

Update 05/29/209 (daytime ;) ):

+ Fixed some bugs related to the sound player/reminders. It now should work better when multiple alarms are fired.

Update 05/29/2009 (night - again ;) ):

+ Added code to check current locale settings to disable 12 hour format option when there are no AM/PM indicators available.

Update 05/31/2009:

+ Implemented snooze functionallity for Alarm reminders.

+ Added options to change clock mode via the context menu.

+ Implemented double-click for alarms/world clocks lists in the configuration dialogs. TO-DO: Implement Enter/delete keyboard functionallity.

Update 06/02/2009:

+ Implemented Insert/Enter/Delete for alarms/world clocks lists in the configuration dialogs. Select an Item an press the ENTER key to edit it or the DEL key to delete it. Pressing INSert key adds a new alarm/world clock.

+ Added requested Manage Alarms/World clocks menu items to the context menu.

+ Added option to remove the docklet from the context menu.

+ Reorganized the menu items to facilitate its usage.

Update 06/03/2009:

+ Reorganized configuration dialog to accomodate lower resolution screens.

+ Modified world clock date format to respond to general settings options (Show date/show DoW).

Update 06/06/2009:

+ Added an option to delete all saved skin, alarms & world clocks configuration files upon docklet deletion.

Update 06/11/2009:

+ Added basic skin support for alarms reminders. Skin made by myself (it really sucks).

+ Fixed few assorted minor bugs.

Update 06/27/2009:

+ Added support for per-pixel alpha skins (Modified previous skin by adding alpha channel effects).

Update 02/28/2010:

+ Code optimizations and bug fixes. Added date format so you can configure it as needed.

Update 03/26/2010:

+ Some bug fixes here and there, fixed worldclock to use updated wheaterchannel web service.

Note on MP3/WAV support: For now I decided to go with MCI API for sound playback... I'll wait for your feedback on stability and availability. BTW, I recently found I was able to select MP4 & AVI files.

Note: Snapshots are a couple of revisions outdated, I'll update them shortly.

You /ay download it from Digital Clock Ver.2

Latest Alpha release v. attached to this post.

Please give it a try and send me your feedback & suggestions.













DigitalClock -

Edited by Smaky
Link to comment
  • Replies 179
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

I did not have the time to test it thoroughly under XP... next week I will take a look on it.

Edit: I have faced this issue here on vista too, but clossing/reopening ObjectDock seems to fix it... as I said, next week I will further debug it.

Downloaded it and it shows the docklet in my dock but the time does not show up in it. I am using XP if that helps any.

Edit: I have done some testing under vista and found a bug there... unfortunaley I have still not nailed it. What I have found is that the behaviour you are describing is present in vista too... I have been able to reproduce it only when starting OD/OD+ automatically when windows session starts up, since my OD is configured to open manually I did not noticed that situation before, if OD is closed/re-opened then the docklet works fine.

Link to comment

Still trying to solve the OD refresh issue...

working better this time. Still had to refresh OD (no big deal). The only other thing is that i can not change my title on mouse over. I went into the options and changed it and its still the stock title.

Nice work.

Now on the title issue, that parameter is only meant to be shown while the docklet is being setup... after that the current date & time will be shown.

Would you like me to change that? If so, what would be the expected behaviour?

Link to comment

Well i have it set up and have even refreshed OD and my title says "Docklets Digitalclock Icon" where can i go to change this.

I personally think it would be better to show the date rather then the time.

Also is there any way to link it so it opens up windows calendar when clicked on?

Still like it though.



Link to comment

I am currently trying to solve the problem with the dock not loading at startup.

I believe you have downloaded an intermidiate version I uploaded in order to test... I will try to have it fixed by weekend. The final version will have an option at the configuration dialog to choose to show the time, date or both.

On the other hand, the docklet already supports that, I have inclided instructions on how to configure the Command & parameters to to exactly that.

Just click & hold the left button on the icon for a couple of seconds and it will run whatever command & parameter you have configured.

BTW: Thank you for helping me debug the docklet!

Edit: I have just changed the normal behavior of the command spawning to a simple click on the docklet... the version I will upload next weekend will work that way.

Link to comment

I did an small update yesterday,

Although the autostar bug still prevails, it now supports calling the configured command & parameters via a single click on the docklet (the readme includes instructions on how to configure them to open the data/time applet in vista).

Additionally, I added some config options to define the label of the docklet. It now supports selecting either date, day of week or time (or a combination of them) or just the "Title" by deselecting the previous options.

Give it a try...

I have no problem helping debug. Thanks to you for releasing such a nice docklet. I will be looking for that new updated release.
Link to comment
  • 2 months later...
  • 3 weeks later...

I am afraid I do not quite got you... but maybe a skin is what you are looking for.. but again... it's maybe not me the one to ask for it... since I can't do 2+2 with CG.

If and when you have time make the docklet less 'digital' if you know what i mean. Tat will be greatly appreciated and more easily readable.
Link to comment
  • 6 months later...

I'm afraid the skin stuff is out of my reach, I am just a programmer... my skins suck! On the other hand, I surely can adjust the docklet label as you are suggesting.

Wonderful docklet, I'd like to know if you plan to release some skins. Could you also make the popping up label more customizable, kind of ddd dd-mm-yy, hh:mm:ss syntax support? Are you going also to write a calendar only docklet?
Link to comment

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now

  • Create New...