> 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: (42)
Tasker
Version: 5.10.1

Last update of the program in the header:07.10.2020

Attached Image


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.10.1 Tasker Paid from 06/10/2020 (BETMEN2)
Version: 5.9.3 Tasker Paid on 04/08/2020 (betmen2)
Version: 5.9.2 Tasker (Post Serg R * # 93627176)

Beta versions:
Version: 5.11.1.Beta. Tasker (R3M)

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).
It is developing a version for Android ≥ 5.0, the remaining frozen. Laid apk - the standard version of the Google Play store, Google Play Licensing uses technology to verify the license (version Tasker 5.2).
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).



ATTENTION!!!The rules of the topic. It is recommended to read carefully.
1. 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.
2. Beginners are encouraged to start with local ones. courses local ready solutions It is not harmful to look into the local library .
3. 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".
4. 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.
- information that can be provided in text form is recommended in this form and provide (hiding, as a rule, in the Code TEG). As a rule, such information includes RUN LOG, Logcat and error logs. Screenshots are usually ignored by experienced users of Tasker, refer to the inconvenience of information from them, and sometimes insufficient informativeness. Take care of your and someone else's time.
5. 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.
6. If you want to share your decision, issue it in accordance with the FAQ, question 9 .

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.
Opportunities
List of major events and states
Applications:
  • startup and shutdown applications, including tracking application activity services
  • run the selected operation (activity) applications (long tap on the application name in the application selection list for the Application Context)

Date Time:
  • offensive certain period of time and / or date, as well as day, week, month, day, week or month, the last day of the month
  • offensive and the end of a certain period of time

Developments:
Applications:
  • application change

Date Time:
  • change the system date, time, time zone
  • onset and end of events in the alarm clock, alarm clock change

Screen:
  • switching on and off of the screen, the screen unlocking

File system:
  • the file is opened, modified, closed, moved, deleted, changed its attributes

Equipment:
  • Pressing certain hardware buttons, including those located on the headset (wired or wireless)
  • long press the volume keys
  • connection, disconnection and removal of the SD card

Media:
  • changing music tracks

Network:
  • detect, connect and disconnect the Bluetooth devices
  • detection of NFC-tags

Phone:
  • incoming or outgoing call, answer the incoming, call completion
  • receive SMS (MMS), including non-text SMS (Data SMS)
  • successful sending of SMS (MMS) and an error when it is sent
  • missed call

Nutrition:
  • change the battery level, the achievement of full charge, the battery overheating

Sensors:
  • events from various internal sensors (illumination, proximity to the object, the orientation, displacement, magnetic field, atmospheric pressure, temperature, humidity, heart rate, pedometer)
  • spatial movement of the device specified in a certain way - a gesture
  • shaking apparatus
  • occurrence of significant movement (walking, cycling, movement in the car)
  • completed a predetermined number of steps

System:
  • change the settings in the provider system settings (the settings provider)
  • the end of the download of Android and the beginning of the shut-off
  • the achievement of a small amount of free memory
  • the occurrence of certain system events in Android - reception Intent (intent)
  • change locale
  • obtaining records in the system log (logcat)
  • add, update, or delete applications
  • clicking an icon in Quick Settings
  • change your desktop wallpaper

Internal events Tasker:
  • monitor service starts
  • launch of a second label (Secondary App Opened)
  • change timer widget tasks

Interface:
  • are requested to assist in the application or in the system
  • widget button press
  • or from an occurrence of any window (ordinary, pop, dialog)
  • appearance and removal of the notice on the application in the system notification bar, a user selection of such notice

variables:
  • set / cleared variable

Enter a geographical area (determined via GPS or cellular towers and WIFI access points) and the output therefrom

States:

Applications:
  • onset and end of events in the calendar
  • unread SMS (MMS)

Screen:
  • change screen orientation
  • screen status (enabled / disabled)
  • Activate or deactivate the screen saver (Android Daydream)
  • enabling and disabling a dark mode (Android 10+ and some devices for Android 9)

Equipment:
  • connection to a car or desktop dock
  • connection and disconnection of wired or wireless headphones
  • connect to the HDMI
  • hardware keyboard (open-launched / closed-retracted)
  • click tracking media keys
  • stylus event Samsung SPen: extraction of the holder, set in the holder, display and hide the menu stylus
  • connect to a computer via USB, and off of it
  • connection to the machine USB devices and disconnect

