r/TaskerFiles • u/ajeshmohanan • Apr 13 '20
Trigger a task on SMS delivery confirmation
I'm trying to trigger a task on SMS delivery confirmation, I am on oneplus 6T have autonotification.
Please help
r/TaskerFiles • u/ajeshmohanan • Apr 13 '20
I'm trying to trigger a task on SMS delivery confirmation, I am on oneplus 6T have autonotification.
Please help
r/TaskerFiles • u/David-Martin • Apr 14 '20
r/TaskerFiles • u/Blitzdroids • Aug 02 '21
In my last post I said V2 would be the final version but I felt like it wasn't finished. I decided to make one more version with additional features and UI elements for a better user experience. This will 100% be the last version I promise.
V3:
-Added new elements and redesigned scene for easier access to functions and user interface.
-Added a spell check function that takes place if the initial search fails to produce results and prompts the user with correct spelling.
-Added ability for scene to be expanded into full screen and back.
-Minor tweaks so project can be exported and used as an app
-AutoTools plugin is no longer required.
Screenshots: http://imgur.com/gallery/ZX95wsk
r/TaskerFiles • u/Motofarer • May 14 '16
If I copy-paste an xml file on Notepad, it saves as a txt file. How do I convert that an xml one?
r/TaskerFiles • u/arkachofas • May 18 '16
Hi! I want to turn on/off my xiaomi yeelight with tasker but I don't know how to do it. Can someone help me??
r/TaskerFiles • u/CagingRoyals • Mar 03 '15
Description: pastee.org is my preferred paste bin. It has a very simple interface, and some nice security features. It also doubles as a url shortener. This project has 2 tasks:
pstNewPastee acts as a function that should be called from another task, and returns the url of the paste. %par1 is required, and is the content of the paste. %par2 is optional, and is the number of days before the paste is removed. %par2 is set to 1 day by default.
Pastee Example is an example of how to use pstNewPastee, and simply submits a generic test paste and opens it in the default browser.
I have not included any functionality to encrypt the pastes with a password, but that should be fairly straight forward.
Requirements: Tasker, RESTask Plugin
Code:
<TaskerData sr="" dvi="1" tv="4.7b2">
<Project sr="proj0" ve="2">
<cdate>1425277991741</cdate>
<name>Pastee</name>
<tids>81,77</tids>
</Project>
<Task sr="task77">
<cdate>1425278024551</cdate>
<edate>1425404905494</edate>
<id>77</id>
<nme>pstNewPastee</nme>
<pri>100</pri>
<Action sr="act0" ve="7">
<code>547</code>
<Str sr="arg0" ve="3">%debug</Str>
<Str sr="arg1" ve="3">0</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act1" ve="7">
<code>547</code>
<Str sr="arg0" ve="3">%days</Str>
<Str sr="arg1" ve="3">1</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act10" ve="7">
<code>598</code>
<Str sr="arg0" ve="3">%match1</Str>
<Str sr="arg1" ve="3"></code></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"/>
</Action>
<Action sr="act11" ve="7">
<code>548</code>
<Str sr="arg0" ve="3">Pastee: %pastee
Server Response:
%rtres</Str>
<Int sr="arg1" val="0"/>
<ConditionList sr="if">
<Condition sr="c0" ve="3">
<lhs>%debug</lhs>
<op>2</op>
<rhs>1</rhs>
</Condition>
</ConditionList>
</Action>
<Action sr="act12" ve="7">
<code>126</code>
<Str sr="arg0" ve="3">https://pastee.org/%match1</Str>
<Int sr="arg1" val="1"/>
</Action>
<Action sr="act2" ve="7">
<code>547</code>
<Str sr="arg0" ve="3">%days</Str>
<Str sr="arg1" ve="3">%par2</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<ConditionList sr="if">
<Condition sr="c0" ve="3">
<lhs>%par2</lhs>
<op>12</op>
<rhs></rhs>
</Condition>
</ConditionList>
</Action>
<Action sr="act3" ve="7">
<code>547</code>
<Str sr="arg0" ve="3">%lexer</Str>
<Str sr="arg1" ve="3">text</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act4" ve="7">
<code>547</code>
<Str sr="arg0" ve="3">%ttl</Str>
<Str sr="arg1" ve="3">%days*86400</Str>
<Int sr="arg2" val="1"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act5" ve="7">
<code>547</code>
<Str sr="arg0" ve="3">%content</Str>
<Str sr="arg1" ve="3">%par1</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act6" ve="7">
<code>3092</code>
<Bundle sr="arg0">
<Vals sr="val">
<bundle_header>Content-type application/x-www-form-urlencoded||Accept text/plain</bundle_header>
<bundle_header-type>java.lang.String</bundle_header-type>
<bundle_param>lexer %lexer||ttl %ttl||content %content</bundle_param>
<bundle_param-type>java.lang.String</bundle_param-type>
<com.freehaha.restask.BASICAUTH></com.freehaha.restask.BASICAUTH>
<com.freehaha.restask.BASICAUTH-type>java.lang.String</com.freehaha.restask.BASICAUTH-type>
<com.freehaha.restask.BODY></com.freehaha.restask.BODY>
<com.freehaha.restask.BODY-type>java.lang.String</com.freehaha.restask.BODY-type>
<com.freehaha.restask.CERT></com.freehaha.restask.CERT>
<com.freehaha.restask.CERT-type>java.lang.String</com.freehaha.restask.CERT-type>
<com.freehaha.restask.CERTPATH>empty</com.freehaha.restask.CERTPATH>
<com.freehaha.restask.CERTPATH-type>java.lang.String</com.freehaha.restask.CERTPATH-type>
<com.freehaha.restask.CUSTOMBODY>n</com.freehaha.restask.CUSTOMBODY>
<com.freehaha.restask.CUSTOMBODY-type>java.lang.String</com.freehaha.restask.CUSTOMBODY-type>
<com.freehaha.restask.CUSTOMECERT>n</com.freehaha.restask.CUSTOMECERT>
<com.freehaha.restask.CUSTOMECERT-type>java.lang.String</com.freehaha.restask.CUSTOMECERT-type>
<com.freehaha.restask.HEADER>%rthdr</com.freehaha.restask.HEADER>
<com.freehaha.restask.HEADER-type>java.lang.String</com.freehaha.restask.HEADER-type>
<com.freehaha.restask.HOST>https://pastee.org:443/submit</com.freehaha.restask.HOST>
<com.freehaha.restask.HOST-type>java.lang.String</com.freehaha.restask.HOST-type>
<com.freehaha.restask.RESPONSE>%rtres</com.freehaha.restask.RESPONSE>
<com.freehaha.restask.RESPONSE-type>java.lang.String</com.freehaha.restask.RESPONSE-type>
<com.freehaha.restask.RETCODE>%rtcode</com.freehaha.restask.RETCODE>
<com.freehaha.restask.RETCODE-type>java.lang.String</com.freehaha.restask.RETCODE-type>
<com.freehaha.restask.SYNCCALL>y</com.freehaha.restask.SYNCCALL>
<com.freehaha.restask.SYNCCALL-type>java.lang.String</com.freehaha.restask.SYNCCALL-type>
<com.freehaha.restask.TIMEOUT>30</com.freehaha.restask.TIMEOUT>
<com.freehaha.restask.TIMEOUT-type>java.lang.String</com.freehaha.restask.TIMEOUT-type>
<com.freehaha.restask.TYPE>POST</com.freehaha.restask.TYPE>
<com.freehaha.restask.TYPE-type>java.lang.String</com.freehaha.restask.TYPE-type>
<com.twofortyfouram.locale.intent.extra.BLURB>REST call</com.twofortyfouram.locale.intent.extra.BLURB>
<com.twofortyfouram.locale.intent.extra.BLURB-type>java.lang.String</com.twofortyfouram.locale.intent.extra.BLURB-type>
<net.dinglisch.android.tasker.RELEVANT_VARIABLES><StringArray sr=""><_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES0>%rtcode
Response code</_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES0><_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES1>%rtres
Response body</_array_net.dinglisch.android.tasker.RELEVANT_VARIABLES1></StringArray></net.dinglisch.android.tasker.RELEVANT_VARIABLES>
<net.dinglisch.android.tasker.RELEVANT_VARIABLES-type>[Ljava.lang.String;</net.dinglisch.android.tasker.RELEVANT_VARIABLES-type>
<net.dinglisch.android.tasker.extras.VARIABLE_REPLACE_KEYS>com.freehaha.restask.TYPE com.freehaha.restask.HOST com.freehaha.restask.TIMEOUT com.freehaha.restask.BASICAUTH com.freehaha.restask.CUSTOMBODY com.freehaha.restask.BODY com.freehaha.restask.CUSTOMECERT com.freehaha.restask.CERTPATH com.freehaha.restask.SYNCCALL com.freehaha.restask.HEADER bundle_param bundle_header</net.dinglisch.android.tasker.extras.VARIABLE_REPLACE_KEYS>
<net.dinglisch.android.tasker.extras.VARIABLE_REPLACE_KEYS-type>java.lang.String</net.dinglisch.android.tasker.extras.VARIABLE_REPLACE_KEYS-type>
<net.dinglisch.android.tasker.subbundled>true</net.dinglisch.android.tasker.subbundled>
<net.dinglisch.android.tasker.subbundled-type>java.lang.Boolean</net.dinglisch.android.tasker.subbundled-type>
</Vals>
</Bundle>
<Str sr="arg1" ve="3">com.freehaha.restask</Str>
<Str sr="arg2" ve="3">RESTask</Str>
<Int sr="arg3" val="30"/>
</Action>
<Action sr="act7" ve="7">
<code>547</code>
<Str sr="arg0" ve="3">%ResponseData</Str>
<Str sr="arg1" ve="3">%rtres</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act8" ve="7">
<code>598</code>
<Str sr="arg0" ve="3">%ResponseData</Str>
<Str sr="arg1" ve="3"><code>[a-zA-Z0-9].*</code></Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="1"/>
<Int sr="arg4" val="0"/>
<Str sr="arg5" ve="3">%match</Str>
<Int sr="arg6" val="0"/>
<Str sr="arg7" ve="3"/>
</Action>
<Action sr="act9" ve="7">
<code>598</code>
<Str sr="arg0" ve="3">%match1</Str>
<Str sr="arg1" ve="3"><code></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"/>
</Action>
</Task>
<Task sr="task81">
<cdate>1425403479412</cdate>
<edate>1425404931823</edate>
<id>81</id>
<nme>Pastee Example</nme>
<pri>100</pri>
<Action sr="act0" ve="7">
<code>130</code>
<Str sr="arg0" ve="3">pstNewPastee</Str>
<Int sr="arg1">
<var>%priority</var>
</Int>
<Str sr="arg2" ve="3">this is a test paste, and should be available for 1 day.</Str>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3">%url</Str>
<Int sr="arg5" val="0"/>
</Action>
<Action sr="act1" ve="7">
<code>104</code>
<Str sr="arg0" ve="3">%url</Str>
</Action>
</Task>
</TaskerData>r/TaskerFiles • u/Blitzdroids • Aug 11 '21
HUGE UPDATE FROM PREVIOUS VERSION
Input any Wikipedia search and If the page exists it will perform an HTTP Request to get the information and display it in a scene. Scene includes main picture from the wikipedia page and all the text organized neatly from top to bottom. Full screen or window mode available. All information from Wikipedia page is accessible in scenes.
V4:
-Added Tabs in full screen mode that allow user to select sections of Wikipedia page (Early Life, Personal Life, etc)
-Long pressing data text will allow user to choose section to read same as above
-Added Table data from Wikipedia page. List button added to scene to display full table data
-Added switch to full screen mode that toggles launching results straight to full screen mode or windowed mode
-Added automatic seamless switching between AutoTools and No AutoTools Mode
-All data from Wikipedia pages can now be accessed straight from scenes
-Bug Fixes
V3:
-Added new elements and redesigned scene for easier access to functions and user interface.
-Added a spell check function that takes place if the initial search fails to produce results and prompts the user with correct spelling.
-Added ability for scene to be expanded into full screen and back.
-Minor tweaks so project can be exported and used as an app
-AutoTools plugin is no longer required.
V2:
-Changed method of parsing data from the HTML code so now results will always display 100% of the time if the page your searching exists in Wikipedia.
-Added Help Button in scene.
-Added Colors Options for the background, text, and title so you can modify the scene however you'd like.
-Added clipboard option to save the results
-Added option to display as much or as little results as you require
-Reduced Task Run Time (~1s)
-If search fails to produce results it will query Google now remotely to check if any word are misspelled. if Google finds possible alternatives, prompt will show with options.
-Added option to save the image from the scene to your Tasker folder (normally it deletes the image from your device right after the scene is displayed)
This is my masterpiece!
r/TaskerFiles • u/FoggyWan_Kenobi • Feb 06 '22
Do you have pictures,texts and movies in one folder? This simple project will sort them out!
It sorts files depending on their extension and saves every estension is separate folder.
Just select folder to be sorted!
r/TaskerFiles • u/RB14060 • Jan 24 '16
Hi, everyone! I wanted to share something that I created which is called AutoText. I created this project because my SO gets up early in the morning for work and I never have a chance to reply to him before he has to head to work. He also can't have his phone on him during the day. This project solves that problem by making me set a message the night before, and it will automatically reply to him when he texts in the morning. This is certainly not the only use, and it could easily be adapted to reply to ALL incoming texts throughout the night, among other things.
Because this is such a large project, I've decided to provide the entire setup as one XML file that can be imported as a Tasker project. I will also include the descriptions for the profiles and tasks. All feedback is welcome and I'd be happy to answer any questions you may have as well!
NOTE: After importing, you MUST go to Profiles, AutoText Execution, and select the person you want to reply to. You must also go to Tasks, AutoText Execution, and input the phone number of the person you want to reply to.
Descriptions:
Profiles:
Profile: AutoText Auto Cancel (11)
Time: 7:30AM
State: Variable Value [ %AutoTextEnabled eq TRUE ]
Enter: AutoText Automatic Cancellation (6)
<This Task automatically cancels AutoText if the cutoff time has been reached and no message has been sent>
A1: Notify Cancel [ Title:AutoText Enabled Warn Not Exist:Off ]
<Create notification to inform the user that we cancelled>
A2: Notify [ Title:AutoText Cancelled Text:AutoText did not execute so it was automatically cancelled. Icon:hd_content_remove Number:0 Permanent:Off Priority:2 ]
<Set variable to disable execution>
A3: Variable Set [ Name:%AutoTextEnabled To:FALSE Do Maths:Off Append:Off ]
Profile: AutoText Execution (4)
Event: Received Text [ Type:Any Sender:CHANGE ME Content:* ]
Time: From 2:00AM Till 7:30AM
State: Variable Value [ %AutoTextEnabled eq TRUE ]
Enter: AutoText Execution (5)
<This Task actually sends the message that was set by the user once we receive an incoming one>
A1: Wait [ MS:0 Seconds:5 Minutes:0 Hours:0 Days:0 ]
<Send the message, prefixed with (AutoText)>
A2: Send SMS [ Number:1234567890 Message:(AutoText) %AutoTextMessage Store In Messaging App:Off ]
<Clear the AutoText Enabled notification so we can generate a new one>
A3: Notify Cancel [ Title:AutoText Enabled Warn Not Exist:Off ]
<Create notification to inform the user that we executed>
A4: Notify [ Title:AutoText Successful Text:AutoText executed successfully at %TIME Icon:hd_ab_navigation_accept Number:0 Permanent:Off Priority:2 ]
<Set variable to disable execution>
A5: Variable Set [ Name:%AutoTextEnabled To:FALSE Do Maths:Off Append:Off ]
Profile: AutoText Prompt (8)
Time: 10:00PM
Enter: AutoText Prompt (7)
<This Task provides the user with the option to set the message and enable AutoText, or cancel until tomorrow>
A1: Notify [ Title:AutoText Ready Text:AutoText is ready to be enabled. Enter
message to enable or cancel for
tonight. Icon:hd_social_chat Number:0 Permanent:On Priority:3 Actions:(2) ] Tasks:
AutoText Automatic Cancellation (6)
<This Task automatically cancels AutoText if the cutoff time has been reached and no message has been sent>
A1: Notify Cancel [ Title:AutoText Enabled Warn Not Exist:Off ]
<Create notification to inform the user that we cancelled>
A2: Notify [ Title:AutoText Cancelled Text:AutoText did not execute so it was automatically cancelled. Icon:hd_content_remove Number:0 Permanent:Off Priority:2 ]
<Set variable to disable execution>
A3: Variable Set [ Name:%AutoTextEnabled To:FALSE Do Maths:Off Append:Off ]
AutoText Cancellation (9)
<This Task cancels AutoText when the user presses Cancel on the AutoText Enabled notification>
A1: Notify Cancel [ Title:AutoText Ready Warn Not Exist:Off ]
<Since this was user-initiated we don't need to generate an actual notification>
A2: Flash [ Text:AutoText has been cancelled. Long:Off ]
<Set variable to disable execution>
A3: Variable Set [ Name:%AutoTextEnabled To:FALSE Do Maths:Off Append:Off ]
AutoText Enable (17)
<This Task enables AutoText when the user presses Dismiss on the message prompt window>
A1: Destroy Scene [ Name:AutoText Input ]
<Clear the AutoText Ready notification so we can generate a new one>
A2: Notify Cancel [ Title:AutoText Ready Warn Not Exist:Off ]
<Notifies the user that AutoText is active and gives them the option to edit the message or disable AutoText>
A3: Notify [ Title:AutoText Enabled Text:AutoText will automatically reply to one message between 2:00 AM and 7:30 AM. Icon:hd_ab_device_access_time Number:0 Permanent:On Priority:2 Actions:(2) ]
<Set variable to enable execution>
A4: Variable Set [ Name:%AutoTextEnabled To:TRUE Do Maths:Off Append:Off ]
AutoText Execution (5)
<This Task actually sends the message that was set by the user once we receive an incoming one>
A1: Wait [ MS:0 Seconds:5 Minutes:0 Hours:0 Days:0 ]
<Send the message, prefixed with (AutoText)>
A2: Send SMS [ Number:1234567890 Message:(AutoText) %AutoTextMessage Store In Messaging App:Off ]
<Clear the AutoText Enabled notification so we can generate a new one>
A3: Notify Cancel [ Title:AutoText Enabled Warn Not Exist:Off ]
<Create notification to inform the user that we executed>
A4: Notify [ Title:AutoText Successful Text:AutoText executed successfully at %TIME Icon:hd_ab_navigation_accept Number:0 Permanent:Off Priority:2 ]
<Set variable to disable execution>
A5: Variable Set [ Name:%AutoTextEnabled To:FALSE Do Maths:Off Append:Off ]
AutoText Message Modify (16)
<This Task allows the user to modify the message that AutoText will use when it executes>
A1: Status Bar [ Set:Collapsed ]
<Show the message dialog>
A2: Show Scene [ Name:AutoText Modify Display As:Dialog, Dim Behind Horizontal Position:100 Vertical Position:100 Animation:System Show Exit Button:Off Continue Task Immediately:On ]
AutoText Message Set (10)
<This Task provides the dialog to set the message that AutoText should use when it executes>
A1: Status Bar [ Set:Collapsed ]
<Show the message dialog>
A2: Show Scene [ Name:AutoText Input Display As:Dialog, Dim Behind Horizontal Position:100 Vertical Position:100 Animation:System Show Exit Button:Off Continue Task Immediately:On ]
AutoText Prompt (7)
<This Task provides the user with the option to set the message and enable AutoText, or cancel until tomorrow>
A1: Notify [ Title:AutoText Ready Text:AutoText is ready to be enabled. Enter
message to enable or cancel for
tonight. Icon:hd_social_chat Number:0 Permanent:On Priority:3 Actions:(2) ] r/TaskerFiles • u/Boolean263 • Jun 06 '15
As described in detail here, CyanogenMod has its own notion of profiles, separate from Tasker's. They both have their uses, and with the detection of a simple intent, this Tasker profile will store the current CM profile name in %CMProfile and the old CM profile name in %CMOldProfile.
Copy XML data below into a file, and import into Tasker (check Sidebar for instructions).
<TaskerData sr="" dvi="1" tv="4.6u3m">
<Profile sr="prof74" ve="2">
<cdate>1420593380098</cdate>
<edate>1424655688813</edate>
<id>74</id>
<mid0>75</mid0>
<nme>Detect CM profile change</nme>
<Event sr="con0" ve="2">
<code>599</code>
<Str sr="arg0" ve="3">android.intent.action.PROFILE_SELECTED</Str>
<Int sr="arg1" val="0"/>
<Int sr="arg2" val="0"/>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
</Event>
</Profile>
<Task sr="task75">
<cdate>1420593395401</cdate>
<edate>1424655688813</edate>
<id>75</id>
<nme>Act on CM profile change</nme>
<pri>10</pri>
<Action sr="act0" ve="7">
<code>137</code>
<Int sr="arg0" val="0"/>
<Str sr="arg1" ve="3"/>
<ConditionList sr="if">
<bool0>Or</bool0>
<Condition sr="c0" ve="3">
<lhs>%name</lhs>
<op>0</op>
<rhs>%lastname</rhs>
</Condition>
<Condition sr="c1" ve="3">
<lhs>%name</lhs>
<op>13</op>
<rhs></rhs>
</Condition>
</ConditionList>
</Action>
<Action sr="act1" ve="7">
<code>547</code>
<Str sr="arg0" ve="3">%CMProfile</Str>
<Str sr="arg1" ve="3">%name</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
</Action>
<Action sr="act2" ve="7">
<code>547</code>
<Str sr="arg0" ve="3">%CMOldProfile</Str>
<Str sr="arg1" ve="3">%lastname</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<ConditionList sr="if">
<Condition sr="c0" ve="3">
<lhs>%lastname</lhs>
<op>1</op>
<rhs>%name</rhs>
</Condition>
</ConditionList>
</Action>
<Img sr="icn" ve="2">
<nme>hd_content_split</nme>
</Img>
</Task>
</TaskerData>r/TaskerFiles • u/Boolean263 • Jun 06 '15
As described in detail here, CyanogenMod has its own notion of profiles, separate from Tasker's. They both have their uses, and with this task, you can change the active CyanogenMod profile by passing its string name.
This task uses java. The XML export of the java calls looks off to me. If the task gives an error or otherwise doesn't work, edit each of the Java Function steps so that the Function value takes up two lines -- ie, add a newline after the function name and before the rest of the line. Example:
getSystemService
{Object} (String)This task is meant to be called from other tasks, and it expects the name of the target CM profile to be passed in as %par1. If it's called without any arguments, it will switch back to the CM profile that was in use before (if %CMOldProfile is set, by this task or by this profile), and fall back on "Default" if that's not set either.
The calling of setActiveProfile() with a String argument is marked as deprecated in the ProfileManager API. That means that this task may not work in CM 12. I only have CM 11, but it works for me.
Tasker lets you export the 'description' of a profile. Sharing this makes it easier to understand the profile.
Copy XML data below into a file, and import into Tasker (check Sidebar for instructions).
<TaskerData sr="" dvi="1" tv="4.6u3m">
<Task sr="task73">
<cdate>1420510419053</cdate>
<edate>1433610927676</edate>
<id>73</id>
<nme>Set CM profile</nme>
<pri>10</pri>
<Action sr="act0" ve="7">
<code>547</code>
<Str sr="arg0" ve="3">%par1</Str>
<Str sr="arg1" ve="3">%CMOldProfile</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<ConditionList sr="if">
<bool0>And</bool0>
<Condition sr="c0" ve="3">
<lhs>%par1</lhs>
<op>13</op>
<rhs></rhs>
</Condition>
<Condition sr="c1" ve="3">
<lhs>%CMOldProfile</lhs>
<op>12</op>
<rhs></rhs>
</Condition>
</ConditionList>
</Action>
<Action sr="act1" ve="7">
<code>547</code>
<Str sr="arg0" ve="3">%par1</Str>
<Str sr="arg1" ve="3">Default</Str>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<ConditionList sr="if">
<Condition sr="c0" ve="3">
<lhs>%par1</lhs>
<op>13</op>
<rhs></rhs>
</Condition>
</ConditionList>
</Action>
<Action sr="act10" ve="7">
<code>155</code>
<on>false</on>
<Str sr="arg0" ve="3">%CMOldProfile</Str>
<Str sr="arg1" ve="3">%CMProfile</Str>
</Action>
<Action sr="act2" ve="7">
<code>137</code>
<Int sr="arg0" val="0"/>
<Str sr="arg1" ve="3"/>
<ConditionList sr="if">
<Condition sr="c0" ve="3">
<lhs>%par1</lhs>
<op>0</op>
<rhs>%CMProfile</rhs>
</Condition>
</ConditionList>
</Action>
<Action sr="act3" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">ps</Str>
<Str sr="arg1" ve="3">CONTEXT</Str>
<Str sr="arg2" ve="3">getSystemService
{Object} (String)</Str>
<Str sr="arg3" ve="3">profile</Str>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
</Action>
<Action sr="act4" ve="7">
<code>664</code>
<Str sr="arg0" ve="3">%exists</Str>
<Str sr="arg1" ve="3">ps</Str>
<Str sr="arg2" ve="3">profileExists
{boolean} (String)</Str>
<Str sr="arg3" ve="3">%par1</Str>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
</Action>
<Action sr="act5" ve="7">
<code>37</code>
<ConditionList sr="if">
<Condition sr="c0" ve="3">
<lhs>%exists</lhs>
<op>0</op>
<rhs>true</rhs>
</Condition>
</ConditionList>
</Action>
<Action sr="act6" ve="7">
<code>664</code>
<Str sr="arg0" ve="3"/>
<Str sr="arg1" ve="3">ps</Str>
<Str sr="arg2" ve="3">setActiveProfile
{} (String)</Str>
<Str sr="arg3" ve="3">%par1</Str>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
<Str sr="arg6" ve="3"/>
<Str sr="arg7" ve="3"/>
</Action>
<Action sr="act7" ve="7">
<code>43</code>
</Action>
<Action sr="act8" ve="7">
<code>548</code>
<Str sr="arg0" ve="3">CM profile "%par1" does not exist.</Str>
<Int sr="arg1" val="0"/>
</Action>
<Action sr="act9" ve="7">
<code>38</code>
</Action>
<Img sr="icn" ve="2">
<nme>hd_aaa_ext_barcode_1</nme>
</Img>
</Task>
</TaskerData>r/TaskerFiles • u/vygavedha • Jan 15 '21
r/TaskerFiles • u/renk1 • Oct 24 '19
Hey guys,
I've been building a nice dashboad for my home automation using an ikea frame and some reflective auto window tint but it doesn't work since it doesn't detect touch very well so i thought about making the tablet a digital photo frame.
I know that there are a few apps that do this but I don't know any that can disable and enable the screensaver mode using a widget or something (the tablet has a little circle near the camera but I don't think it's a proximity sensor, so I dont think I can use that..)
The tablet is always plugged in and i don't have access to the buttons, it wikl have the screen off most of the times but from time to time it would be nice to easily turn on and off the screensaver or some timeout to shut the screen off. Any thoughts?
Cheers
r/TaskerFiles • u/quinntuhl • Apr 04 '18
I created a Tasker Scene to store preset values in order to quickly change volume and brightness levels, with the addition of buttons to quickly switch between resolutions of your Galaxy Note 5. The Scene can be activated within any app using the optional shake gesture, or with the addition of the Tasker AutoInput plugin, it can be activated by an optional home button double-tap, or back button long-press.
While I was in the process of making this Scene, I decided to create it in a manner that would be easy to share with other Note 5 users who also use Tasker.
GIF Preview https://i.imgur.com/vJtO9nM.gifv
Screenshot https://i.imgur.com/P9HS5Y6.png
This Tasker Scene was designed on a Galaxy Note 5 in stock TouchWiz Android Nougat 7.0. If you install this Scene on a different OS version, 3rd party ROM, or different brand phone, some options will not work, particularly the resolution switching buttons, which are exclusive Galaxy Note 5 options only.
Please thoroughly read the prerequisite section to see what is necessary for full compatibility.
PREREQUISITE
Samsung Galaxy Note 5 running stock TouchWiz Android Nougat 7.0. Any other OS or phone variant will not be able to utilize the resolution shortcut buttons, and the Scene UI may appear disproportionately sized.
Tasker App ($3) installed.
AutoInput Plugin ($2) and AutoApps Plugin (free). These two plugins need to be installed in order to use the resolution change buttons, back button long-press, and home button double-tap Scene activation options.
IMPORTANT NOTE
If you use a 3rd party launcher such as Nova Launcher, and have custom icons set on your home page, I strongly recommend to create a launcher backup file. I found that custom icons set with Nova Launcher will degrade in resolution every time the system resolution is changed, and the only way to restore the icons is to either manually set the icon, or restore a launcher backup.
INSTALLATION
Turn "Accessibility" on for Tasker and the AutoInput app. You can turn this option on by going to your phones "Settings" section, and tap the "Accessibility" option. From within that page, scroll down and you'll find "Manage Accessibility" with the options to turn that on for Tasker and AutoInput.
To install the project file...
Download project file and save it to your phone. (Direct Download)...(WebView Link)
Open Tasker and ensure "Beginners Mode" is disabled in Tasker preferences, which can be accessed by tapping the three-dot icon in Taskers top right corner.
At the bottom left corner of Tasker, you'll see a home icon. Longpress that icon and a menu will appear. Tap "Import".
From the Import menu, navigate to where you downloaded the "QuickChange.prj.xml" project file and select that file to import it into Tasker.
If it was properly imported into Tasker, you'll see another icon at the bottom of Tasker that looks like a Settings icon.
After importing this project, disable Tasker then enable Tasker from Taskers preferences menu. This should ensure all the options for this project properly enable.
That should be it. By default, you should be able to activate the Scene by shaking your phone left to right, or you can create a Tasker widget by pointing the widget to open the "VS Scene" task. To change a value for volume or brightness, longpress a value field and a keyboard will appear for entering a new value.
If the menu will not open via the button or gesture options, see the below Troubleshooting section.
The following is only necessary if you want to utilize the double-tap home button option to activate the Tasker Scene:
Disable "Quick launch Camera" option. This option can be disabled by going into your phones "Settings", and tap the "Advanced Features" option. From within that menu you can disable Quick launch camera.
Enable Direct Access options. This step is necessary in order to get the double tap home button feature to work. Go to your phones "Settings" and tap "Accessibility". Next, tap "Direct access". From this menu, tap the toggle "On" to turn Direct access on. Also, turn on at least two options from Accessibility Settings. This is necessary in case you happen to tap the home button more than twice, so a direct access menu appear will instead of a feature being turned on. You can easily dismiss the Direct Access menu by tapping the back button.
TROUBLESHOOTING/KNOWN ISSUES
If the menu stops appearing upon trying to activate...
Check to ensure your OS didn't turn off Accessibility for Tasker and AutoInput. This sometimes can occur.
Disable and re-enable Tasker from Taskers Preferences menu (3dot menu top right corner in Tasker). Wait about a minute after re-enabling Tasker to try to activate Scene.
Restart phone.
If you decide to modify the Scenes of this project, ensure you open a Scene in the Resolution it was saved in, otherwise Tasker might change all the element coordinates and geometry. The Scenes are labeled with the resolution they were created in, if there is no resolution in the Scene name, then that scene was saved in 1080p.
I created separate Scenes for each resolution since Taskers ability to auto-scale is far from ideal, and to get the Scenes to look uniform in each resolution the best solution was to create a separate Scene.
If you do encounter a situation where Tasker changed the geometry and coordinates, you'll either have to restore from a backup, or edit the Scenes xml <dmetric> setting to match the resolution it was originally saved.