HomeTaskerTasker Quick Start - Getting started with Tasker

Tasker Quick Start – Getting started with Tasker

From newb to not so newbie in 10 min

Are you new to Tasker? This is how you should spend the first 10 min with the application. Tasker has a steep learning curve. I hope this Tasker Quick Start will get you up and running in no time. This is a setup guide, I’m not going to talk about creating any profiles just yet (I have plenty of tutorials for beginners for you to use) but setting up the Tasker so it would work with whatever you throw at it.

Tasker Quick Start

Don’t be surprised if Tasker won’t run in the background if you don’t have any running profiles. Before I show you how to create your own, we have some things to do.

Settings

To let Tasker do its own thing we have to enable few settings. These are Android level settings and placed all over your menus. Use the search icon to search the location of each option. Remember that custom ROMs and manufacturers can group these in different sub-menus.

  1. Disable battery optimisation – this means that Tasker won’t be closed due to battery saving actions. Don’t worry, the app is not using that much battery. You won’t even notice it.
  2. Grant Notification access –  Tasker can see what notifications are present in your status bar but only if you allow the app to see it.  Make sure this is enabled.
  3. Device Manager –  enabling this (needs to be disabled before you can uninstall the Tasker) will allow Tasker to perform more low-level actions like locking your screen.
  4. Accessibility Settings – For now, Tasker still has access to this, but Google changes the policy on how these settings can be utilised by apps. It’s possible that future version of Tasker won’t have access to this menu.  You can read more about the changes here.
  5. Access Control – which defines the Tasker’s internal file permissions.

Tasker Preferences

We have 10 min, and I want you to be as PRO in Tasker as possible! This means we will step up the game a little and change some preferences (3-dot menu) to suit the rest of our tutorial. Open the preferences menu in Tasker and change the following:

UI Tab
  • Disable Icon Colour from the theme – otherwise, your project icons will have the same colour.
  • List Item dragging – set to On Right, Visible – it will create a visible guideline to show you where to hold to move the tasks around.
Monitor Tab
  • Enable Notification Action Buttons – It will add a Disable to the Tasker notification, it’s handy for toggling Tasker to check if profile triggers correctly.
Action Tab

The default settings here are fine, you can teak this later if needed. Main settings let you add custom Tasker Quick Tiles (from status bar) and define quick actions available when you long press the Tasker icon in your Home Screen or drawer.

Queued tasks at 10 should be more than enough for a long while.

Misc Tab
  • Local Auto-backup Max age – I use 1 day, it will place an auto backup file in the Tasker folder.
  • Google Drive Backup – yes! because backup in the cloud is good to have!
  • Back-Up Vars/Prefs – also yes, just be mindful that your backup may store sensitive info from your Tasker projects
  • Allow External Access – allow Tasker to do even more stuff. Won’t bore you with details, for now, we have plenty to do.
  • Google API key – important for WaveNet voice – more natural Say action – follow setup instructions here.

New Tasker GUI

If you followed the previous chapter, you will see that Tasker looks slightly different,  it has more tabs. You are in the PRO mode now so here is the explanation what’s what:

Profile Tab

A profile is a tab for contexts (triggers). You can have multiple profiles, and each profile can have multiple contexts. These are conditions in which something has to be done. It could be a time condition like it’s 4 pm do something now. It could be hardware based: the screen just got turned on, do something now, or software based: the YouTube app is open – you need to make sure this is done when the app is opened.

Each profile can contain up to 4 contexts (4 state conditions or 3 state and 1 event condition):

  • event condition – this is an instantaneous change in Android.  It lasts a fraction of the time.  A good example would be – I received a text message, it happens each time I get one text, it’s active for a fraction of the second.
  • state condition – this context is a boolean (true/false) statement and is active if a condition is true. A good example is a notification for an unread text message. The message is unread until you read it, so profile would be active as long as the message is unread.

To recap, if you receive a message – this is an event, but if you have an unread message pending, this is a state condition.

Tasks Tab

Tasks are folders in which actions are placed.  When a condition is met (see profile) a linked task will be executed by Tasker. Tasker will go through each action stored in a task in a specified order.

  • Entry Task – this task is available for each profile by default.
  • Exit Task –  (optional) can be added to state profiles only (long press on task linked in Profile tab). Tasker runs this task if the condition is no longer met.
Actions

Actions are listed under Tasks. These are steps that Tasker goes through to do stuff.  Each step is an action.  So action could be turning on WiFi, enabling silent mode or saving a phone number to a variable. You can have an almost unlimited number of actions in a single task.

You can test the tasks manually by tapping the play button at the bottom.

Scenes Tab

In this tab, you can build your user interface. Tasker can create overlays which contain buttons toggles and switches. This UI can control Tasker values and variables. There are many alternatives, as the Tasker interface can be a bit cumbersome.

Variables Tab

This tab stores all the variables that belong to the project. Variables are split into 3 groups

  • System Variables (ie %TIMES)
  • Global Variables (ie %HomeTime)
  • Local Variables (ie %count )