Network:
  • Activate or deactivate the mode "on the plane"
  • Activate or deactivate the auto-sync mode
  • connect to a Bluetooth device, the presence of a number of Bluetooth devices
  • Activate or deactivate the Bluetooth adapter, NFC, WiFi. WiFi hotspot, USB or Bluetooth (tethering), GPS receiver
  • connect through a virtual private network (VPN) and disconnect from the network
  • Ethernet connection and disconnection from her
  • establish and break the connection to the Internet in a particular mobile data connection: 2G, 3G, 4G and other
  • detection of certain (or any) WIFI access points connected to it or disable it from
  • incoming / outgoing call
  • detection aerial of a predetermined list of cellular towers
  • missed call
  • achievement and loss of a certain reception level cellular network signal

Nutrition:
  • battery level in the specified range
  • battery temperature increases to a certain level, the battery cooling below a certain temperature
  • the machine enters a low power (sleep) and exiting (Device Idle)
  • connect and disconnect the charger (wired, wireless, USB bus power)
  • Activate or deactivate low power mode (Battery Saver, Powe Save Mode mode)

Sensors (if any):
  • heart rate
  • humidity, pressure, temperature,
  • light, magnetic field, proximity sensor
  • change device orientation (face up / down, standing up, upside down, on the left / right side)
  • other sensors

System:
  • the start and the end of the user session
  • state settings in the provider system settings (the settings provider)

Internal states Tasker:
  • profile is active
  • task is performed
  • variable values

other:
  • arming and "do not disturb" and silent mode
  • change audio streams volume call, a call, a signal tone dialing (DTMF), alarm clock, ring tones, notifications, system-level alerts
  • Pressing the soft buttons and other elements of the user interface of Android, and third-party programs
  • changing contents of the clipboard (clipboard)

List of basic actions
Warnings:
  • supply a predetermined audio signal tone, volume and duration
  • the output pop-up message (it is also Toast, but in the universe Tasker is called Flash)
  • transformation of the text in the "Morse code" and its reproduction
  • the output messages and ordinary pop-up dialogs, including the authentication dialog with a password, pattern, fingerprint or other biometric information display menus and lists (in fact, possible to build arbitrary graphical user interfaces through scenes)
  • output notification in the notification panel, including followed by the LED and / or sound notifications, vibration
  • cancellation of own notifications
  • speech synthesis (including an entry in the file, and synthesis byWaveNet) And stop
  • control screen brightness LED, flashes, lighting of buttons
  • activation of the vibration, including in a predetermined pattern

Applications:
  • obtain information about installed applications and application components: operations (activities), services (services), communications receivers (receivers)
  • insert events in the calendar
  • enabling / disabling access to chamber
  • Go to the home screen, including with a certain number
  • launching applications, including choice of activities
  • Force Quit Applications
  • the launch of the last open application
  • launch the application shortcut
  • Open the list of recent apps
  • obtaining information on entries in the calendar
  • mode switching screen split

Audio:
  • volume control, including separate streams: a call, talking on the phone, including via bluetooth-headset DTMF signal (DTMF), alarm, tones, notifications, system alerts
  • setting the default ringtone for calls, alarms, notifications
  • Management silent mode and the "do not disturb"
  • mode control sound taps on the hardware and software buttons, navigation mode tactile (haptic feedback), sound effects
  • built-in microphone Control
  • switching the conversation voice stream to an external speaker and back
  • playback control ringtones and vibration for incoming calls, notifications arising

scenarios:
  • scripts to runshelljavascriptSL4A
  • use designs yazyka Java and call the Java language features and Android (via Java reflection mechanism)
  • implementation of ADB ADB commands through the WiFi interface (you must give permission)

Screen:
  • control settings screen: size, brightness, including automatic brightness regime and orientation, including automatic orientation
  • mode control "in the car"
  • Dark control mode (Android 8+)
  • control the duration period of inactivity to screen off
  • navigation control panel and the state, including the display of icons in the status bar
  • installation of wallpaper on your home screen and / or the lock screen
  • management screen lock: Activate or deactivate the lock, including forced switch-lock
  • control "night" mode (works only with the regimes "in the car" and "dock")
  • management regime of "always on" Never, when charging from the network and / or USB, the wireless station
  • obtain information about the characteristics of the screen: the screen size, the resolution, the current setting of automatic orientation
  • Control notifications panel: display panel and folding
  • receiving snapshots (screenshots)
  • on / off screen

