Thread Closed

Post your tasker profiles

OP bryanljames

6th June 2014, 05:09 PM   |  #1  
OP Junior Member
Thanks Meter: 0
 
5 posts
Join Date:Joined: Jun 2014
I realize this type of thread is peppered throughout device specific forums, but I didn't see a general tasker thread and thought this might make it easier for people starting to use tasker to find
6th June 2014, 05:18 PM   |  #2  
OP Junior Member
Thanks Meter: 0
 
5 posts
Join Date:Joined: Jun 2014
Here is my first relevant tasked profile. It is a modification of one I found that reads the first event for tomorrow. The changes I made:

1. Change to search for the earliest event of the current day that has not passed already

2. Changed goto statements to a for loop to increase efficiency

3. Tailored responses to greet based on the time of day

I have this set up to execute once I connect to my work WiFi. If you want to use this be sure and change the name. You can safely remove the variable search replace actions. They are there to aid in the say action to correctly speak my event entries.

Any improvements are welcome and I love to see what others add on or change.

<TaskerData sr="" dvi="1" tv="4.3u4m">
<Task sr="task30">
<cdate>1381336077561</cdate>
<edate>1402071350312</edate>
<id>30</id>
<nme>Announce First Event Today</nme>
<pri>10</pri>
<Action sr="act0" ve="5">
<code>547</code>
<Str sr="arg0" ve="3">%now</Str>
<Str sr="arg1" ve="3">%TIME</Str>
<Int sr="arg2" val="1"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act1" ve="5">
<code>590</code>
<Str sr="arg0" ve="3">%now</Str>
<Str sr="arg1" ve="3">.</Str>
<Int sr="arg2" val="0"/>
</Action>
<Action sr="act10" ve="5">
<code>547</code>
<Str sr="arg0" ve="3">%querytime</Str>
<Str sr="arg1" ve="3">%TIMES + (23 - %now1)*60*60 + (60-%now2)*60 - 86400 + (%hour*60*60)</Str>
<Int sr="arg2" val="1"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act11" ve="5">
<code>115</code>
<se>false</se>
<Int sr="arg0" val="13"/>
<Str sr="arg1" ve="3">%querytime</Str>
<Str sr="arg2" ve="3">%caltitle</Str>
</Action>
<Action sr="act12" ve="5">
<code>115</code>
<se>false</se>
<Int sr="arg0" val="15"/>
<Str sr="arg1" ve="3">%querytime</Str>
<Str sr="arg2" ve="3">%calloc</Str>
</Action>
<Action sr="act13" ve="5">
<code>37</code>
<ConditionList sr="if">
<bool0>And</bool0>
<Condition sr="c0" ve="2">
<lhs>%caltitle(#)</lhs>
<op>0</op>
<rhs>1</rhs>
</Condition>
<Condition sr="c1" ve="2">
<lhs>%querytime</lhs>
<op>3</op>
<rhs>%TIMES</rhs>
</Condition>
</ConditionList>
</Action>
<Action sr="act14" ve="5">
<code>115</code>
<se>false</se>
<Int sr="arg0" val="16"/>
<Str sr="arg1" ve="3">%querytime</Str>
<Str sr="arg2" ve="3">%caltime</Str>
</Action>
<Action sr="act15" ve="5">
<code>596</code>
<Str sr="arg0" ve="3">%caltime1</Str>
<Int sr="arg1" val="4"/>
<Str sr="arg2" ve="3"/>
</Action>
<Action sr="act16" ve="5">
<code>597</code>
<Str sr="arg0" ve="3">%caltime1</Str>
<Int sr="arg1" val="11"/>
<Int sr="arg2" val="6"/>
<Int sr="arg3" val="0"/>
<Str sr="arg4" ve="3"/>
</Action>
<Action sr="act17" ve="5">
<code>590</code>
<Str sr="arg0" ve="3">%caltime1</Str>
<Str sr="arg1" ve="3">.</Str>
<Int sr="arg2" val="0"/>
</Action>
<Action sr="act18" ve="5">
<code>598</code>
<Str sr="arg0" ve="3">%calloc1</Str>
<Str sr="arg1" ve="3">PAC</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
<Str sr="arg5" ve="3"/>
<Int sr="arg6" val="1"/>
<Str sr="arg7" ve="3"> pack</Str>
</Action>
<Action sr="act19" ve="5">
<code>598</code>
<Str sr="arg0" ve="3">%caltitle1</Str>
<Str sr="arg1" ve="3">-</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
<Str sr="arg5" ve="3"/>
<Int sr="arg6" val="1"/>
<Str sr="arg7" ve="3"> </Str>
</Action>
<Action sr="act2" ve="5">
<code>37</code>
<ConditionList sr="if">
<Condition sr="c0" ve="2">
<lhs>%now1</lhs>
<op>2</op>
<rhs>12</rhs>
</Condition>
</ConditionList>
</Action>
<Action sr="act20" ve="5">
<code>598</code>
<Str sr="arg0" ve="3">%calloc1</Str>
<Str sr="arg1" ve="3">-</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
<Str sr="arg5" ve="3"/>
<Int sr="arg6" val="1"/>
<Str sr="arg7" ve="3"> </Str>
</Action>
<Action sr="act21" ve="5">
<code>559</code>
<Str sr="arg0" ve="3">%greeting Bryan. You have an event at %caltime11 %caltime12. %caltitle1 located at the %calloc1</Str>
<Str sr="arg1" ve="3">default:default</Str>
<Int sr="arg2" val="3"/>
<Int sr="arg3" val="5"/>
<Int sr="arg4" val="5"/>
<Int sr="arg5" val="0"/>
<Int sr="arg6" val="0"/>
<Int sr="arg7" val="0"/>
</Action>
<Action sr="act22" ve="5">
<code>137</code>
<Int sr="arg0" val="0"/>
<Str sr="arg1" ve="3"/>
</Action>
<Action sr="act23" ve="5">
<code>38</code>
</Action>
<Action sr="act24" ve="5">
<code>40</code>
</Action>
<Action sr="act25" ve="5">
<code>559</code>
<Str sr="arg0" ve="3">You have no events today. Create something.</Str>
<Str sr="arg1" ve="3">default:default</Str>
<Int sr="arg2" val="3"/>
<Int sr="arg3" val="3"/>
<Int sr="arg4" val="5"/>
<Int sr="arg5" val="0"/>
<Int sr="arg6" val="0"/>
<Int sr="arg7" val="0"/>
</Action>
<Action sr="act26" ve="5">
<code>137</code>
<Int sr="arg0" val="0"/>
<Str sr="arg1" ve="3"/>
</Action>
<Action sr="act3" ve="5">
<code>547</code>
<Str sr="arg0" ve="3">%greeting</Str>
<Str sr="arg1" ve="3">Good morning</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act4" ve="5">
<code>43</code>
<ConditionList sr="if">
<Condition sr="c0" ve="2">
<lhs>%now1</lhs>
<op>2</op>
<rhs>16</rhs>
</Condition>
</ConditionList>
</Action>
<Action sr="act5" ve="5">
<code>547</code>
<Str sr="arg0" ve="3">%greeting</Str>
<Str sr="arg1" ve="3">Good afternoon</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act6" ve="5">
<code>43</code>
</Action>
<Action sr="act7" ve="5">
<code>547</code>
<Str sr="arg0" ve="3">%greeting</Str>
<Str sr="arg1" ve="3">Good evening</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act8" ve="5">
<code>38</code>
</Action>
<Action sr="act9" ve="5">
<code>39</code>
<Str sr="arg0" ve="3">%hour</Str>
<Str sr="arg1" ve="3">0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17 ,18,19,20,21,22</Str>
</Action>
</Task>
</TaskerData>


Sent from my SM-G900V using Tapatalk
7th June 2014, 04:31 AM   |  #3  
jesssiii's Avatar
Senior Member
Flag Southern CA
Thanks Meter: 656
 
2,662 posts
Join Date:Joined: Aug 2010
Donate to Me
More
I've set up a task, using the wiki as help, to turn Wi-Fi on/off automatically when coming/leaving home.

There's a notification in the pull down that can't be dismissed. Is there a way?

VZW G2 (VS980)
8th June 2014, 12:40 AM   |  #4  
OP Junior Member
Thanks Meter: 0
 
5 posts
Join Date:Joined: Jun 2014
As far as I have experienced no. As I understand it taker needs to be running in the foreground ie the task bar when monitoring profile states or your profile will never trigger. I may be wrong and hope I am. Even setting the icon to transparent doesn't get rid of it.

Sent from my SM-G900V using Tapatalk
12th June 2014, 04:07 AM   |  #5  
OP Junior Member
Thanks Meter: 0
 
5 posts
Join Date:Joined: Jun 2014
I am working on one that will display the most recent texts of up to 3 recipients up to 10 messages max for use with voice. IE "reply to recent message" pulls up last three senders to choose from and "read recent messages". Let me know if anyone is interested.

Sent from my SM-G900V using Tapatalk
12th June 2014, 10:31 PM   |  #6  
Naddict's Avatar
Senior Member
Flag 28.2S, 92.1W
Thanks Meter: 13,808
 
8,467 posts
Join Date:Joined: Nov 2011
More
Please go here for this...http://forum.xda-developers.com/show....php?t=1110775
Thread Closed Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Android Q&A, Help & Troubleshooting by ThreadRank