Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,732,428 Members 46,859 Now Online
XDA Developers Android and Mobile Development Forum

Post your tasker profiles

Tip us?
 
bryanljames
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 5
Join Date: Jun 2014
Default Post your tasker profiles

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
 
bryanljames
Old
#2  
Junior Member - OP
Thanks Meter 0
Posts: 5
Join Date: 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
 
jesssiii
Old
#3  
jesssiii's Avatar
Senior Member
Thanks Meter 483
Posts: 2,278
Join Date: Aug 2010
Location: Southern CA

 
DONATE TO ME
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)
LG G2 (VZW)
 
bryanljames
Old
#4  
Junior Member - OP
Thanks Meter 0
Posts: 5
Join Date: 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
 
bryanljames
Old
#5  
Junior Member - OP
Thanks Meter 0
Posts: 5
Join Date: 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
 
Naddict
Old
#6  
Naddict's Avatar
Forum Moderator
Thanks Meter 13620
Posts: 8,298
Join Date: Nov 2011
Location: 28.2S, 92.1W
Please go here for this...http://forum.xda-developers.com/show....php?t=1110775
Every time you don't use search, a kitten, bunny, baby turtle, and fuzzy Harp Seal are killed.

Read the Rules! -- Search Before You Post! -- Learn about XDA -- Need A Moderators Help? -- Get the Most out of XDA! -- Curious about GPL?
THREAD CLOSED
Subscribe
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Run, Jump, and Shoot in Tales of Ciaxia

There are certain types of games that have become paramount of the portable gaming world. As we have … more

Samsung Gear Live Stock Firmware Image Pulled, Temp Root

Just yesterday,XDA Recognized Developer and TV ProducerAdamOutlertore apart … more

Draw a Line and Let Your Device Do the Rest with LineitApp

Over the years, since evenbefore Android entered the scene, we have striven to … more