File system operations:
  • directory operations: copy, create, delete, retrieve a list of files
  • file operations: copy, delete, move, reading, reading line by line, checking the existence of the record file, reading file attributes: size, permissions, modification time
  • zip archive to the archives and GNU zip (gzip), extract the zip and gzip
  • encryption and decryption
  • Transfer files in the application or device
  • opening files
  • launch the built-in file manager
  • [Root] remount the partitions on an internal or external memory card
  • execution of SQL queries to the database .db file

Google Drive:
  • authorization when Google Drive
  • upload, download, delete files and directories
  • obtain a list of files and directories

Images:
  • resize, crop, rotate, mirror, applying filters

Enter:
  • displays an authentication dialog (PIN, pattern, or biometric data)
  • Emulation keys ago
  • closing system dialogs
  • [Root] emulation including clicks on button and non-existent on the device, such as a joystick emulation - "universal Sledgehammer", which is almost all
  • voice recognition
  • Conversation data entry
  • call dialogue Input Method
  • keyboard emulation (no need root)
  • concluded dialogue with the list of items
  • long press the power button
  • replacing the onscreen navigation buttons
  • call the software keyboard
  • Output of text dialogue with the buttons (up to three)
  • [Root] emulation of text input

Location:
  • determining a current location (using GPS or cell towers and WiFi access points)
  • determining current location Stop
  • mode control positioning
  • the opening of Google Maps, including at a given point, navigate to any given point in Street View
  • O cards to select a location

Media:
  • capture in the exclusive use of certain hardware buttons
  • control the music player, including integrated
  • MIDI playback on the connected device via USB
  • playback of audio files embedded ringtones including with a selection of audio stream
  • record audio with a choice of audio stream (including calls)
  • obtain information about the audio file title, artist, playing time, the current playing track position
  • Forcing a scan card to media files
  • photography

Network:
  • mode control "in plane", including selectively disabling radios
  • Auto Sync mode control
  • enabling and disabling Bluetooth adapter, NFC, WIFI, WiMax, receiver GPS, mobile communication network, m. hr. control data transmission mode in the mobile communication network connection to management WiFi access point
  • pair, connect, disconnect Bluetooth devices
  • installing bluetooth device name in the network
  • information about connecting / close Bluetooth devices
  • download link in a browser
  • opening dialogue send Email
  • Work with web-servers: sending and receiving content, not necessarily in html format
  • network access control for applications
  • read / write data to NFC-tag
  • check the availability of nodes on local networks and the Internet
  • obtain information about the network connection (connection type, access to mobile data) on the Auto Sync mode, a WIFI network parameters (MAC-address of the adapter, signal strength, access point name) and the Ethernet, connection options through the VPN, the connected and paired Bluetooth devices
  • Activate or deactivate WIFI hotspot, USB tethering
  • WIFI sleep mode control

Phone:
  • switch during a conversation on the voice stream bluetooth-back headset and
  • Up to a certain number
  • management of incoming / outgoing calls to certain numbers: call blocking and call forwarding
  • Management magazine calls (open, full cleaning / missed / incoming / outgoing)
  • the creation of SMS and MMS
  • Answering a call ( "pick up") call termination
  • opening a contact in an external application (for example, a video call to a Skype or WhatsApp, navigate to the address in Google Maps)
  • opening contacts (last elected)
  • sending SMS, including non-text SMS (Data SMS)
  • range of applications SMS default
  • obtain information about contacts in the phone book

Working with Scenes:
  • creating, opening, hiding, destruction scenes, elements
  • obtaining information on scenes, elements

Settings:
  • opening different windows and dialog system application "Settings"
  • launch window with information about the system, information about the battery and an alarm clock, as well as other windows

System:
  • query the system permits
  • add a new alarm, cancel the alarm, turn off the alarm clock
  • [Root] Control processor
  • Management Processor operating modes
  • management of energy-saving mode
  • [Root] emergency shutdown and reboot the machine
  • Performing a search (on the device in the Web)
  • Sending an arbitrary system event - Intent (intent)
  • receive information from specific sensors
  • assistant selection
  • adding the contents of the clipboard
  • launch system stopwatch
  • Read and change system settings Android

Task Management:
  • operators to manage the organization's program: creation and modification of variables, arrays, if an operator-then-else, loops, subroutine call (in fact, even coroutines), mathematical functions, search and replace on a template, including using regular expressions

other:
  • work with databases and content providers (content providers): read, write and delete information
  • obtaining an identifier of the current user identifier of Android (Android ID)

Both of these lists are far from complete. First, a set of events, conditions and actions Tasker can be expanded by connecting third-party plug-ins, thousands of them. Second, using the emulation hardware and software buttons or scripts running on the shell and SL4A, you can perform any operation virtually. And besides, there is still receiving and sending intents. And if, in addition, learn to call a Java function, you can get the absolute authority over his staff.
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 (FAQ)

1. I can not update / install Tasker, what should I do?
- You are trying to update the purchased directly from the developer the Tasker version on the version of Tasker 5.2 or higher. Since, starting with version 5.2, Tasker is distributed exclusively through the Google Play application store, then this update is impossible. Before installing, delete the program before making a backup of your profiles. A few details - in responses 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) .

1.1. There is no Google Play on my device. What do i do?
Only Direct-Purchase Version:
- To buy a license package (25+) directly from the developer.
- Support the author on Patreon.
Detailed information is indicated inOrdering / Validation FAQ

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.
- unwilling sweat with issuing permits can take advantageADB AppControleither another "non-piece wallpaper В©" on top of ADB.

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

Read:
- Tasker lessons on androiddp1
- Tasker basic concepts from 3dnews.ru(thankVityaPda)
- example lessons from fans-android.com
- informative articles fromv-oz (It is recommended to read other articles in the blog)
- private librarywith exclusive "manuscripts" compiled by a local art historianslax

Look:
- PRO Tasker channel (by e8genius)
- playlist "Tasker" by androidp1
- channel "Tasker in Russian"

Readings (in English):
- Official resources:Manual(in particular,system variables Tasker), FAQ, Wiki, Forum, Tasker Feature Requests / Bug Reports.
- Benjamin Linnik's blog posts about Tasker(thankroman.kaskad)
- Live examples from pocketables.com(there are articles not related to the tasker, someone messed up with tags). In particular, a series of articlesBeginner’s guide to Tasker(thankVityaPda)
- Tasker Tutorials By Ryoen (Google+) Tasker Tutorials By Ryoen Deprouw
- Tasker on Reddit(The developer is present)
- Tasker Week at xda-developers
- Tasker Resourceson the IzzyOnDroid website. A collection of textbooks on Tasker.
- Questions tagged with taskeron Android Enthusiasts Stack Exchange. And that's it.

Watching:
- Video tutorials from Ryoen Deprouw
- Video lessons from Armando Ferreira
- Video lessons from hollywoodfrodo
- Video from pocketables.com
- Canal JoГЈo Dias in YouTube. The author places the key features of new versions and a lot of interesting things.
- for lazy google youtube ;)
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 databases, more precisely, with content providers (Content Providers), work through the Content built-in Android utility (available for Android 4.1+). At the same time you need to know the address (authority) of the supplier and the structure of its database. If the Content utilities in your Android are not, or if you need to first understand the structure of the database, use SQLite-Shell. Note, however, that work with the registration base, bypassing the supplier, can lead to its destruction. Everywhere below, in addition to specially agreed cases, the RUN SHELL Tasker is understood. Previously, of course, it is necessary to debug the database on the command line. In principle, to work with databases and content providers in the tasque, there is a SQL Query action, that's just to use it, not knowing the structure of the base (supplier), 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 R3m # 99486981)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.

Post has been editedR3m - 01.01.21, 15:56
Reason for editing: allocation in information about versions



Rep: (27)
Hello!
Knowing, tell me!
Can I make this thing?
To when connecting to a home network for Waffle in the settings ->My device ->
Lock Screen ->The screen lock changed for example - without protection.
And when losing a connection with a home network, for example, a PIN code or face disposal is exhibited.
The bottom line is this.
I came home the lock was removed, she left home it turned on the machine.
And then there is a lot of time to enter the code and the person's disposal does not work every time the muffled light, for example, you watch a movie ...
In general, I think the thing would be very comfortable.
It rummaged in a tasker but nothing like that did not find a screen-related screen.



