Traditional clock gadget with timer, periodic alarm (Gdip)

Post your working scripts, libraries and tools
drozdman
Posts: 63
Joined: 05 Dec 2015, 01:07

Traditional clock gadget with timer, periodic alarm (Gdip)

01 May 2018, 12:41

Continuing Vista sidebar replacements (after "Network monitor", "CPU monitor")

Traditional clock widget. No images necessary, using only Gdip library.

Traditional clock gadget.png
Traditional clock gadget.png (15.04 KiB) Viewed 549 times



This is a clock with timer

Code: [Select all] [Expand] [Download] (Drozd_zegar.ahk)GeSHi © Codebox Plus



Save the file in Unicode or UTF-8 with signature

In this version I added periodic alarm

Code: [Select all] [Expand] [Download] (Drozd_zegar_alarm.ahk)GeSHi © Codebox Plus



Added: text-to-speech.ahk (should be placed in the same folder).


Code: [Select all] [Expand] [Download] (text-to-speech.ahk)GeSHi © Codebox Plus




Posted also here



I copied the necessary Gdip functions in the script itself.

Updated with radial gradient functions by "just me" https://autohotkey.com/board/topic/2944 ... _id_501189
It may also be useful (included as an option in the script, but not used in the end): Gdip_AlphaMask() https://autohotkey.com/board/topic/1034 ... _id_638772

AHK limitation: program is suspended while the right click context menu is on.
Last edited by drozdman on 17 Aug 2018, 22:27, edited 15 times in total.
burque505
Posts: 547
Joined: 22 Jan 2017, 19:37

Re: Traditional clock gadget with timer, periodic alarm (Gdip)

01 May 2018, 13:25

Very nice indeed, thank you for sharing this.
Regards, burque505
ldub

Re: Traditional clock gadget with timer, periodic alarm (Gdip)

04 May 2018, 04:21

I do like your clock !
Everything is very well thought out.
Thank's for sharing.
StefOnSteroids
Posts: 40
Joined: 08 Aug 2015, 10:22

Re: Traditional clock gadget with timer, periodic alarm (Gdip)

04 May 2018, 14:59

Thank you. It works flawless here on Win7.
Very useful and pleasant to look at.
drozdman
Posts: 63
Joined: 05 Dec 2015, 01:07

Re: Traditional clock gadget with timer, periodic alarm (Gdip)

01 Jun 2018, 19:21

I changed the script a little.
● After combing the clock with the periodic alarm a short alarm option with message showing on the side and closing by itself was lost. I got used to it so I included it the script here.
● Also, I added some text-to-speech options. Though, it's launched from a separate file named "text-to-speech.ahk" placed in the same folder
● Also added: missed date alarm notification on the same day
● Added preferences
drozdman
Posts: 63
Joined: 05 Dec 2015, 01:07

Re: Traditional clock gadget with timer, periodic alarm (Gdip)

14 Aug 2018, 12:21

I didn't want to start another thread (no script), so I write it here. Since I use the small internal PC speaker beep for alarm clock (not only the speakers and sound card), this is important for me.

How to get the PC beep in Win7 x64.

Get beepxp64.zip from http://www.waldbauer.com/tmp/reference.php download
The instructions how to install are inside:
1) Disable Windows' own BEEP.SYS driver
sc config Beep start= demand
2) Right click onto the beepxp.inf file and choose "Install."


Though I had to start Windows with the option “Disable Driver Signature Enforcement” (at start up - press F8 key) to install it properly.
It may work with other versions of Windows, but I didn't check.

BTW: It was already posted on old forum.

Return to “Scripts and Functions”

Who is online

Users browsing this forum: truekefir and 17 guests