[tutoial] Making Minidigitalclock Widget

Since I got a lot of requests for that MiniDigitalClock Widget and I don't have permission to distribute it, I think I could make a lil tutorial to help those who want to create one.

So all you need is resources from the real Konfab widget (that I cannot distribute either), you can get it by extracting the .dmg file which can be found at www.konfabulator.com (you'll need a Mac to extract those resources) and you will also need a script allowing to split number from date and time (the digits showing on the clock are PNGs, not with crappy digital font), the script is included in this thread.

1) First you have to reconfigure your date and time. Go to control panel => regional and languages option. Click on customize, on the "time" tab, set time format to "hh:mm:ss tt" (without quotes) and on the "date" tab, set short date format to "ddd - dd/MM/yy" (without quotes). Click OK

2) Download the script I included in this thread, open it with Notepad and reconfigure the PNGs' path in "constImage"

3) Open Samurize config and start making the widget. Add the background first (the background is extracted from .dmg file) then add active script, chose the script you have downloaded, in the "select function to run" drop list, select getHoursFirstdigit, set "Run every X min" parameter to 1, set the draw type to image (draw type is in general tab), Test the script, now you should see the first number of the clock. Add another active script for the second digit and so on for the minute.

4) As for the week day, chose function get date and set also the draw type to image.

5) Finaly add the clock reflection and now you have done your widget your self. No need to request anyone :) :)

Here is the screenshot with all 4 minidigital clock screenshot-14252.jpg

If you have any problem or question, just reply here, I'll try my best to help you out.

#158031

Hi.Man

Any way to find the pictures?

#158038

ask a Mac user, u know who to ask :naughty: :naughty:

#158039

Hi,

Great tut, thanks a lot.

Id like to ask, if its possible to put or give a url with the tiny clock pngs ?

Thanks.

Bye.

#158108