Rep: (872)
IP-2014 @ 04/02/2014, 18:02*
It rummaged in a tasker but nothing like that did not find a screen-related screen.

Look towards Secure Settings (plugin) Keyguard Disabled

Post has been editedsergr59 - 02.04.14, 20:24



Rep: (0)
Good day! Tell me, please, can this program be implemented by this program: with an incoming SMS (better on the filter) to include data transfer for a certain period of time? If not, what program is possible? The idea is that after paying a credit card of the purchase, when SMS comes from the bank (PrivatBank Ukraine), the data transfer has been turned on and the map of the map on the Any Balance widget also updated. Thank you.



Rep: (0)
Guys, tell me how to start the program shortcut using a tasque. There is a Quic Boot program, you can make a label from this program, which will be turned off the phone. So I want to launch this shortcut. Well, or MB somehow you can cut the phone with built-in means of tasker?



Rep: (825)
Smersch1976 @ 04/02/2014, 21:12*
Good day! Tell me, please, can this program be implemented by this program: with an incoming SMS (better on the filter) to include data transfer for a certain period of time? If not, what program is possible? The idea is that after paying a credit card of the purchase, when SMS comes from the bank (PrivatBank Ukraine), the data transfer has been turned on and the map of the map on the Any Balance widget also updated. Thank you.