System variables (spelt with caps) are created and updated by Tasker. You cannot change the value of these variables. These are ‘read-only’ variables. You can copy the value to a global variable and manipulate it further.

Global variables are user created. The variable must have at least one uppercase letter. You can create these at will and modify the data stored in that variable. You can also share the data between your projects or profiles.

Local variables are created by the user, but also some of them are provided by the system. These are spelt with all lower case letters and they hold the data for a short time.  You cannot share the data stored outside of the task they run within.  Once the task is completed the variable automatically clears the data stored.

If you want to know more about the variables – check out this tutorial and the Tasker reference page.

Projects Tabs

At the bottom, you will see a space for more tabs. This is how you organise your projects. You can name the projects, set icons and keep your projects organised. Think of the projects as folders. They have no impact on how Tasker works, but keeping things organised can help in keeping the law and order among your profiles.

Creating your first profile

The process can start from any tab really. You could start with a task, scene or profile – the best way to explain this one is this video:

Examples from internet

TaskerNet is a new system for sharing the project with others. It uses your Google account for authentication and it’s web-based. Each project/Profile/Task can be exported as URL available for anyone! The URL isn’t indexed, so unless you share this address, only you will have the access the link. To import, simply open the project link in the web browser and click the import button.

TaskerNet has the ability to store the values from your variables! Take care when sharing projects with personal info, API keys, credentials. Consider this system to deal with it.

Legacy (file share)

Apart from TaskerNet, Tasker has a legacy file style sharing. Tasker files come in 4 flavours.

  • Tasker Project file (name.prj.xml)
  • Tasker Profile file (name.prf.xml)
  • Tasker Task file (name.tsk.xml)
  • Tasker Scene file (name.scn.xml)

When importing files from the internet, pay attention to the file extension, and what menu you use to import the files over. If you try to import the project file via the profile import menu, you are not going to find the file in your directory. Only files specific to the import menu are visible to you. To access the import menu, long press on a correct tab.

Troubleshooting

I suspect you will run into issues sooner or later. There are a few things you can do to fix it. Before you run online and ask questions, check if the downloaded file is compatible with your phone and the Android version.

Run your task manually, when an action is performed successfully, you will see a small green circle confirming it. Otherwise, you will see a red circle indicating that this action is causing the issue.

Another way is to enable the log and check the orders of your tasks. This may look a little daunting at first, but it is worth learning how it looks like and how to learn it. The log is available via Tasker menu (More/Run Log). It will display the tasks and actions that are performed in the chronological order. Watch out for error messages which will point you to the task or action that causes the issues.

Still no luck?

Before you ask questions take a look at 10 most common Tasker mistakes. If you decide that the issue is more than you can bite on, get prepared. The community will ask you for your profile file or description, screenshots or error messages. Be descriptive, provide the Android version and the phone you are working on. Not all actions are available on the same devices, Android versions or ROMs. 

To export the description – select the task or profile in question and use the Tasker menu. The Export section will give you an option to copy the task description to the clipboard/email.

More Questions?

I took a swing at answering the most popular questions listed by Google. Perhaps your question is there as well? You can add more suggestions in this Reddit post.

PayPal

Nothing says "Thank you" better than keeping my coffee jar topped up!

Patreon

Support me on Patreon and get an early access to tutorial files and videos.

image/svg+xml

Bitcoin (BTC)

Use this QR to keep me caffeinated with BTC: 1FwFqqh71mUTENcRe9q4s9AWFgoc8BA9ZU

New to Tasker?

Tasker Quick Start – Getting started with Tasker

0
From newb to not so newbie in 10 min

Best Tasker Projects

How to use Raspberry PI as WOL (wake on lan) server

0
While you could wake up your PC from a mobile directly, having a dedicated server capable of doing so is the best solution. The reason is simple. You can hook up as many devices as you wish with a single endpoint. This is why Raspberry Pi is perfect for this.

How to wake on LAN computers and put it to sleep with Power Menu,...

0
How to Wake on LAN properly via Android, Alexa, Google Assistant and Web

7 awesome Bluetooth keyboard shortcuts for Android

0
7 unique Android shortcuts that you can add to any Bluetooth keyboard.

Smart overnight charging with Tasker

0
Still keeping your phone plugged in overnight? Try smarter overnight charging with this profile

One thing that Join app can’t do and how to fix it with Tasker

0
It's not possible to share the clipboard automatically between join accounts registered to 2 different emails. But you can fix this with tasker.

Essential Guides

Tasker: Seconds into DD:HH:MM:SS (dynamic)

0
It's time to.... ok it's a pun, but I will show you how to master time and convert seconds to DD:HH:MM:SS dynamically

4 ways to organise Tasker projects

0
Keep your Tasker tidy!

A better way to store Tasker credentials

0
The more clever way of managing credentials

Annoyed with dozens of AutoApps populating your app drawer? Here is a fix!

0
Clear your app drawer from the clutter in seconds

Putting AutoTools pie chart to a good use – SSID logger

0
Who wants a piece of the pie (chart)?