It is currently March 28th, 2024, 10:18 pm

Alarm clock will be a dynamic

Clocks and timer skins
looklookis
Posts: 16
Joined: September 4th, 2009, 11:39 am

Alarm clock will be a dynamic

Post by looklookis »

You do not have the required permissions to view the files attached to this post.
User avatar
maminscris
Posts: 509
Joined: April 24th, 2009, 3:17 pm
Location: Bucharest, Romania Lat 44,43° Lon 26,1°

Re: Alarm clock will be a dynamic

Post by maminscris »

excellent job,
and it is not a cpu hog

:beer:
Zero at programing, zero at writing codes, so far 2 at making images
But I'm good at copy/paste, and I not always like this
Image
User avatar
VClouds
Posts: 77
Joined: April 7th, 2010, 2:34 pm

Re: Alarm clock will be a dynamic

Post by VClouds »

Very nice indeed!
Hoped it can be useful to me, but it IS a cpu hog...
User avatar
tru
Posts: 169
Joined: January 12th, 2010, 4:24 am
Location: A Salty Piece of Land...

Re: Alarm clock will be a dynamic

Post by tru »

I like it but it does run heavy...
goliath6900
Posts: 11
Joined: April 6th, 2010, 4:23 am

Re: Alarm clock will be a dynamic

Post by goliath6900 »

how do you set the alarm? nice skin.

never mind. figured it out
looklookis
Posts: 16
Joined: September 4th, 2009, 11:39 am

Re: Alarm clock will be a dynamic

Post by looklookis »

goliath6900 wrote:how do you set the alarm? nice skin.

never mind. figured it out
[Variables]
SetPM=0
SetH=0
SetS=0
SetM=0

[MeasureTime]
Measure=Time
Format="%I"

[MeasureTime1]
Measure=Time
Format="%M"

[MeasureTime2]
Measure=Time
Format="%#I:%M"

[MeasureAPM]
Measure=Time
Format="%p"
Substitute="AM":"0","PM":"720"

[MeasureCalc]
Measure=Calc
Formula=[MeasureTime]*60+[MeasureTime1]+[MeasureAPM]
DynamicVariables=1

[Set]
Measure=Calc
Formula=#SetPM#+#SetH#+#SetS#+#SetM#
IfEqualValue=[MeasureCalc]
IfEqualAction=PLAYLOOP #path#Alarm.wav
DynamicVariables=1

When the "#SetPM#+#SetH#+#SetS#+#SetM#" and "[MeasureCalc]" will be the same as the implementation of "IfEqualAction=PLAYLOOP #path#Alarm.wav"
looklookis
Posts: 16
Joined: September 4th, 2009, 11:39 am

Re: Alarm clock will be a dynamic

Post by looklookis »

VClouds wrote:Very nice indeed!
Hoped it can be useful to me, but it IS a cpu hog...
True multi-purpose CPU resources
inyazserg
Posts: 1
Joined: September 21st, 2013, 5:51 pm

Re: Alarm clock will be a dynamic

Post by inyazserg »

I thought I was going to try it but the link doesn`t work.
Alarm.zip Download:
http://www.adrive.com/public/b5eebb3156 ... d5a92.html
Kicked the bucket.
Please, where can I download this clock? :welcome: