How To Use Profiles In Tasker - Tasker Tips & Tricks

Tasker Profiles
What is a Tasker profile?
A profile is simply a group of tasks that will be run when the profile is activated. Instead of running multiple tasks individually, a profile allows you to group the various tasks together and run them all at once. With a combination of events (such as when the phone rings), the profile can be set to run automatically when the conditions are met. Some examples include starting up a Captain Panaka slideshow as soon as you get home, or playing sad music every time you get a text.
What does a Tasker profile look like??
A Tasker profile can come in the form of a .xml file that you can download and then import into the app.
Example:
Code:
<class cl="TaskerData" sr="">
<class cl="Task" sr="task16">
<id ty="int">16</id>
<class cl="Action" sr="act0">
<class cl="StringArg" sr="arg4">
<val ty="str"></val>
</class>
<class cl="IntArg" sr="arg3">
<val ty="int">1</val>
</class>
<class cl="IntArg" sr="arg2">
</class>
<class cl="IntArg" sr="arg1">
<val ty="int">1</val>
</class>
<class cl="StringArg" sr="arg0">
<val ty="str">Penb0qNVCA7phKMtjsL5ww==</val>
</class>
<code ty="int">15</code>
</class>
</class>
<class cl="Profile" sr="prof15">
<nme ty="str">BrowserLock</nme>
<id ty="int">15</id>
<class cl="AppContext" sr="con0">
<pkg ty="str">com.android.browser</pkg>
<label ty="str">Browser</label>
<cls ty="str">com.android.browser.BrowserActivity</cls>
</class>
<mid0 ty="int">16</mid0>
</class>
<nid ty="int">0</nid>
</class>
A Tasker profile might also come in the form of instructions on how to create it yourself using everyday tools that you'd find at Home Depot.
Example:
Click New and select Application
Select the app you want to lock.
Click + in the bottom left to add an action
Select category Display and action Lock
Have a look at the help text (click ?)
Enter a passcode
Press Done
Press Save at the Profile List screen
How to import a profile
To import a profile save the code as a .xml file to your Android device. You'll want to save this file to the Tasker/projects app folder using a file explorer. Launch the Tasker app and go to the Profiles option on the menu. Select Import and navigate to the saved .xml file.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
You can find all kinds of Tasker profiles at your local library. Just kidding I mean on the internet. Feel free to post your favorite Tasker profiles in this thread.

Related

Watchfaces

Here are a couple of watchfaces I use. Usually I have Default Text watchface. I use Tasker to get message counts (recipes included in zip). Preview is from app which doesn't look as good as it does on the watch. Could probably use a prettier weather iconset (using default)
Default (Canvas for Pebble)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
DOWNLOAD
Default Text (Canvas for Pebble)
[TASKER: SMS, MISSED CALL, HOTMAIL (doesn't work as it is an Exchange account), FACEBOOK, EBAY)
DOWNLOAD
Canvas: You should be able to copy the .pcs file from the zip to your device, then run it to import into Canvas
Tasker: use import function on Project section to import .prj.xml file
Feel free to post any you have created and which app you created it with
Lots more watch faces (useful websites):
http://www.mypebblefaces.com/
Brendo said:
Here are a couple of watchfaces I use. Usually I have Default Text watchface. I use Tasker to get message counts (recipes included in zip). Preview is from app which doesn't look as good as it does on the watch. Could probably use a prettier weather iconset (using default)
Default (Canvas for Pebble)
DOWNLOAD
Default Text (Canvas for Pebble)
[TASKER: SMS, MISSED CALL, HOTMAIL (doesn't work as it is an Exchange account), FACEBOOK, EBAY)
DOWNLOAD
Canvas: You should be able to copy the .pcs file from the zip to your device, then run it to import into Canvas
Tasker: use import function on Project section to import .prj.xml file
Feel free to post any you have created and which app you created it with
Click to expand...
Click to collapse
How did you "export" these once you made with Canvas?
justjayhere said:
How did you "export" these once you made with Canvas?
Click to expand...
Click to collapse
The only way I could figure it out was to share via email. I emailed it to myself, then downloaded the attachment
_____
Sent from my GT-i9505 using xda premium
I should of thought of that... Lol Thanks.. I'll share mine.
Sent from my HTcDNAoNE
The .pcs file? Can't get it to open. I like your screens though

[Guide][Difficulty: Advanced] Create an IRS-Compliant Mileage Tracker

It's week two of my Tasker Pro series, so here's a new Tasker script for you guys to use. This script will show you how to create a mileage tracker/driving log that can save your butt during a tax audit if you claim mileage on your taxes!
http://www.xda-developers.com/tasker-pro-create-an-irs-compliant-mileage-tracker-and-get-money-back/
Please leave comments/feedback and any questions here.
Thanks for the amazing script! Only issue I'm having is that none of the data is being written to my google spreadsheet. When I use the test functionality in the tasker spreadsheet plugin, it writes the variable names in the rows. Any advice?
Sent from my Nexus 6P using Tapatalk
---------- Post added at 11:15 PM ---------- Previous post was at 11:05 PM ----------
I'm getting this error :
23.14.33/TD getStatic: Active load: true
23.14.33/Plugin PLUG setMetaData: start: type: Action code: 1446679033 pkg: com.joaomgcd.autotools clsOrLabel: com.joaomgcd.autotools.activity.ActivityConfigDate
23.14.33/Plugin PLUG setMetaData: end: type: Action code: 1446679033 pkg: com.joaomgcd.autotools cls: com.joaomgcd.autotools.activity.ActivityConfigDate label: AutoTools Time
23.14.33/Variables doreplresult: |%priority| -> |100|
Sent from my Nexus 6P using Tapatalk
The spreadsheet plugin does not populate the variables when you click test that's why nothing happens then
Now i am receiving this error on the exit task:
10.55.22/ActionArgBundle key: JoinOutputArray: replace <null> String value with null
10.55.22/Variables doreplresult: |{"cityresultfieldfilterjoaomgcdautotools":"","viewport_northeast_latresultfieldfilterjoaomgcdautotools":"","latlng":"%StartLoc","long_nameresultfieldfilterjoaomgcdautotools":"","formatted_addressresultfieldfilterjoaomgcdautotools":"","address_components_typesresultfieldfilterjoaomgcdautotools":""}| -> |{"cityresultfieldfilterjoaomgcdautotools":"","viewport_northeast_latresultfieldfilterjoaomgcdautotools":"","latlng":"%LOC","long_nameresultfieldfilterjoaomgcdautotools":"","formatted_addressresultfieldfilterjoaomgcdautotools":"","address_components_typesresultfieldfilterjoaomgcdautotools":""}|
10.55.22/ActionArgBundle AutoWeb Web Service: parameters: {"cityresultfieldfilterjoaomgcdautotools":"","viewport_northeast_latresultfieldfilterjoaomgcdautotools":"","latlng":"%StartLoc","long_nameresultfieldfilterjoaomgcdautotools":"","formatted_addressresultfieldfilterjoaomgcdautotools":"","address_components_typesresultfieldfilterjoaomgcdautotools":""} -> {"cityresultfieldfilterjoaomgcdautotools":"","viewport_northeast_latresultfieldfilterjoaomgcdautotools":"","latlng":"%LOC","long_nameresultfieldfilterjoaomgcdautotools":"","formatted_addressresultfieldfilterjoaomgcdautotools":"","address_components_typesresultfieldfilterjoaomgcdautotools":""}
10.55.22/E FIRE PLUGIN: AutoWeb Web Service / com.twofortyfouram.locale.intent.action.FIRE_SETTING: 14 bundle keys
10.55.22/E AutoWeb Web Service: plugin comp: com.joaomgcd.autoweb/com.joaomgcd.autoweb.broadcastreceiver.BroadcastReceiverFire
10.55.22/E add wait type Plugin1 time 120
10.55.22/E add wait type Plugin1 done
Any advice? Thank you!
Can you manually enter coordinates as variables and check to see if the plugin itself works? Maybe it's failing to get a location for you and that's why the plugin isn't working
Sorry for bringing this thread back, but now I'm encountering another issue. For some reason, Travel Time isn't displaying properly for me. Attaching screenshot for reference.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my Nexus 6P using Tapatalk

Tasker and Google Maps, action Tap, Done button ?

Hello guys. When google maps completes a trip it displays a completed trip splash screen where one has to click Done in order to continue. I do lots of trips and would like to automate this with tasker.
I would like to schedule a task that will execute click of Done at the end of the trip so maps can go to their default screen of showing your location. I do lots of trips and i find this splash screen unnecessary.
Most of the tutorials i found use time as variable but time will change all the time so can not use time and need to use some other variable. Not sure how to set this up especially the variables.
Anyone can help me out what actions to setup in Tasker in order to execute this after each trip completes? Thank you in advance.
Get AutoInput Tasker Plugin. Then create a Profile-->event-->Plugin-->AutoInput-->UI Update. Set it up using guides/tutorials to monitor Google Maps for that "Done" button to appear. Then for the task, use AutoInput to automatically tap the "Done" button for you.
Watch a bunch of tutorials about AutoInput....it is the key here.
Stupifier said:
Get AutoInput Tasker Plugin. Then create a Profile-->event-->Plugin-->AutoInput-->UI Update. Set it up using guides/tutorials to monitor Google Maps for that "Done" button to appear. Then for the task, use AutoInput to automatically tap the "Done" button for you.
Watch a bunch of tutorials about AutoInput....it is the key here.
Click to expand...
Click to collapse
Hi @Stupifier Thank you for that. I think i'm getting there but have last hurdle. One thing i'm uncertain now.
Do i choose for text YOU HAVE MADE or DONE ?
Should i check only clickable and "DONE" text and ONLY visable "YOU HAVE MADE IT" text ?
Anything for Variables ? After i create Profile and set all of that it won't let me complete without setting tasks. It want's to delete unfinished profile as no tasks have been set.
Here is the task / splash screen what i need to auto task / auto input. The automation of click "auto click" needs to be executed on Done button.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What to put in for Text. Do i choose for text YOU HAVE MADE or DONE ?
Should i check only clickable and "DONE" text and ONLY visable "YOU HAVE MADE IT" text ?
Tasker won't let me complete it without tasks setup. I thought autoinput would set this up based on what i inputed into fields in screenshot above. I guess tasks are still missing? Thoughts?

Help with Tasker automation to open Garage Door

Having recently gotten a Tesla Model3 I am keen to automate opening and closing the garage as I arrive and leave home.....
I have not found a way to (either voice or screen) initiate my garage opener app or Google Home routine from the Tesla.
My other option is to use my phone, but that involves fumbling for the phone, unlocking it, and either triggering the app or triggering a Google Home voice command to run a routing to trigger the app and open the garage door (which unfortunately also requires a PIN when doing through Google Home).
So I have decided to use an NFC tag trigger to Tasker to then automate opening the garage door app and opening the door. I have installed and gotten working the Trigger app, and have set up an NFC tag to trigger a task in Tasker. The NFC read seems to be working fine.
But my Tasker Task does not seem to be working. I have "played" it purely in Tasker (to isolate it from Trigger and NFC tag, and playing it doesn't result in the garage door opening.
I created the Task using AutoInput action - for which I opening the app (Remootio) and clicked on the lock/unlock toggle button. The task config is below, as well as the log from the action being run.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
11.10.40/ActionArgBundle key: NearbyText: replace <null> String value with null
11.10.40/ActionArgBundle key: RepeatTimes: replace <null> String value with null
11.10.40/ActionArgBundle key: TextToWrite: replace <null> String value with null
11.10.40/ActionArgBundle key: StoredAction: replace <null> String value with null
11.10.40/ActionArgBundle key: EnableDisableAccessibilityService: replace <null> String value with null
11.10.40/ActionArgBundle key: Password: replace <null> String value with null
11.10.40/ActionArgBundle key: RepeatInterval: replace <null> String value with null
11.10.40/E FIRE PLUGIN: AutoInput Action / com.twofortyfouram.locale.intent.action.FIRE_SETTING: 16 bundle keys
11.10.40/E AutoInput Action: plugin comp: com.joaomgcd.autoinput/com.joaomgcd.autoinput.broadcastreceiver.IntentServiceFire
11.10.40/E add wait type Plugin1 time 23
11.10.40/E add wait type Plugin1 done
11.10.40/E handlePluginFinish: taskExeID: 1 result 3
11.10.40/E pending result code
11.10.40/E add wait task
11.11.03/E Error: null
I'd love some help as to what I am doing wrong and why the outcome for the Task is not working....
Does the firmware of the application match the firmware of the device?
First of all, you should contact the developers of the application. They should advise you what to do in this situation because they know the software they have developed best. Secondly, you can try to contact Google for help. Perhaps they already have some developed techniques for managing gates without a phone. In my opinion, it is best to install automatic gates that open from the remote control. This eliminates the possibility of hacking. I ordered my gate from https://everlastgates.com/. This is a reliable company that does its job well. You can still see if it is possible to install a voice sensor.

[TUTORIAL] How to bring back Google Discover App Shortcuts

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
For some of the categories like Sports, Weather, Finance, etc. you would have seen a prompt like the one above on the Google Discover feed.
If you choose 'No, thanks', you may not see it again. Google app doesn't provide a way to add these to your homescreen (only Google knows why) if you change your mind later.
One way to bring back the prompt is to delete Google Play Services data, something which is often NOT a viable option. If you have paired your smartwatch with your phone, you shouldn't delete this data as it holds the pairing key for your watch. You'll have to factory reset your watch, pair it again with your phone and redo all the setup on your watch from scratch. For me who is having 300 apps and watch faces installed on the watch, with no way to backup and restore the data, this is an option that is untouchable.
HOW TO BRING THESE SHORTCUT PROMPTS AGAIN?
1. Open a Chromium based browser with Google as it's search engine.
2. Open Incognito (Private) tab.
3. Type Sports (or any category whose shortcut you want to add) and start the search.
4. It will open the Google Sports web app in the browser and the prompt to add shortcut will show up.
5. If you click on Add, you'll see this:
6. Click on Leave. This will then give the option to add the shortcut to the homescreen:
I have seen that this launcher prompt above doesn't always show up (not sure if this is because I already have this shortcut on my homescreen). In that case, close the incognito tab, open a new one, and go through the steps once again and it will show up.
Tested to work on Android 13 on multiple devices.
7. The shortcut on your homescreen will now open in Google app (not the browser that was used to create it), and this is what we want.
Hope this helps.

Categories

Resources