> Attention!

New threads need to be created only inroot partition! In the future, they will be processed by moderators.

If you posted a new version of the program, please notify the moderator by clicking the "Complaint" button on your message.

Catalog of Android programs



Tasker | Performing actions on events



Rep: (39)
Tasker
Version: 5.9.2

Last update of the program in the header:6.2.2020

Attached Image

FAQ | COURSES | LIBRARY | Plugins | Tricks | EXAMPLES

Screenshots
Attached Image
Attached Image
Attached Image

Attached Image

Gallery of screenshots:
- Tasker 5.9Tasker (Post just @ man # 92498338)
- Tasker 5.0Tasker (Post washerron # 68839498)
Screenshots of versions 4.x and 1.x are inold hat

Short description:
Performing actions on events.
Description:
Advanced scheduler. Allows for different events to make their own actions.
Looks likeLocale , Llama , Automagic , Automateit , Macrodroid , E-robot , Automate - automatic tasks , EasyProfiles , Dessin , Atooma , Swiponly much more powerful. It is possible to create widgets with an arbitrary list of actions.
Alternative Description:
A problem-oriented scripting language that allows programming in Android without knowledge of any programming languages ​​and no programming skills at all.

Homepage : https://tasker.joaoapps.com/
Google play : https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm

Download:
Version: 5.9.2 Tasker (Post Serg R * # 93627176)

Officialchange history
version information

There are 3 official stable versions of Tasker:
- version for Android ≥ 5.0
- version for Android 4.x
- version for Android<4.0 (i.e., Androids 2.3 and below, for clarity, we assume that there are no longer any Android 3.x).
Only the Android version ≥ 5.0 is being developed, the rest are frozen. Laid-up apk - the standard version of the Google Play store, uses Google Play Licensing technology to verify the license (starting with version Tasker 5.5).
If you have problems with the license, you can a) just buy Tasker and forget about them; b) use version 5.2.bf2 from the "Past versions" section.
Breaking Tasker is not recommended, there are a lot of opportunities in all can not be verified, so you'll never know, running hacked version or not. The topic has gained a lot of experience with hacked versions, it is very negative.
In the version name after the number there may be a suffix .bf with numbers, for example, version 5.2.bf1. bf means bugfix, i.e. update of the stable official version, in which there is nothing new, only bugs are fixed. The suffix .bf and the number after it are considered part of the version number.
There are no "mods" / "Rusks" for the program. Tasker requires neither.
In addition to stable versions of Tasker, there are beta versions, you can install them from the Google Play store by subscribing to the Android App testing beta program - Google Play Beta testing on the Tasker program page on Google Play. Beta versions have the suffix b after the number, for example, 5.1b. Links to beta versions in the topic header are not published. The beta versions themselves in this thread.not discussed, their support and advice-answers are handled directly by the developer. In this topic, the Tasker developer does not appear, so with all questions on beta versions, contact the developer through official channels, for example, on the official Tasker forum.
Up to version Tasker 5.1 inclusive (including versions for Android<5.0) two versions of the program were simultaneously released: an option for Google Play (had the suffix m after the version number, for example, 5.1m) and a directly purchased version of the program from the developer (Direct-Purchase version), which did not have the suffix m.
The variant without the suffix m was also official, had the same functionality as the option for Google Play, but additionally supported encryption functions. The variant without the suffix m is not broken, not tied to Google Play, with built-in license verification functions. (Possiblemethod of "getting" registration. If crashes when you try to enter the code, try thisversion of).
Also up to version Tasker 5.1 inclusive (including versions for Android<5.0) after the version number there could be a u - update suffix, a complete analogue of the .bf suffix for current versions, i.e. update of the stable official version, in which there is nothing new, only bugs are fixed. The letter u and the number after it are considered part of the version number. For example, version 4.3u4m is a stable version for Google Play, compared to 4.3m there is nothing new in it, however, bugs have been fixed; version 4.3u4 - version 4.3u4 directly purchased from the developer.
Download version for Android 4.x
versions 4.9u4 , 4.9u4m Tasker (Post Alex0047 # 57263470)
Officialchange history
App Factory Pluginversion for Tasker 4.9u4from off.site
Download version for Android< 4.0
Version: 1.6u2m (option for Google Market, not broken)
Attached fileTasker_1.6u2m.apk(1.34 MB)

Version: 1.6u2 (option, directly purchased from the developer, with encryption support)
Attached fileTasker.1.6u2.apk(1.34 MB)

Possible method of "receiving"registration for the last version of the program. If crashes when you try to enter the code, try thisversion of).

Unofficial translation into Russian for versions 1.6u2m, 1.6u2 is available.Tasker (Post Drum # 38518964)(in the program there is a very outdated Russian localization, see the note to paragraph 3 of the rules of the topic below).


FAQ | COURSES | LIBRARY | Plugins | Tricks | EXAMPLES

ATTENTION!!!The rules of the topic. It is recommended to read carefully.
1. This topic follows Forum Rules , we ask everyone to observe them. Of course, in the subject act and Section Rules , in particular:
1.1. All pictures in messages should be hidden under spoiler .
Comment: This topic is not strictly moderated, messages that violate the rules will not be immediately deleted. However, it is known that some participants of the topic ignore messages with violations, therefore you risk not getting an answer to your burning question or getting an incomplete answer to it. And it is still unknown what is worse.
2. If you do not have the time or desire to read all the pages of a topic, then first use the search function in the topic (Section 4.4 Forum Rules ). Almost always you will find either a clear answer or a direction in which you need to move on. It is wiser to clarify the direction by asking a question in the topic. In the message with the question it is better to indicate what you were looking for, what you found, what you read from what you found, what you understood from what you read.
3. Even for the implementation of the simplest tasks desirable possess at least elementary skills and concepts related to programming (even if very superficial, at the school level).
Comment: But if you don’t have it, but you really want to realize something, you may not have it. Even the initial ones. Totally.
Important note: It is preferable to use English localization in Tasker (that is, English-speaking Tasker), Russian localization in places can confuse you, lead you on the wrong path, make you tear your hair where you still have it, etc.Example of "Russian" localization.
4. Beginners are encouraged to start with local ones. courses local ready solutions It is not harmful to look into the local library .
5. After asking a question and getting a “slurred”, as it seems to you, answer, read it again. This topic is a completely self-sufficient and unique organism. As a rule, each answer contains the words "anchors", hooking which in the "search", you will find a sufficient number of answers, and sometimes 100% ready-made solutions.
The note- A brief practical guide to finding a topic in the words-anchors: "how and what to look for in the subject".
6. A clearly formulated question with all-all-all the nuances increases the chances of promptly getting an answer. Information is never redundant.
Remarks:
- The message from one sentence is regarded by the regulars as an invitation to talk about the weather. And since here it is a deviation from the topic, in response you will most likely receive an offer to get acquainted with these rules.
- The message from one phrase "tried, did not work" means that they tried with the battery removed from the device, the screen was black, nothing happened.
7. If you can't write a profile yourself, and you want to contact the topic for help, then:
- describe in as much detail as possible the problem you want to solve and your problem, i.e. what exactly fails. Different people fail differently, you know.
- Be sure to post what has already happened in Tasker’s Description format (see FAQ, question 10 ).
Note: This "that" does not necessarily have to have any relation to the issue. We should know, at a minimum, the degree of your acquaintance with Tasker and the level of your programming skills. Otherwise, you risk getting an answer that you cannot understand. Yes, if absolutely nothing has happened yet, it means that you do not want to write a profile. If you think a little, then agree with the last statement.
Note: Read the discussionWishlist, answer, clarification, it shows how important it is to paint your Wishlist in detail.
8. If you want to share your decision, issue it in accordance with the FAQ, question 9 .
Opportunities
List of major events and states
- launch and shutdown of the application, including tracking application service activity
- launch of the selected operation (activity) of the application (long tap on the name of the application in the list of applications for the Application context)
- user request for help in the application or in the system

- the occurrence of a specific time and / or date, as well as a day, week, month, day of the month or week, day of the month or week, last day of the month
- the onset and end of a certain period of time
- the onset and end of the event in the calendar, alarm clock
- music track change

- entrance to the geographic area (determined by GPS or cell phone towers and WIFI access points) and exit from it
- connecting the device to a specific cellular tower
- detection of the tower from a given list of cellular towers
- establishment and disconnection of the Internet connection in a specific mode of mobile data transfer: 2G, 3G, 4G and others
- achievement and loss of a certain level of cellular signal reception
- a change in the state of registration of the device in the cellular network (serviced, not serviced, only emergency calls)
- change the service provider of cellular communication
- detection of a specific (or any) WIFI access point, connection to it and disconnection from it
- connection through a virtual private network (VPN) and disconnection from this network
- connection to the Ethernet network and disconnection from it
- on and off the mode "in the plane"
- enable and disable auto-sync mode
- turn on and off the "do not disturb" mode and silent mode
- change the volume level of the sound flows of the call, talking on the phone, dial tone (DTMF), alarm clock, melodies, notifications, system alerts
- enable or disable Bluetooth, NFC, WIFI, WIFI, USB or Bluetooth (tethering) access points, GPS receivers

- hardware keyboard events (open-pushed / closed-pushed)
- pressing of some hardware keys, including those located on the headphones (wired or wireless)
- Samsung SPen stylus events: removing from the holder, setting into the holder, showing and hiding the stylus menu
- clicking on the soft buttons and some other elements of the user interface of Android and third-party programs

- incoming or outgoing call, answering an incoming call, ending a call
- receiving SMS (MMS), including non-text SMS (Data SMS)
- Successful SMS sending (MMS) and error when sending it
- missed call, SMS (MMS)

- events from various built-in sensors (light, approaching the object, orientation, movement, magnetic field, atmospheric pressure, temperature, humidity, pulse, pedometer)
- change screen orientation
- connect and disconnect the charger (wired, wireless, USB bus power)
- achieving a certain level of battery charge, discharging the battery below a certain level, changing the level of battery charge
- raising the temperature of the battery to a certain level, cooling the battery below a certain temperature
- transition of the device to a low-power (sleep) state and exit from it
- on and off of the low power mode (Battery Saver mode)
- turn on and off screen saver (Android Daydream)

- the end of the download of the Android and the beginning of the shutdown of the device
- turn the screen on and off, unlock the screen
- start and end user session
- connect and disconnect wired or wireless headphones
- detect, connect and disconnect Bluetooth devices
- connect to computer via USB bus and disconnect from it
- connect USB devices to the device and disconnect them
- connect, disconnect and remove the SD card
- creating, changing and deleting a file on the SD card
- connection to the car or desktop docking station, TV, clock and disconnection from them

- spatial movement of the device in a specified way - gesture
- shaking apparatus

- occurrence of a certain system event in Android - intent reception (intent)
- change settings in the system settings provider (the settings provider)
- change the system date, time, time zone
- add, update and delete application
- the emergence of a specific or any window (ordinary, pop-up, dialog)
- the appearance and deletion of a notification from the application in the system notification panel, the user selecting such notification
- change clipboard contents (clipboard)
List of basic actions
- control mode "in the car"
- management of the "in the plane" mode, incl. selective shutdown of radio modules
- WIFI sleep mode control
- management of power saving mode

- setting the default ringtones for calls, alarms, notifications
- volume control, incl. separate streams: call, phone call, incl. via bluetooth headset, tone dial tone (DTMF), alarm, melodies, notifications, system alerts
- management of playing ringtones and vibration for incoming calls, emerging notifications
- switch when speaking a voice stream to a bluetooth headset and back

- answer the incoming call ("pick up")
- management of the silent mode and the mode "not to disturb"
- management of screen settings: size, brightness, incl. automatic brightness mode, and orientation, incl. auto orientation
- management of the duration of inactivity before blocking, incl. with charging
- obtaining information about the characteristics of the screen: screen size, its resolution, the current setting of automatic orientation
- control of the navigation bar and the status bar, including the display of icons in the status bar

- set the wallpaper on the main screen
- screen lock control: enable and disable the lock, incl. force lock on
- control of auto-synchronization mode
- control of the soundtrack mode by pressing the hardware and software buttons, the haptic feedback mode, sound effects
- LED control, incl. LED backlight mode when displaying notifications by Android and third-party applications
- management of the night mode

- enable and disable Bluetooth, NFC, WIFI, WiMax adapters, GPS receiver, mobile network, including control of data transfer modes in a mobile network, control of connection to a WIFI access point
- enable or disable the WIFI, USB or Bluetooth access point (tethering)
- check the availability of nodes in local area networks and the Internet
- obtaining information about the network connection (type of connection, availability of access to mobile data), about the auto-sync mode, WIFI network settings (adapter MAC address, signal level, access point name) and Ethernet, VPN connection parameters, connected and paired Bluetooth devices
- setting the device name on the bluetooth network

- [root] emulation of button presses incl. and non-existent on the device, for example, joystick emulation - the "universal sledgehammer", which is used to do almost everything
- [root] text input emulation
- capture in exclusive use of some hardware buttons
- closing system dialogs
- insert event in calendar
- getting information about the entries in the calendar

- call to a certain number
- management of outgoing calls to certain numbers: call blocking and call forwarding
- creating letters, SMS and MMS
- sending SMS, including non-text SMS (Data SMS)
- getting information about contacts in the phone book

- download links in the browser
- launch of applications, incl. call logs, contacts (with a choice of certain contacts), Google Maps (with a choice of a specific location), an input language selection dialog, a dialog about the last used applications, launch windows with information about the system, battery and alarm information, as well as other windows and dialogs system application "Settings".
- obtaining information about installed applications and application components: operations (activities), services (services), message receivers (receivers)
- network access control for applications
- switch screen split mode
- management of the notification panel: showing the panel and minimizing
- add a new alarm, cancel the alarm, turn off the alarm
- start the system stopwatch
- select the default SMS application
- forced termination of applications
- music player control, incl. built-in, incl. playlist creation
- playing audio files, built-in ringtones including. with a choice of audio stream
- getting information about audio files: title, artist, playing time, current playing position of the track
- activation of vibration, incl. according to a given pattern
- control of the built-in microphone, incl. sound recording from it
- operations with directories and files: creating, copying, moving, reading, getting a list of files, checking the existence of a file, reading file attributes: size, access rights, modification time, writing, deleting, archiving into zip and GNU archives zip (gzip), extract from zip and gzip archives, encrypt and decrypt, transfer files to applications or to devices
- operations with cloud storage Google Drive: authorization in the Google Drive service, download, download, delete files and directories, get a list of files and directories,
- work with databases and content providers (content providers): reading, writing and deleting information
- read and change Android system settings
- work with images: resizing, cropping, rotation, reflection, applying filters

- determination of the current location (by GPS or by cell towers and WIFI access points)
- management of location modes
- displaying messages, ordinary and pop-up dialogs, including a password authentication, pattern key, fingerprint, or other biometric information dialog, display menus and lists (in fact, it is possible to build arbitrary graphical user interfaces through scenes)
- display notifications in the notification panel, incl. accompanied by LED lights or sound alerts, vibration
- cancellation of own notifications
- speech recognition and synthesis
- go to home screen, incl. with a specific number
- getting the ID of the current user ID Android (Android ID)

- work with web-servers: receiving and sending content, not necessarily in html format
- running scripts onshelljavascriptSL4A
- using Java language constructs and calling Java and Android language functions (via Java reflection mechanism)
- [root] emergency restart and shutdown
- [root] remount partitions on internal or external memory card
- start of the forced scanning of the SD card by the system
- send arbitrary system event - intent
- add content to clipboard
- taking and receiving screenshots (screenshots)
- flash control
- operators for organizing control in programs: creating and modifying variables, arrays, if-then-otherwise operator, cycles, calling subroutines (in fact, even coroutines), mathematical functions, searching and replacing by template, incl. using regular expressions
Both of these lists are far from complete. Firstly, the set of events and actions of the Tusker can be expanded by connecting third-party plug-ins, thousands of them. Secondly, using emulation of hardware and software keys or running scripts on the shell and SL4A, you can perform almost any action. And besides, there is still a reception and sending intents. And if, in addition, to learn how to call the functions of the Java language, you can get absolute power over your machine.
Also in Tasker you can:
- Create your own shortcuts, including dynamic ones, and widgets, including in the quick settings panel
- Create your own user interface usingscenes ( short description )
- Create your own applications
Frequently asked Questions

1. I can not update / install Tasker, what should I do?
- You are trying to update the Tasker version purchased directly from the developer (Direct-Purchase version) to Tasker 5.2 or higher. Since, starting with version 5.2, Tasker is distributed exclusively through the Google Play app store, such an update is impossible. Before installing, remove the program, after making a backup copy of their profiles. Few details - in the answers to the questionTasker (Post shahmatist2 # 74473831)(the following two messages).
More information about the differences in the options and versions of the program - in the sectionwith version information.
- You install the version of Tasker below4.5 and you don’t have the Google Maps Android API library in the firmware, i.e. com.google.android.maps.jar and com.google.android.maps.xml files. They can be found in this topic, using the search, or search in the firmware for your device. A couple of recipes: Tasker (Post pioneer2010 # 15274629) and Tasker (Post coolkaas # 19016305) .

2. How to import a project / profile / task / scene?
For importing, “long tap” is used on the headings of the tabs profiles, tasks, scenes, on the headings of the project tabs or on the tab with the icon “home” (where everything that is not part of any project is located), the menu item is called Import. Files for import are in xml format and .prj.xml extensions (project), .prf.xml (profile), tsk.xml (task), .scn.tsk (scene). The project file already contains all the profiles, tasks and scenes of the project.
In addition to the XML format in Tasker, there is a Description format, written about it in10 FAQ.

3. Do Tasker need root-rights (root)?
- Some Tasker actions require root-rights, some profiles laid out here, in the section MCI, require root-rights.
- Part of the action (e.g., action System Lock - lock device) need to Tasker scripting device administrator. Sometimes (for example, an event New Window), is required to Tasker service was included in the special features. Also (eg, for Notification events), it may be necessary to allow for Tasker was allowed access to the notification of third party applications. Several examples of such special settingsTasker (Post just @ man # 50495922).
- Part of the context and action require Specials System permissions kotorye impossible to issue through the regular application interface "Settings" Android. For example, Secure Setting action requires authorizationWRITE_SECURE_SETTINGS (examples and explanations), The state of Media Button - permitsSET_MEDIA_KEY_LISTENER, Event Logcat Entry - resolutionREAD_LOGS, Volume Long Press Event - resolutionSET_VOLUME_KEY_LONG_PRESS_LISTENERAnd to check running application services Application context requires permissionDUMP.
- Action ADB Wifi allows you to execute commands in a shell session Android Debug Bridge (adb). The word "Wifi" to the name of the action only added to give a magical brightness to this trivial hack. Action ADB Wifi is completely analogous to Run Shell action, the only difference is that the shell itself is started within adb-session, not within Tasker. But because adb-session transactions carried out on behalf of the usershell, The number of operations allowed higher than the influence of Run Shell. Of course, talk about the complete replacement of root-session and action Run Shell with the option Use Root is not necessary. To effect ADB Wifi to work, will have toto sweat.

4. I cannot find half of the functions voiced in this topic in my version of Tasker, many functions are highlighted in red (unavailable), what am I doing wrong?
- Tasker manipulates a large set of contexts and actions to somehow streamline and distribute them, the interface uses a hierarchical structure, for example, the App category, the Go Home action. The same hierarchical structure is used for state and event contexts. Fortunately, it is not necessary to remember the categories for actions and contexts, the interface provides the Filter field, which greatly facilitates the search, seeTasker (Post by sergr59 # 40051612). In addition, a long tap is used throughout the interface (both on the elements and on the tabs), as well as dragging and holding. The interface is devoted to the sectionMain Screenof.books. In tasker<5.6 the default mode was set for beginners (Beginner mode), in which some features were not available (interface elements), the mode could be disabled in the Tasker settings. (In versions 5.6+, this mode has been removed.)
- When discussing actions and contexts in a topic, the English interface of Tasker is usually used (see. Note to clause 3 of the rules of the topic). Perhaps, if you switch the interface language in the Tusker settings, all of the missing functions will suddenly appear.
- Most of the actions highlighted in red can be replaced by plug-ins, but, as a rule, root will be required. For example, for a long time, the GPS action was unavailable in Tasker; however, it could be replaced with GPS actions. Enabled / GPS Disabled plug-inSecure settings. (Now there is a Location Mode action in Tasker, which allows you to indirectly control the GPS receiver.) You need to understand that after installing the plug-in, the action will not cease to be red, however, in the plug-in section, an action with the same functionality will appear.
- If you do not have root, you can sometimes solve the problem by issuing a special permit Tasker. Details are set out inFAQ 3.
- In addition, especially for those who like to delve into the guts of the system, all sorts of recipes are discussed in the subject, allowing you to achieve the desired without installing plug-ins, through a direct appeal to the functions of Android. (Look in the "Little sports tricks" section,MAAif you are interested in similar recipes. For example,MAX 10- analog GPS action for Android 4.0+ and Location Mode for Android 5.0+,MAX 12- Replacing the action of Mobile Data 2G / 3G. And the replacement action Mobile Data -MAX 4andTasker (Post Primorsky78 # 37418838.)
Please do not ask in the thread when this or that action is returned to Tasker. He will never be returned. Use plugins.

5. I am asked to lay out the Run Log and / or logcat, what is it and how to get it?
See little sports tricks,Debugging Secrets.

6. Is it possible with Tasker to create a separate application, apk?
Yes, it is possible. Plugin requiredTasker App Factory. Instructions are in the section.App Creationof.books.

7. I have a mega idea, but I’m not going to study Tasker, but I’m ready to pay for its incarnation + $ 100,500 $, who should I contact?
It is better to refer to the topic.Custom programs. Tasker topic price list ishereat the end of the post, paragraph 3.

8. What makes Tasker different from other similar programs?
Usually, tasks in Tasker are solved much easier than in other programs. This is achieved through two concepts unique to Tusker: state and action-tuning. Without these concepts, most elementary problems either have no solution at all, or the solution turns out to be extremely difficult.
For example, consider the simplest task "Turn on silent mode at night (at a meeting)". Most planners offer the following solution:
event: night fell (meeting) ->enable silent mode
event: morning came (meeting ended) ->turn off silent mode
Stop! And why, in fact, "turn off"? And if you had to turn on silent mode before and you need to leave the device in this mode, eh? It is clear that you need to restore the previous value of the mode. Unfortunately, the vast majority of other planners are not able to do this. Tasker can. Here is the profile on Tasker:
condition: Night (meeting)
task: turn on silent mode
Everything. It seems that the profile is completely wrong? Where is the mode off? He is not. Tasker himself will restore the mode: if at nightfall (meeting) the mode was silent, Tasker would leave it silent, if the sound was turned on, Tasker would turn off the silent mode.
Those interested can try to make a similar profile in another program. In principle, the profile of this level can still be implemented on anything, but you have to sweat.
An example of a profile that can be implemented outside Tasker is almost impossible - the secondexamplein the message.
Details on the states, superposition of states and action-settings can be found inThe course of the young fighter.
In addition, Tasker allows you to implement almost any idea, because it allows you to create your own user interface (scenes), allows you to communicate with Android directly and in its own language (Java Function action). True, almost always for the implementation of ideas is also required an understanding of the Android device.

9. With the help of Tasker, I managed to solve a problem that could save our Galaxy from destruction, how can I share the solution?
At present, the connection with the intergalactic congress has been lost, but we are ready to share your decision with humanity! For this you need:
- put your solution under the spoiler in Tasker’s Description format (see FAQ,question 10).
- answer your questions on the profile, fix the errors found
- put the final decision under the spoiler in Tusker Description format.
You can also put an additional copy of the decision and in xml format and / or pictures if you want. Also, in addition allowed to spread links to TaskerNet. In other words, the format - Description iscompulsory , other formats, including xml format, links to TaskerNet, pictures - desirable.

10. What is Tasker's Description format? What should I do to get my projects, profiles, tasks, scenes in this format? What is the code that is found in almost every post on this topic?
Tasker's Description format is a text with a description of the program on the Tasker. It looks like this:
Task in Tasker's Description format
Battery Line Width (68)
A1: Test Element [Scene Name: Battery Bar Element: Background Test: Element Size Result In:% size]
A2: Variable Split [Name:% size Splitter: x Delete Base: On]
A3: Variable Set [Name:% size To:% size1 / 100 *% BATT Do Maths: On Append: Off]
A4: Element Position: Scene Name: Battery Bar Element: Background Orientation: All X: 0 Y: 0 Animation Time (MS): 100]
A5: Element Position: Scene Name: Battery Bar Element: Line Orientation: All X: 0 Y: 0 Animation Time (MS): 100]
A6: Element Size [Scene Name: Battery Bar Element: Background Orientation: All Width:% size1 Height: 3 Animation Time (MS): 100]
A7: Element Size [Scene Name: Battery Bar Element: Line Orientation: All Width:% Size: 2: Animation Time (MS): 100]
A8: Perform Task [Name: Battery Line Color Stop: Off Priority: 5 Parameter 1 (% par1): Parameter 2 (% par2): Return Value Variable:]
How to get your work in this format, the words explainshere, and clearly -here.
Detailed explanation in picturesTasker (Post by sergr59 # 47858893).
The menu item Data / Description / Write File will create a copy of all your current work (profiles, tasks, scenes) in the Description format in the Tasker / datadescr.txt file on the sd card. For Tasker versions<4.x A file in the Description format is created automatically during the backup and is called userbackup.xml.txt.
It is impossible to import the Description format into Tasker, it can only be created by hand by typing a profile according to the description. The xml format is intended for full import.
If you want to ask a question or share your ideas, then along with the Description format we recommend also indicating the Android version and the presence (absence) of root-rights.

11. Is it true that there are telepaths in this topic who can give a clear answer to an incompletely formulated question?
Not!Unfortunately, our two telepaths disappeared without a trace, and the third went on vacation, but hasn’t returned until now (we still hope that he hasn’t gone and will definitely notify everyone when he returns)
All our telepaths were found and discoveredyour topic! All questions are asking there!

12. Looking at the statistics of memory usage, I saw that Tasker occupied 100/50/20 MB of RAM. I think that is too much. Is it possible to somehow curb Tusker's appetites?
- (short answer) You can. Exit the profile editing window.
- (detailed answer) Tasker consists of two unequal parts:
- The Tasker application itself, which implements the functions of editing profiles and their debugging, contains a settings menu and on-line help, etc .;
- a service that monitors contexts and implements the queue of tasks and actions.
The first part really requires a significant amount of RAM to work. However, as soon as you finish editing your profiles and exit the application, only the service will remain from Tasker, which usually does not require a lot of memory. The exact figure depends on the contexts and actions you use, but rarely exceeds a couple of megabytes. The maximum allegedly observed volume is 10 MB.
In addition, you need to be aware that the figures drawn by Android for the first part of Tasker, show the average temperature in the hospital, the pressure at the North Pole, but not the actual amount of RAM occupied. To understand where these figures come from, I recommend carefully reading two notes by Dianne Hackborn, an Android developer well-known in narrow circles (And what is the last name, eh? No nickname is needed): answer to the questionHow to discover memory usage of my application in AndroidandProcess Stats: Understanding How Your Uses RAM
Since Tasker is only an interlayer for Android functions, it shares memory with Android (due to the PSS metric used in Android for calculating the amount of RAM), and since Tasker is an interlayer for many functions, it shares memory with almost all Android. Hence the big numbers for the first part of Tusker: Android simply attributed half the amount of memory to Tusker.
At that moment, when only service remains from Tasker (and this is most of the time), only the necessary Android function profiles and tasks are used - the amount of memory used by Tasker is supposedly reduced. But we understand that in reality nothing has disappeared, it’s just that Android stopped attributing to Tusker its memory.
From all this we can draw the following conclusion: the PSS metric in the case of Tasker is not quite correct. Yes it is. However, an ideal metric does not exist in principle, and in the case of an overwhelming number of applications, using the PSS metric is a reasonable enough solution.

13. Looking at the statistics of power consumption, I was surprised to find that Tasker is constantly busy with something, he uses 90% / 50% / 10% of CPU time / battery. I think that is too much. Is it possible to somehow curb Tusker's appetites?
You can, think about what exactly your profiles do.
It should be clearly understood, Tasker itself does not occupy the processor, does not discharge the battery. This is all done by user-written profiles. The official manual has special sections.Power usageandLocation Without Tears(how successfully translated in due timev-oz, "Positioning without hemorrhoids"), devoted to methods to reduce energy consumption. If you read them carefully, it will become clear that, for example, the Orientation or Proximity or Location contexts with GPS should not be used alone in profiles. If to you, of course, your battery is expensive. You must additionally specify contexts such as Time, Call, Variable Value, etc.
Sometimes users, after active experiments with Tasker and long debugging of tasks, forget to stop manually started tasks. As a result, the task is quietly spinning in a loop, and in the% TRUN variable it is not (since such tasks are often lazy to give names). And you can detect it only by turning on the debug log in Tasker.
From here council: always stop queue of performance of tasks after experiments.

14. My Tasker does not see root, what should I do?
Solution options:off.FAQ, translationsTasker (Post Nukri # 52499605)andTasker (Post axbat # 52501154)(equivalent, read any choice),practical recipe.

15. On my Android, Tasker does not work reliably: it does not activate contexts, it skips actions. What to do?
- Possible solutions for Android 5.0+ contained in of.FAQWhy does not Tasker work in the background on my device?. Android 5 - 7 relevantTransfer the contents of the oldpartition Android System Power Management of.rukovodstva. Some manufacturers plaid such things previously, e.g.,Tasker (Post by sergr59 # 38359613). MIUI users will have to tinker further, for example,Tasker (Post earth77 # 55617867)(Problems of modern versions of MIUI outlined in of.FAQ). If you think that was read of.FAQ to the holes, then you need to read it again.
- You want to enable location services, see.Tasker (Post Demon72 # 59472287):
+ For the correct operation of context and variable WIFI Near% WIFII (when not connected to the WIFI access point) on android 6.0+;
+ For correct operation context WIFI Connected to specify the MAC and SSID or variable% WIFII (when connected to a WIFI access point) on android 9.0+ (and for some devices - from Android 8.1);
+ To work correctly context Cell Near and variable% CELLID on Android 8.0+.
Comment: Tasker should also have the right of access to the location the and androids 10+ this access must be provided constantly.
- If the profiles use plugins, all recommended above, you need to apply to the plugins too.

16. Due to Tasker on line states (and the lock screen) displayed alarm icon. Why is it necessary? Can I remove it?
Time required by the context and action Wait (see. FAQ 15) to work correctly. The appearance of an alarm icon is determined by the option Use Reliable Alarms (which, since Tasker 5.7, also has Always default). Disable icons in the status bar can effect Status Bar Icons. It is not recommended to change the value of the option Use Reliable Alarms, even if it seems to you that you do not need it. Believe me, Tasker knows better than you, you need it or not. Details about the -Tasker (Post by username11 # 85007795).
Local Courses

1. Course young fighter(for newbies)
Summary:
- The basic concepts of Tasker: action, task, context, profile;
- what is the difference between the context-state and the context-event;
- what is the action-setting;
- several contexts in one profile;
- input and output profile tasks.

2. Tasker: A Practical Guide
Summary:
- simple profiles;
- variables;
- pattern matching;
- mathematical operations;
- cycles;
- arrays of variables.

3. Fundamentals of performing arts
Summary:
- what is a scene;
- create a scene;
- how to coordinate the scene design with the Android interface.
Local Library, Video Tutorials Collection
Concise English-Russian dictionary of topics
task - task
action - action
setting - action-setting (used extremely rarely, and the Russian-language term is not entirely successful)
context
state - state, context is implied, i.e. state context - [context] state
event - the event, the same remark as for the state
profile - profile (if a profile contains exactly one context, sometimes the term "profile" can mean context and vice versa. And this has nothing to do with the Russian language.)
project - a project, a set of profiles, grouped together
scene - scene
scene element - scene element
description - here, in this topic, the Tasker Description format (see FAQ,question 10)
kid app - an application created from a profile (project) using the Tasker App Factory plug-in (see FAQ,question 6)
JS - actions JavaScript, JavaScriptlet, and also language JavaScript in general
JF - Java Function, Java Object actions, as well as the Java and Android API languages ​​in general
Tusker Plugins

Plugins are third-party programs that extend Tasker’s functionality by adding new actions and contexts. Many common programs are also plug-ins for Tasker.
- AutoAlarm version 1.0.25- An advanced analogue of the Alarm Clock event.
- Autocast version 1.5.1.bf- friends of Tasker withChromecast.
- Autocontacts version 1.1.18- reading and searching for contacts
- Autohue version 1.1.8- lamp controlPhilips HueandLIFX.
- Autoinput version 2.7.bf- emulates user interface events, for example, plays pre-prepared actions of clicking on the screen in certain areas; also allows you to specify the reaction to events in the user interface and extract the contents of the user interface elements; much more advanced analogFrep.
- Autolaunch version 1.0.24- dynamic launch of applications.
- Autolocation version 1.2- expands the Location context, providing access to the location providerfusedand geozones interface (Geofencing API), supports physical activity recognition (Activity Recognition API).
- AutoNotification version 4.1.4- expands contexts and actions working with notifications (notifications).
- AutoPebble version 1.0.31) - We are friends with Tasker Pebble.
- AutoRemote version 3.0.43b92- remote control of devices and BB, both via the Internet and via bluetooth (you can make friends and force Taskers to communicate with each other).
- Autoshare version 2.0.40- embed Tasker in the system menu Share.
- Autotools version 2.2.3- combine from a variety of actions that can not be briefly listed, see.AutoTools Guide.
- Autovera version 1.0.16- control of devices by protocolZ-wavevia Vera controllers.
- Autovoice version 3.5.5- voice control, extension action Say.
- The rest auto-plugins fromjoaomgcd, off.site.
- bluetooth Detection version 4.1.1- extension contexts BT Connected and BT Near.
- Broadlink RM Plugin version 2.3.2- control of the Broadlink RM controller (forum thread).
- Email me pro (download) - sending email (alternative solutionon SL4A), a similar plugin -Locale SendSilentMail Plug-In version 4.52
- RESTask for Tasker- supportRESTfulAPIs (GET, POST, PUT, DELETE).
- Secure settings, forum thread(installation of broken PRO versions is not recommended) - management of the Android system settings, in some places duplicating functions of Tasker itself, but part of the functionality allows you to greatly expand its capabilities[Root]
- SSH Tasker Plugin (download) - protocol client integrationSshin tasker
- Tasker App Factory- allows you to create a full-fledged application from a project in Tasker (.apk).
- TaskKill Tasker Plugin (download) - stop applications, the plugin is removed from Google Play due to violation of the rules of program placement[Root]
- Tasker now (download) - Tasker interaction with Google Now
- Toggle Network Type 5.0, forum thread- switch the preferred type of network, such as 2G / 3G[Root]
- Toggle data 5.0, forum thread- mobile data management[Root]
- Weather ACE Tasker Plugin- weather forecast through the Weather ACE application,explanationfrom the author of the application
- WhatsTasker (download) - we are friends of Tasker withWhatsappplugin removed from google play
- Big listplugins and supported applicationson of.sayte.
- Collectionplugins and supported applicationson the IzzyOnDroid website.
- Lists of plugins in other forum topics:Automagic, Locale, Macrodroid, modules xposed(some modules are integrated with Tasker).

Plugins for building your widgets, user interface, live wallpapers, integration with launchers:
- Zoom(from former author Tasker)
- Minimalistic text, forum thread
- Ultimate custom widget (UCCW), forum thread
- Zooper Widget Pro, forum thread
- KLWP Live Wallpaper Maker, forum thread
- Material Design Tasker Plugin version 6.1- create your UI in Material Design style
- Snackbar Tasker Plugin version 11.1.1- create your own interface type elementsSnackbar, Bottom barandBottom sheet
- Lightning launcher, forum threadprovides mutual integration with Tasker, details - in the wikiWorking with Tasker
MCI - local solutions (examples)

The examples given in the header are not collected in order to simply copy them (although this is possible, because they are all (or almost) efficient), but to understand and understand that, in principle, there is nothing complicated.

Attached Imagesimple profiles for beginners

1. Widget auto brightness on / off
If% Bright = 0
Auto Brightness Set On
Variable Set Name% Bright to 1
Else
AutoBrightness set Off
Display Brightness Level 3
Variable Set name% Bright to 0
Endif
Flash Text% Bright (this is for debug control, can be deleted)

and create a Tasker widget or shortcut, linking the task to it.
The code can be cut into two steps by using the Variable Add action with the Wrap Around parameter.
If% Bright = 0
Auto Brightness Set On
Else
AutoBrightness set Off
Display Brightness Level 3
Endif
Variable Add name% Bright value 1 wrap around 2]
Flash Text% Bright (this is for debug control, can be deleted)

Continuation- story about widgets.
2. Execution of scheduled actions (Tasker context Time)
2.1. Connection to home WiFi network and data synchronizationTasker (Post brake # 5066785)
2.2. SIM switch. Staging:Tasker (Post by dimonsob # 33970409). Decision:Tasker (Post by gavrila # 33974305)
2.3. Turn on WIFI. Staging:Tasker (Post kolik76_76 # 35332544). Decision:Tasker (Post by sergr59 # 35332785)
2.4. See example 16 below.
3. Battery Full NoticeTasker (Post sumoto # 6268990)
4. Displaying active profiles on the desktop usingMinimalistic text Tasker (Post LANstalker # 7008782)
5. Turn off the screen when the phone is placed on the table screen downTasker (Post roly # 7379740)(application is usedScreen off and lock)
Note. Screen Off and Lock are optional. Now Tasker has a System Lock action.
6. Shake control (Shake Tusker event)
6.1. Reset incoming shake and chimeTasker (Post MOPOK # 13271364)
6.2. Shake ScreenshotTasker (Post Nukri # 33921486)
7. Automatic WiFi controlTasker (Post rjlexx # 33556843)
8. Call on the last incoming numberTasker (Post skunsofob # 9357433)
9. Sound reminder about missed calls and SMS every 3 minutesTasker (Post intro555 # 30478905)(See also Example 19 below.)
10. Delayed actions - delayed launch technique (seeMAX 6)
10.1 Turn off Bluetooth if there is no connection for 3 minutesTasker (Post VityaPda # 15433144)
10.2. Bluetooth auto off after 1 minuteTasker (Post rjlexx # 33387106)orTasker (Post VityaPda # 33387312). Discussion (including links to other solutions):Tasker (Post by username11 # 33388672).
10.3 Screen lock by delayed proximity sensorTasker (Post slax # 37063616). See also profile 5.
10.4. A set of profiles that run after the screen is turned off with a delay: switch the mobile network to 2G Only mode, disable WIFI if connected to a specific AP, disable WIFI outside the AP coverage areaTasker (Post by dimusische # 38434559)
11. Turn off GPS, WiFi, mobile data transfer and access points via USB when the screen is turned off.Tasker (Post by taganrog32 # 15805624)
12. TTS-based talking clock taskTasker (Post Nukri # 16482906)modified versionTasker (Post Nukri # 40811001), another optionTasker (Post GigaMen # 39665630)
13. Launching the Camera app with full brightness using the search button.Tasker (Post gameover19 # 16813469)
14. Widget on / off applications (for example, Cyberon Voice Commander)Tasker (Post EvilShrike # 17198021)
15. Playing a ringtone on incomingTasker (Post skunsofob # 17329403)
16. Enabling the mode "in the plane" at nightTasker (Post by taganrog32 # 17643467)
17. Flashlight, just a flashlightTasker (Post by javerin # 21687565)(See also Java MCI 2)
18. Screen lock when calling with headset connectedTasker (Post tvv56 # 24317764)
19. Reminder of missed calls and SMSTasker (Post tvv56 # 24317911)(See also Example 9 above.)
20. Smooth increase in ringer volumeTasker (Post tvv56 # 25412353)DiscussionTasker (Post tvv56 # 25402750)
21. Notification of the disappearance of the cellular signalTasker (Post gameover19 # 28186341)
22. Turning off the device when reaching a critical level of charging in picturesTasker (Post coolkaas # 24929040)
23. Automatic answer to the call (alternatives to the action Take Call)
23.1 With ideas fromMAX 2: Tasker (Post intro555 # 44254063)(see the simplified version)
23.2. Using the AutoTools plugin:Tasker (Post shuraken31 # 77545926)
24. Voice request verification account. Staging:Tasker (Post Stimuliator # 31750382). Solution without plugins:Tasker (Post Nukri # 31750978)
25. Voice control using the pluginAutovoice
25.1 Running the application by voiceTasker (Post rjlexx # 33259309)
25.2 Auto control with alarm StarLine (with GSM module)Tasker (Post Spider # 48818745)
26. When connecting to a home Wi-Fi network, turn off Bluetooth and screen lockTasker (Post KlgFinn # 36303973)
27. Displaying card balance on the lock screen using a pluginDashClock Tasker Extension(widgetDashclock widget) Tasker (Post by gavrila # 39827385)
28. Device management (using the pluginAutoRemote) Tasker (Post KlgFinn # 55589289)(see also complex MCI 10).
29. Automation of the quick call function in Yandex Browser (plugin usedAutoNotification) Tasker (Post lupuslol # 59667358).

Attached Imageadvanced profiles

1. <Moved toMAX 13.>
2. How to send an e-mail from TaskerTasker (Post Oleg V # 21581197)(alternative see sectionplugins)
3. Turn on and lock the screen by the proximity sensorTasker (Post Remie-l # 15007005)
4. Turn on the computer via WiFi usingTasker (Post j0ker # 7649554) Wake on lan(example in pictures -Tasker (Post j0ker # 14247930) )
5. Alarm with SnoozeTasker (Post sergiii # 9754611)
6. Battery barTasker (Post Nukri # 15868156)and additionTasker (Post Calhoon # 15929667)
7. Starting and stopping DVGet service when data transmission is enabled / disabledTasker (Post Nukri # 15874032)
8. Conclusion consumed traffic on top of all windowsTasker (Post by taganrog32 # 17436431)
9. Lock screen on during a callTasker (Post intro555 # 31369886)
10. Locating a device
10.1. With sending coordinates to the server, we use HTTP Request (GPS tracker)Tasker (Post passerby # 88269829)
10.2. By remote request (via pluginAutoRemote) Tasker (EasyWorld Post # 31517883)(see also simple MCI 28).
11. Delayed launch of a browser with open links, an example of using arraysTasker (Post dimcus # 21030010)DiscussionTasker (Post dimcus # 21022095)
12. Notification of missed calls with voice output of the name of the contact from which the call was missedTasker (Post by keta22 # 24770624)
13. Battery LogTasker (Post coolkaas # 24951724)
14. Car radio emulationTasker (Post Arkkor # 25973066)
15. Advance notification of free minutes limitTasker (Post by sergr59 # 27804376)
16. Voice output weather forecastTasker (Post zurzmansor # 34347212). Another option isTasker (Post by ajm # 32677684). Alternative on baseWeather ACE - Tasker (Post Aleph4 # 31856902). Another option -Tasker (Post by ajm # 34565142). And another option - the current weather from Intellicast.com (for widget)Tasker (Post Graymax # 37077583). Option for the widget (using the pluginAutotools) - Tasker (Post WoxiFixs # 67784234)
17. Notification to which SIM / operator an incoming call on a 2-SIM phone and the incompatibility of operatorsTasker (Post by sergr59 # 35207240)
18. Auto Answer Call and SpeakerphoneTasker (Post intro555 # 44254063)
19. Changing the desktop wallpaper (using Java Script)Tasker (EasyWorld Post # 39600695)
20. Forwarding part of received SMS to Telegram by condition (using Java Script)Tasker (Post z-dmitry # 66748297)
21. Setting a random ringtone on the incoming, an example of working with scenes, the reaction to the events of scenesTasker (Post R3m # 83394496)

Attached Imagejava profiles

1. Getting the address of a place by its coordinatesTasker (Post v-oz # 39631433), clarificationTasker (Post by yhnyhn11 # 64456808)
2. FlashlightTasker (Post slax # 53903882)
And there are a lot of profiles that have not yet fallen into the header can be found in the topic by searching for a key phrasejava function.

Request to the authors of the solutions. Do not correct profiles (except typos) without prior notice and discussion in the topic.
MAA - little sports tricks

1. Debugging Secrets .

2. Interception and emulation of hardware keys, user interface elements:
To emulate hardware keys and user interface elements, Tasker provides for Button, Dpad, Type, Assistance Request, Button Widget Clicked, Button: Camera, Button: Long Search, and other contexts. Their functionality is limited, much more advanced functions are available in pluginsAutoinputandAutoNotification. With the help of these plugins, it is possible to emulate almost any action of the user interface and intercept almost any of its events. However, there are cases when plugins are powerless, and in many simple situations plugins are redundant. In this little sports trick, alternative plug-in recipes are outlined.
- hardware key emulation technique via sendeventTasker (Post v-oz # 12681202)
- technique of intercepting hardware keys via geteventTasker (Post coolkaas # 23702923)
- an alternative solution for interception - module xposedadditions pro
- method of emulation of clicks on the screen via input tapTasker (Post by gmorgen # 33262026); with pictures -Tasker (Post by sergr59 # 45647656)
- codes of buttons (from core / java / android / view / KeyEvent.java) for input keyeventTasker (Post by username11 # 21526131)

3. We catch events in the system log (logcat), applying the ideas of the Ministry of Agriculture 2 (in order for these recipes to work on your machine, they need to be slightly modified, catching the main idea):
- interlocutor picked up the phone (answered the outgoing)Tasker (Post dnsis # 25551292)
- Android's text-to-speech (tts) subsystem started workingTasker (Post by myxa781 # 24101465)andTasker (Post by myxa781 # 24224417)
Use the shell-script from the Ministry of Agriculture 2 is not necessary to have context-Tasker event Logcat Entry. However, the essence of the tricks that does not change.

4. Some information about the built-in svc utility in Android Tasker (Post slax # 53419279) .

5. Child topic from coolkaas Shell scripts for Android , which grew out of the Ministry of Agriculture 2. In the topic of programming on the shell (the action of the Run Shell Tasker). Short guide to the teams: Official BusyBox Guide ( description ), here is one of examples application.

6. Delayed launch
Sometimes you want to start a task not at the time of context activation, but a little later. To do this, use the delayed start method: the first action of the task is to set the Wait action, followed by the Stop If action, checking that the task start condition is still being met. This is usually a profile activity check, but there are other options.
profile "Profile Name"
context ...
task
Wait time
Stop If start condition
Of course, the delayed start method can be used for output tasks.
Examples of using the method:Tasker (Post by kefirux # 23641303)andTasker (Post by kefirux # 23646121)andTasker (Post by kefirux # 23660085). In addition, profiles using this method are dedicated tosimple mri 10.
Stop action with profile activity check done
Stop If% PACTIVE ~ *, Profile Name, *

Note the commas, a common beginner’s mistake is to forget about them when checking the% PACTIVE variable.


7. Combining Contexts for OR
There are three main methods. In the first and simplest, the property of independence of tasks from contexts is used — the task can be tied to several contexts simultaneously (this Tasker property is described in detail in "On the course of a young fighter" )
profile "Profile1"
context state context A
task "Task"

profile "Profile2"
context state context B
task "Task"

Disadvantages of this method:
- the task will be launched when each profile is activated;
- the output task, if needed, will also be launched when each profile is deactivated.
In general, this, of course, is not a union of contexts at all OR, or a very special case of such a union. But it works great in the simplest situations without abstruse bells and whistles.
The second method is based on the use of the Profile Active state (the profile is active). In the Name parameter (the name of the profile being checked by the context) there are comparisons based on the Tasker pattern (Pattern Matching). Using a simple matching pattern, we get:
profile "This is Profile1"
context state context A
task
Stop

profile "This is Profile2"
context state context B
task
Stop

profile "Profile1 or Profile2"
context state Profile Active [Name: This is Profile1 / This Profile2]
enter task "task"
exit task "output task"
In fact, if you correctly name the profiles, you can use the following template:
profile "Profile1 or Profile2"
context state Profile Active [Name: This is Profile *]
enter task "task"
exit task "output task"
that is, the context now checks whether any profile that starts with the word “This Profile” is active; both Profiles This Profile1 and This Profile2 will fall into such a template. Of course, you should not have any other profiles with the "This Profile" prefix.
You can also use the% PACTIVE system variable check:
profile "Profile1 or Profile2"
context state Variable Value% PACTIVE ~ *, This is Profile1, * / *, This is Profile2, *
enter task "task"
exit task "output task"
or even like this:
profile "Profile1 or Profile2"
context state Variable Value% PACTIVE ~ *, This is a Profile *, *
enter task "task"
exit task "output task"
This method most closely unites the context of OR. Note that the output of the task starts when both profiles are disabled, which is what we needed. (Indeed, the output task should run when the deactivation of context, ie, when the true negation of the activation conditions:. NOT (OR Profile1 Profile2) Using the known formula of Boolean algebra
NOT (Profile1 or Profile2)<=>(NOT Profile1) AND (NOT Profile2)

We get the condition profile deactivation "Profile1 or Profile2" on the right side of the formula.)
And by applying the negation to this formula, we get the idea underlying the third method
Profile1 OR Profile2<=>NOT (NOT (Profile1 or Profile2))<=>NOT ((NOT PROFILE1) AND (NOT PROFILE2))

In the right-hand side, we see the standard union of profiles according to I. To get those “NOT” inside the parentheses, you need to set a negation for the contexts in the profile, most Tasker contexts have the Invert flag for this. To get "NOT" before parenthesis, you need to make the task output for the profile.
profile "Profile1 or Profile2"
context state Not context A
context state Not context B
exit task "Task"
enter task "output task"

Disadvantages of this method:
- the method is difficult to enter it, you have to work hard
- the settings that are changed by the settings actions in the Task task are not saved, since the task is an output
- for the same reason, the settings that are changed by the action-settings in the task "Output task" are restored in the task "Task"


8. Correct shutdown (power off, reboot)
- All Androids:Tasker (Post by myxa781 # 30556899)
- Androids 4.3+:MAX 4

9. Secrets% evtprm - Tasker (Post Nukri # 33317770)

10. Manage location settings (GPS / network):
To manage the location settings in Tusker, there is a Location Mode action, however, it assumes that the location settings are standard, for some firmware this is not true. In addition, this action is available only for Android 5.0+. This little sports trick reveals the internal mechanics of the system location settings.
- control through the interface of the standard system widgetTasker (Post ivanius-1976 # 16390085)
- change location settings in content provider (provider) settingsTasker (Post slax # 64882379)(internal mechanics of Custom Setting).

11. Parsing (parsing) text data, for example, HTML pages.
- The main tool for parsing text data is the action Variable Search Replace. As the name suggests, it allows you to search for a given pattern in a string, as well as replace or remove parts of a string. The action relies heavily on the notion of a regular expression (regular expression, regexp):section of. leadership, section from the Android API Reference, online testerregular expressions. Examples of use are simple MRI 27, complex MRI 11 and 16.
- Since parsing html-pages with regular expressions iscthulhu pathIt is recommended to use the parsing tools available in JavaScript and Android (via JS and JF Tasker). Visual examples on JS:Tasker (Post Graymax # 43424823), Tasker (Post BanHammer [YKT] # 38500217). LessonParsing XML Datafrom Training Guides for Android developers.

12. Service call mechanics in examples
- switching of 2G / 3G / LTE network modes (calling ITelephony.setPreferredNetworkType method of phone service)Tasker (Post Partyzzan # 45844577)
- switching hardware overlay, hardware composer (calling the hidden method of the SurfaceFlinger service, details -onTransact methodclass BnSurfaceComposer)Tasker (Post by Alexey711 # 42782503)
- control of the WIFI access point (tethering) on ​​Android 7+ -Tasker (Post slax # 62396787)andTasker (Post slax # 66660280)
The method of obtaining information about the methods of services through the Tasker Java interface -Tasker (Post slax # 48226914)

13. Work with databases on the example of SMS database.
General comment. With the database, rather, with content providers (content providers) operate through the built-in Android utility content (available for Android 4.1+). Thus it is necessary to know the address (authority) of the supplier and the structure of its database. If the utility content in your Androide not, or if it is necessary to pre understand the database structure, use the sqlite-shell. Note, however, that the work with the database to record, passing the supplier may lead to its destruction. Everywhere below, unless otherwise stated, refers to the action Run Shell Tasker. Previously, of course, you need to fine-tune the work with the database on the command line. Basically, to work with databases and content providers in Tasker has a SQL Query action, so only use it without knowing the base (supplier) structure, is almost impossible.
- using the content utility, mark all SMS read, unanswered calls - viewedTasker (Post by gavrila # 44070856)
- using sqlite-shell, mark all SMS readTasker (Post by gavrila # 43833031)
- deletion via sqlite-shell SMS from a certain numberTasker (Post Havl # 18737162)
- scripts on SL4A python (action of SL4A Script Tasker's Run): one marks all SMS as read, the other deletes sent to a certain SMS numberTasker (Post Havl # 18852990)
Finally, actions for working with the SMS database exist in the Tasker Utils plugin (removed from Google Play, there is no topic in it), an example of a profile that removes specific SMS content from a specific numberTasker (Post brisker # 42600445)
miscellanea
Past versions
The previous versions of the program collected here are of interest only to archaeological historians who are exploring the artifacts of the Digital Age. No need to download these versions, hoping that they will work. The current official stable versions obviously work better. And if it seems to you that you have found a mistake in them, it is better to discuss it in the topic or write to the author at the forum.
version 5.9Tasker (Post Giacomino # 91778463)
version 5.8.2Paid (Novakin)
version 5.8Paid version (Novakin)
version 5.7.1Tasker (Post by Giacomino # 84894453)
version 5.6Tasker (Post Alex0047 # 78316391)
version 5.5.bf2Tasker (Post alen2012 # 77827876)
version 5.2.bf2Tasker (Post Alex0047 # 74571629)
version 5.1Tasker (Post Alex0047 # 69023208)
version 5.0u7Tasker (Post Alex0047 # 66567180)
version 4.8u5Tasker (Post Alex0047 # 50556293)
version 4.7u3Tasker (Post Alex0047 # 41599102)
version 4.6u3Tasker (Post Alex0047 # 37216898)
version 4.5u1Tasker (Post nihilihin # 34888513)
version 4.4u3Tasker (Post Alex0047 # 33631921)
version 4.3u4Tasker (Post by Henry1 # 31181212)
version 4.2u3Tasker (Post by Giacomino # 27022916)
version 4.1u3Tasker (Post by ScAnMaG # 22883929)
version 4.0u1Tasker (Post Oleg V # 21050872)
version 1.3.3u2Tasker (Post by ScAnMaG # 17226665)
version 1.3.2u1Tasker (Post MENNENN # 16762182)
version 1.3.1Tasker (Post roly # 14920421)
version 1.3u1Tasker (Post skunsofob # 14519505)

Key version of Tasker at the office. the sitehttps://tasker.joaoapps.com/releases/

If you want to help develop the Tasker theme, hereTasker (Post by username11 # 48781819)compiled a list of tasks for filling the cap and structuring the topic.
p.s. Thanks to everyone who took / is / will take (and will take!) participation in the creation of the cap.

Themelooking for a curator. Wishing to please pay attention torequirements for supervisors in the section.


Post has been editediMiKED - 23.06.20, 04:24
Reason for Editing: Theme is looking for supervisor



Rep: (32)
I tried to jump from Locale.

Everything is pretty powerful (at the office something is chewed up in detail), much is configured, for example, at motor-milestone the volume of notifications and SMS signal is always the same.
And I had to make the notification quiet, and the SMS - loudly. It was possible with the help of Tasker.

However, there are downsides (maybe I just haven't figured it out yet):
1. It does not work with built-in volpeypers (only pictures from the file system, I haven’t found where the default volpeyper on mileston lie).Locale, on the contrary, works only with embedded :)
2. Returning to the previous settings does not work when the profile expires, although it is declared as a feature. You have to use ExitTask
Example:
Task:Make the notification quiet, and SMS - loud.
I put the sound of the notification quiet.
I make a rule so that when an SMS arrives, the notification sound is made loud.
Checking
When the SMS arrived, the sound really became louder, but it remained so, now the notifications are loud: (And I expected it to return to the previous level ...

2.1 In continuation of paragraph 2 - not all profiles can be screwed ExitTask: (I managed only to one, the first in a row.

Post has been editedbrake - 10.06.10, 10:24
Reason for editing: added an example



Rep: (39)
brake @ 10.6.10, 10:11*
Not all profiles can be screwed ExitTask I managed only to one, the first in a row.

Long press on action ->Add Exit Task
Added without problems.
And there are still a lot of implicit actions - for example, yesterday I figured out how to make a button on the screen, by clicking on which a dialog pops up - I made a one-touch switch on loud / vibration / airplane + all associated settings. :)

Now I deal with repetitions - I try to make it so that when a call / sms is missed, once in N minutes I play a melody and vibrate. :)

Post has been editedNomad14 - 10.06.10, 10:54



Rep: (3)
And the position on the base station, he can determine? if so, it turns out good and free competitor settings profiles.



Rep: (32)
datwm5 @ 10.6.10, 12:07*
And the position on the base station, he can determine?

I have not tried. Even if not, then Locale plugin support is declared, and there definitely is such a plugin.



Rep: (32)
Experience has shown that if there is at least one Event in the context (such as PhoneIdle or Received SMS), then ExitTask is impossible.
In other cases, it seems to work.



Rep: (39)
brake @ 10.6.10, 12:13*
Event (such as PhoneIdle or Received SMS), then ExitTask is not possible.

Everything is a bit wrong. :)
Immediately you need to enable the separation by event type: Button<menu> ->Show Context Selector.
After that, everything falls into place. In the rightmost tab, where all the tricky events - the way out of them is not caught. In the first and second - Exit Task is present, in the rest - I do not know, I do not need. ;)



Rep: (32)
Nomad14
In general, I'm about the same. I just have profiles, where there are 2 contexts, for example:
Event: PhoneCall
Time: 00:00 - 06:00

And inside the profile, a set of tasks common to both contexts. In this case, there is no ExitTask (and so its hunting :))

But, apparently, is solved by a parallel profile and priorities - it is necessary to experiment.



Rep: (39)
brake @ 10.6.10, 14:26*
I just have profiles, where there are 2 contexts, for example: Event: PhoneCallTime: 00:00 - 06:00

Oh, here from this place in more detail. :)
Can a sequence of buttons to create an action triggered by two events at once (logical "AND")? I didn’t understand how to do it - I did it as a programmer - I started a variable-flag. :)



Rep: (32)
Nomad14 @ 10.6.10, 16:14*
Oh, here from this place in more detail.

Tap on the Context (not on the task, as you wrote earlier, that is, to the left of the task)
In the menu that appears, select Context->Add - everything, after a difficult choice, we have added a second context to the profile.

For clarity in terminology:
Profile - everything that is drawn in a separate rectangle (a set of contexts and tasks)
Context - conditionalthe condition under which the task is executed (the left rectangle in profile )
Task / Task - right rectangle in profile . A series of actions that are performed in context to which is attached task . Task m. tied to more than one context .

Post has been editedbrake - 10.06.10, 15:36



Rep: (12)
So I realized that the only hard button on which to put something is the camera. What to do if there is no separate button for the camera?



Rep: (39)
dptundra @ 11.6.10, 9:17*
What to do if there is no separate button for the camera?

The question is rhetorical. :) Use other events: for example, using plugins.
For example, Locale Shake Plug-In - you can do something by shaking the phone;
Screebl - by the position of the phone in space (along three axes): A telephone in the “near ear” position is one action, “face down” is another, etc.



Rep: (3)
But how does the program part of the rules check (if the conditions are in terms of time and location)? Is the battery strong?



Rep: (32)
datwm5,
With "equal" settings, the battery eats no more than Locale. But it feels like. Thin measurements did not do.



Rep: (39)
brake @ 11.6.10, 12:43*
Thin measurements did not do.

The author writes that he has done a great job in energy saving. In particular, events are checked in order of increasing energy intensity - this makes it possible not to run energy-intensive checks.

So I think it should be definitely no worse than Locale. Rather better. :)



Rep: (32)
Does anyone have any ideas about how you can change the wallpaper when you install a quiet mode (well, back, when you cancel the silence)?

I did not find any event or event similar to what you need: (

You can, of course, stir up the profile for this case and turn it on with the widget, but the hunt is from the opposite (IMHO is more beautiful to use any widget for silence).

PS: at the office forum announced (but not posted)a new version

Post has been editedbrake - 14.06.10, 23:37
Reason for editing: ext. link to the announcement of the new version



Rep: (39)
brake @ 14.6.10, 23:20*
How can I change the wallpaper when installing a quiet mode (well, and back, when silence is canceled)?

Personally, I made a widget on my screen with a menu of three points: loud, vibro and quiet. There you can also shove a change of wallpaper. :)
Imho very comfortable. And how do you set the mode?



Rep: (32)
Nomad14 @ 15.6.10, 1:02*
And how do you set the mode?


I use the SwitchPro widget, and somehow wanted to track down the very moment the sound is turned off.



Rep: (15)
Next versionAttached fileTasker.0.30b.apk(737.74 KB)



Rep: (39)
Attention! Starting from version 0.30b, the program has become paid! :( According to the link - the trial version (unbreakable).



Rep: (9)
Hello! Who figured out the program and there is a desire to help pliz tell me ...
It is necessary (for now I imagine it because I do not know the possibilities of the program)
1. while I'm at home (determine either by BS or by the presence of a signal from my access point) turn on the waffle every half hour for 10 minutes, update the necessary widgets (weather, account balances, RCC news), check mail
At home I can be on workdays say from 19-00 to 7-00
And at night from 24-00 to 5 am this item is not to do
2. ANY sound always off from 21-30 to 6 am leave only the vibro (do not wake the baby)
from 6 am to 7 am, the sound should be made about 20% approximately + vibro
and the sound of the alarm do in the morning at 6:10 at 30%

Something like this...
I understand that it is messy, but I still haven’t understood how to use it and what it can do.
Thank.

Post has been editedkacnep - 17.06.10, 07:52


Full version    

Help     rules

Time is now: 12/07/20, 21:52