That's how I got started. but I figured it would say the time as soon as I plugged them in then every hour thereafter. for example if I plugged in at 9:26 would it then go off at 10:00 or 10:26?
Ok, here is what I got. got most of this from another post (thanks unclemike)
Context: headset plugged any
Context: Every hour
Variable Set %MYTIME %TIME
Variable Split %MYTIME "."
Variable Set %MYAMPM "a m"
Variable Set %MYAMPM "p m" If %MYTIME1 > 11
Variable Subtract %MYTIME1 12 If %MYTIME1 > 12
Variable Add %MYTIME1 12 If %MYTIME1 = 0
Variable Set %MYTIME1 %MYTIME1 [Do Maths] (should eliminate any leading zeros)
Variable Set %MYTIME2 %MYTIME2 [Do Maths] (should eliminate any leading zeros)
Variable Set %MYTIME2 "O Clock" If %MYTIME2 = 0
Variable Set %MYTIME2 "o %MYTIME2" If %MYTIME2 < 10
Say %MYTIME1 %MYTIME2 %MYAMPM
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.