I have a clock, and I want to display a png image at 4:20 am and pm, (I specifically use 12 hr time anyway).
I decided to use a dynamic variable for the opacity of the image, and turn it up at the right time.
My Problem is with the measure's format and ifaboveValues.
Code: Select all
[Variables]
420Opac=0
[Measure420]
;returns img at 420 (am & pm)
Measure=Time
Format=%I%M
IfAboveValue=419
IfAboveAction=!SetVariable 420Opac 165
IfAboveValue=430
IfAboveAction=!SetVariable 420Opac 0
DynamicVariables=1
[Meter420Girl]
W=640
H=640
ImageAlpha=#420Opac#
Meter=IMAGE
MeasureName=Measure420
ImageName=420chanGirl.png
Will "Format=%I%M" give a HourMinute number? Or how exactly does it work?
I saw "Format=%#I" or something similar once or twice, but I couldn't get it working.
I thought maybe something nested, or possibly a separator, I'm not sure.
I'm sure my code is sloppy, and this is probably a common asked question, but i couldn't find anything similar for a few pages back.
Any help would be greatly appreciated,
Thank You,
Alkazaar