Most people describe Tasker as a task control and automation app. I see an Android programming app for the masses. Instead of frightening you with lines of code, Tasker lets you create mini-Android apps that match your bids through an easy-to-use interface.
The extensive use of Tasker is not covered in this article. Instead, we'll explore the basics of using Tasker to program your Android device to perform the actions you want based on the rules you set. Let's go.
Finding the Tasker UI
Tasker has been optimized for easy navigation, and the user interface is very concise. There are four tabs at the top of the interface: Profiles, Tasks, Scenes, and Variables (abbreviations for variables).
- Profile – A kind of container or package for contexts and related tasks. You can define several contexts for a profile. All of these conditions must be met for the linked tasks to run.
- Task – A group of actions. Normally associated with a trigger or context, it can also be a floating self-contained task that is executed manually.
- Scene – A custom user interface. You can create your own layout of buttons, menus, popups, and other UI elements.
- Variable – A name for an unknown value that may change over time, e.g. B. the battery level or the date.
You can create project tabs that are essentially folders for organizing profiles, tasks, scenes, and variables. These appear at the bottom of the interface next to the icon for the Lonely Home button.
This is just one way to keep order in the app. You can create projects for e-mail commands, location settings, vacation time, or whatever you want.
The button for the main menu is located in the upper right corner. Tap to see all settings and options. It can get pretty confusing, so try not to play too much with it first. We will use it briefly in the next section. So do not play with it yet.
Establish permissions and grant access.
Tasker can control your phone extensively, but you must first approve it. Make sure the app can do everything you want right from the start, as the pop-ups and access requirements can get annoying.
- Open Tasker.
- Click the Main Menu button.
- Select "More. "
- Select" Android Settings ".
- A list of settings is displayed. Watch everyone and make sure Tasker can access everything.
Of course, you can also set Tasker to not access certain things, but this obviously affects the functionality of the app.
Profiles and Tasks
In short, profiles determine when Tasker should do something while tasks dictate what to do.
It may also be helpful to think of a task as a sequenced list of tasks to do. For example, you might want to set up a night mode. This may result in the phone hibernating, reducing brightness, and disabling unnecessary functions (GPS, Bluetooth, etc.) at a particular time.
In this situation, use a profile to tell Tasker when to do so activate this night mode. You can then set up actions in the Tasks section.
Creating a Profile and a Task
To better illustrate the concept of tasks and actions, we first create this Night Mode task.
- Create a new profile:
- Open the Profiles tab.
- Touch the "+" button.
- Name your profile. I will call this mode "night mode".
- Select when to perform tasks. I will select 20 clock. until 8 o'clock in the morning
- Press the back button.
- Create a new task:
- You are prompted to create (or select) a task. Create a new one and call it "Minimal".
- This takes you to the "Task Edit" page. Press the "+" button to create an action.
- Select "Audio."
- Select Do Not Disturb.
- In the "Mode" section, you can make your specific settings. For example, you can pass alarms or priority contacts.
- Press the Back button. Now your first action has been created. Continue to the next.
- Tap the "+" button again.
- Select "Display".
- Select "Display Brightness".
- Select the desired brightness under "Level". Then press the back button again.
- We turn GPS off for the next action. Just press the "+" button again.
- Choose Location, then Pause Location.
- To turn off Bluetooth, simply press the "+" button, select "Network" and select "Bluetooth", "and set the option to" Off ".
- Press the Back button to activate the night mode.
This is the basic method to automate actions in your phone using Tasker. However, it is only the tip of the iceberg. You can ask Tasker to interact with apps, view notifications with custom messages, use the location to start tasks, and more.
We'd like to show you how Tasker works. For advanced automation, you can always search the web or simply create your own tasks and profiles! At the end of this post, we also provided links to custom Tasker tutorials.
Adding an Exit Task
An Exit task tells Tasker what to do when a profile is no longer active.
Let's stay with our example above. at 8 p.m. The phone reduces the screen brightness, activates the Do Not Disturb feature, and disables GPS and Bluetooth. What happens after that?
You can create another task that does the opposite of what "Minimal" did. Just go to the Profiles tab and long press on the task name. Tap "Add a task" and select your task.
Importing and Exporting
To import a saved task to Tasker, just tap the Tasks tab, select Import Task from the menu, and then browse to File and tap to access it import. Importing profiles, scenes and projects works in the same way.
To export a task, long-tap the task name, then tap the menu button and choose Export. Exporting other elements works the same way.
Deleting a profile, task, or scene
To delete a profile, task, or scene, long-tap the name and then the trash can icon. For variables, the recycle bin is replaced by the "X" button.
Rearranging actions in a task
To move an action up or down in a list of actions, simply tap the action icon on the far right side of the action. Drag and drop the action name to the new location.
Manually Running a Task
Open the Tasks tab. Tap the task you want to perform and the Edit Task screen opens. Touch the play button at the bottom of the screen. This is good for testing if your tasks are actually working.
Creating Scenes is actually an advanced topic that deserves its own tutorial, but I'll talk about that shortly.
A scene is a habit UI that you create from scratch. It can use elements that you normally find on user interfaces, including buttons, doodles, images, maps, menus, shapes, sliders, text boxes, text entry boxes, and web viewer fields. Every element is customizable.
If you have ever programmed, you are familiar with the concept of variables. They are closely related to the variables that you learn about in the algebra class. Simply put, a variable is a name for a value that changes over time.
Just like creating scenes, Tasker variables are also complex topics that require separate tutorials. However, I'll go into it shortly, so you know what immense power you'll get when you're patiently climbing the steep hill, learning how to use Tasker.
Tasker variables always begin with the percent sign (%). Variables in capital letters are built-in variables. They are usually derived from system information, device status, or events. Some common examples are
% TIME (current time),
% DATE (current date),
% BATT (current battery level), and
% WIFI  (whether Wi-Fi is enabled or not).
In addition to the built-in variables, there are two other types of variables: local and global. Both are user-defined and user-created. The main difference is that local variables can only be used in the task or scene in which they are created, defined or used. Global variables can be accessed by all the taskers. Another main difference is case-sensitive: local variables use only lowercase letters, but global variables have at least one capital letter in their name.
Okay, almost done. If you want to learn more about using Tasker or visually review the topics covered so far, watch our video tutorial in the next section.
Some Great Tasker Projects to Try
Tasker is a powerful, complex and flexible automation and programming application that can be daunting. It has a steep learning curve. It takes time to get used to it, and much more to master it, but time will definitely be worth it. It's a low price for the power, flexibility, and control Tasker allows you to have on your Android device.
Are you using Tasker? What do you use it for? Or are you new to Tasker? What are your experiences so far? Tell us about your Tasker experience. Sound off in the comments.