can be very simple ... and the meaning? When paying comes SMS with payment and current residue ... Create a profile for the arrival of SMS from the Privata number (+380920003700) ... Parsiste her tasker to the balance value ... Further you want statistics, you want to build graphs ... Want to pebble Balance output ... Want through ZOOM, ZOOPER, UCCW and it is similar to withdraw data in the form of a widget and no Ineta needed (I'm on the old smart, it is displayed through Minimalisctic Text Balance of Phone, Privata Balance, Current Fuel Card balance) ... Yes options mass :)
Attached Image


P.S. In the subject, everything is ...

Post has been editedusername11 - 06.05.16, 18:56



Rep: (27)
Sergr59 @ 2.4.2014, 23:23*
Look towards Secure Settings (plugin) Keyguard Disabled

Put Secure Settings, in Actions / Plugin / Secure Setting / Actions / Keyguard
It is now included.
There is turned off and some other item.
But this keyguard turns on and off does not understand.
Can anyone explain ???
And another question ...
Need something in Secure Setting In addition for Tasker?
I just put it from the market looked and closed without changing anything.



Rep: (601)
IP-2014
You need to do two tasks:
Enter Task:
Turn off protection:
A1: Variable Set [Name:% PIN TO: 0 Do Maths: Off APPEND: OFF]
A2: Secure Settings [Configuration: Keyguard Disabled Package: com.InTangibleObject.securesettings.plugin Name: Secure Settings Timeout (Seconds): 0]
A3: Secure Settings [Configuration: Clear Password Package: Com.intangibleObject.SecureSettings.Plugin Name: Secure Settings Timeout (Seconds): 0]

Exit Task:
Enable protection:
A1: Variable Set [Name:% PIN TO: 1 Do Maths: Off APPEND: OFF]
A2: Secure Settings [Configuration: Keyguard Enabled Package: com.IntangibleObject.securesettings.plugin Name: Secure Settings Timeout (Seconds): 0]
A3: Secure Settings [Configuration: Lock Device Package: com.InTangibleObject.securesettings.plugin Name: Secure Settings Timeout (Seconds): 0]
A4: Secure Settings [Configuration: Set Password Package: Com.intangibleObject.SecureSettings.plugin Name: Secure Settings Timeout (Seconds): 0]

The PIN variable is needed in order to either turn on the pin lock, or disable. That is, when% Pin is 0, then the lock is removed when% Pin is 1, then the lock turns on.
Blocking I have a 4-digit pin code. At the expense of other types of blocking, I did not experiment.

You can activate with any ways, I activate with WiFi, that is, if I connected to home Wi-Fi - PIN code is deactivated, when disconnected from WiFay, PIN is installed. PIN need to set in Secure Settings

Post has been editedusername11 - 06.05.16, 19:28
Reason for editing: merged posts



Rep: (825)
In a hat

Mishgansp @ 04/02/2014, 22:17*
Well, or MB somehow you can cut the phone with built-in means of tasker?

In Run Shell, register: AM START -N Android / com.android.server.shutdownActivity
Use root!
The recipe is based onTasker (Arkkor post # 27194872)
Additional call parametersTasker (post username11 # 35551939)
Adding for Android 5.1+Tasker (post username11 # 50010893)

Post has been editedusername11 - 15.08.16, 09:17
Reason for editing: adding true, starting with 5.1, and not with 6.0



Rep: (2512)
CESSI Specifically in the status panel in android can only withdraw the icon. Tasker already has one, respectively, you can only change it with the SET Tasker Icon. When you want to display text, you get a picture for it, install this picture as icons. But, usually, in the tasker do wrong. At all. Make a transparent scene, place it on top of the status panel, in the scene will bring everything you need.
IP 2014 The KeyGuard action turns on / off, Uh-uh, KeyGuard. This is an application that runs when the machine is turned off. Accordingly, if the screen is turned on, you will see it.
kos_DHD You still forgot to mention that the screen must be turned on, Keyguard to prohibit, change its settings, turn on back.

Post has been editedusername11 - 06.05.16, 19:38



Rep: (255)
Please do not scold. Explain someone please how to make a task label on the desktop with a changing icon? I tried everything! Examples from the header tried, I do not work for me.
I suffer all day. In action icon, when trying to choose the name of the widget, it writes that on the desktop it is not a twidge name, although it is there .. there is some kind of stupid yourself :(

Post has been editedCESSI - 03.04.14, 17:26



Rep: (1593)
Cessi @ 04/03/2014, 18:19*
Even some stupid feel
Well, it means the movement in the right direction is present:
)
Cessi @ 04/03/2014, 18:19*
How to make a task label on your desktop with a changing icon?
For the task label, it is easy for a task widget - action Tasker \ SET Widget Icon



Rep: (872)
Sorry for the annoying, but probably, as usual is done widget
Attached Image

Attached Image

But then to change the icon on the table, you need to create a widget again? Because it changes in a tasker, but there is no repair.

Post has been editedsergr59 - 03.04.14, 18:17



Rep: (1593)
Sergr59 @ 04/03/2014, 19:06*
But then to change the icon on the table, you need to create a widget again?
Yes



Rep: (27)
sergr59, , username11,
Here I found on the official website.
http: //securesettings....terkeyguardreplacement
But or I understand English so badly or there really is nothing about what you need to turn on the screen when you turn on / off KEGARA.
Explain Be kind for the usual user words.
Or on the example of type 1 - turn on the screen 2 - turn off the Caigard 3 turn off the screen and why so.
I did it like this ...
Enter Task:
Turn off protection:
A1: Secure Settings [Configuration: Keyguard Disabled Package: com.IntangibleObject.securesettings.plugin Name: Secure Settings Timeout (Seconds): 0]
A2: Secure Settings [Configuration: Clear Password Package: com.intangibleObject.SecureSettings.plugin Name: Secure Settings Timeout (Seconds): 0]

Exit Task:
Enable protection:
A1: Secure Settings [Configuration: Keyguard Enabled Package: com.IntangibleObject.securesettings.plugin Name: Secure Settings Timeout (Seconds): 0]
A2: Secure Settings [Configuration: Set Password Package: com.intangibleObject.SecureSettings.plugin Name: Secure Settings Timeout (Seconds): 0]
A3: Secure Settings [Configuration: Lock Device Package: com.InTangibleObject.securesettings.plugin Name: Secure Settings Timeout (Seconds): 0]

As I understood the manual above, you first need to turn on Caigard then put the password, and if you need to delete the password, you must first turn off the Caigard.
Fore the gurus if something is wrong ...



Post has been editedIP 2014 - 03.04.14, 18:59
Reason for editing: Added profile description.



Rep: (7)
Colleagues Fortunately to use Tasker, tell me plz. What happens to tasks If the conetecst does not match the task execution?

The periodic synchronization task tied to the state turned off the screen so as not to tear the Internet when I use a device, for the test put the BEEP signal into the body:

Profile: ENERGYSAVE

Context: The screen is turned off

ENERGYSAVE ON
EXIT: STOP ENERGYSAVEON

But for some reason, when the Tasker screen is enabled, the ENERGYSAVEOON task is performed and the BEEP signal is distributed.

Explain pliz what happens if the context changes? Does the task be completed to the end or it just stops where it caught the change of context?



Rep: (1593)
Ruslan @ 04/03/2014, 20:49*
Just stops where it caught a change in context?
The profile (by contexts) only launches the task and "forgets" about it, so that it either afterces it, or is interrupted ("killed") from another task (for example, the output) by the Total Stop.



Rep: (47)
Tell me how to create a task using Secure Settings to, for example, when you turn on / off AIRPLANE MODE - Bluetooth alwaysremained inclusive? It is very necessary to set up, but I can't understand how. (

Post has been editednayrogi - 03.04.14, 20:13



Rep: (1593)
Nayrogi @ 04/03/2014, 21:12*
To, for example, when you turn on / off AirPlane Mode - Bluetooth always remained enabled?
It seems to me that it will only work on Bluetooth (WiFi) after switching to AirPlane Mode, so that the condition does not change ... can not believe.
See another description of the AIRPLANE RADIOS action (and then it is with reservations) I think it strongly depends on the android / firmware version.

Post has been editedVityaPda - 03.04.14, 21:03
Reason for editing: added



Rep: (121)
Many options have already tried. This is the stop from the output task does not work. The main task is running, but it fails to stop it and restore the value of the call volume to the initial value. Tell me why?
As a compromising line A7, but somehow is noticeable, because if the call is received in the next few seconds, it will pass, regardless of whether it was in Favorites or not and immediately at a high volume level
Profile: call_faV (4)
Restore: no
State: Call [Type: Incoming Number: C: FAV]
ENTER: INCREASEVOL (5)
A1: Variable Set [Name:% VVV To: 0 Do Maths: ON Append: Off]
A2: Variable Set [Name:% OLDVOLUME TO:% VOLR DO MATHS: OFF APPEND: OFF]
<loop2>
A3: Variable Add [Name:% VVV Value: 1 Wrap Around: 0]
A4: Ringer Volume [LEVEL:% VVV Display: OFF Sound: OFF]
A5: Wait [MS: 0 Seconds: 2 Minutes: 0 Hours: 0 Days: 0]
A6: Goto [Type: Action Label Number: 1 Label: Loop2] IF [% vvv< 8 ]
A7: [x] Ringer Volume [LEVEL:% OLDVOLUME DISPLAY: OFF SOUND: OFF]

EXIT: Restore Vol (2)
A1: Stop [WITH ERROR: ON TASK: INCREASEVOL]
A2: Ringer Volume [LEVEL:% OLDVOLUME DISPLAY: OFF SOUND: OFF]


Post has been editedso-ba - 03.04.14, 23:00



Rep: (255)
That's silent. Maybe someone will come in handy. With an incoming call, there is an operator / city from where the call is going on. On the end of the conversation, the display will disappear.
Profile: Operator (6)
CATOR: Call [Type: incoming number (number): C: Any]
Initial: Search and Conclusion (3)
A1: Install AC. [Name:% Sach to: 1 Calculate Mat. Express .: Turn off Add: Turn off]
A2: Read the string [File: Datas / Baza.txt Row number:% SACH Variable:% NOM]
A3: Dismember EC. [Name:% NOM Separator: Delete source database: Turn off]
A4: Show Scene [Name: Notification Display As: Overlay Horizontal Position: 100 Vertical Position: 0 Animation: SHOW EXITTON SYSTEM: Turn off immediately continue the task: enable] if [% CNUM ~% nom1]
A5: Stop [With an Error: Turn off Task: Search and Conclusion] If [% NOM ~ EOF | % CNUM ~% nom1]
A6: Add to AC. [Name:% Sach value: 1 reset at: 0]
A7: Go to action [Type: Action Number Number (number): 2 Label:]

Ultimate: Hide Notification (2)
A1: Destroy Scene [Name: Notification]

ZY In the scene, withdraw the variable% nom2

Instruction:
Create a "Datas" folder on the memory card. It copies the text file from the nested. In the text file, change the codes masks on your own in the same format as I have. As a result, with an incoming call to the middle of the status string, either a city either a city or mobile operator will be displayed (depending on what they wrote in .tcht file)
Attached filebaza.txt(342 bytes)

Attached fileMy.Prj.xml.(4.41 KB)


Post has been editedusername11 - 06.05.16, 19:47
Reason for editing: merged posts


Full version    

Help     rules

Now: 13.01.21, 12:45