Go Back   Android Forums > Android Discussion > Android Applications > Tasker

test: Reply
 
LinkBack Thread Tools
Old January 13th, 2013, 05:05 PM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Dec 2012
Posts: 6
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default simple talking clock

I would like to create a simple taking clock profile to play on the hour only when my headphones are plugged in. any tips?

Advertisements
Belovian is offline  
Reply With Quote
sponsored links
Old January 14th, 2013, 06:52 AM   #2 (permalink)
Junior Member
 
Join Date: Oct 2012
Posts: 92
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 12 Times in 12 Posts
Default Re: simple talking clock

Based on what you described, very basic:

Context: headphones plugged
Context: time(24hrs): repeat every hour

Task: say %TIME

That should get you started
tatootie67 is offline  
Reply With Quote
Old January 14th, 2013, 08:05 AM   #3 (permalink)
New Member
Thread Author (OP)
 
Join Date: Dec 2012
Posts: 6
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

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?
Belovian is offline  
Reply With Quote
Old January 14th, 2013, 01:02 PM   #4 (permalink)
Junior Member
 
Join Date: Oct 2012
Posts: 92
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 12 Times in 12 Posts
Default Re: simple talking clock

No .
It will fire off every hour on the hour regardless of when the event begins.
It would go off at 10:00
tatootie67 is offline  
Reply With Quote
Old January 14th, 2013, 03:49 PM   #5 (permalink)
New Member
Thread Author (OP)
 
Join Date: Dec 2012
Posts: 6
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Belovian is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Discussion > Android Applications > Tasker
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 11:33 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.