> 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.11.13

Last update of the program in the header:15.01.2021

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.11.13 from 15/01/2021 (IMIKED)
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).

17. I can not switch the WiFi status, resize the screen size (action Display Size).
Google has changed the way of work Android for API 29 applications, so Tasker starting from version 5.11 cannot switch WiFi.Read more
This problem is solved by installing the companion application Tasker Settings fromthis postorfrom here.
Be sure to eliminate the Tasker Settings application from battery optimizers (FAQ Question 15 relative to this application).
The author cannot download this application in Google Play. It is focused on the API 21 (so switching WiFi still works with it) and Google allows applications only oriented on API 29 and above
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 - 18.01.21, 16:05
Reason for editing: Added paragraph 17 in FAQ



Rep: (402)
VityAPDA @ 06/01/2014, 22:05*
Aleph4, I will add kuusername11 @ 06/01/2014, 19:26 The protocol of plugins is not a unique feature of Tasker, he, in general, was made for Locale. This protocol is supported and Llama - Location Profiles and Automagic * Automation (from what I know)

Thank you! Probably still have to write a plugin :), nothing is difficult to do that I do not see.


VityAPDA @ 06/01/2014, 22:05*
I'm trying to persuade the author unique (for two-sickens especially) program В® root call manager to add plugin - while he only made starting with the transfer of the Tasquera parameter
He doesn't have any API now, which means it only he can do :) But in general, a simple API with a BroadcastReceiver, which is processed by the IntentService, is written very quickly - no days, but even hours (I have 3 hours, the rest of the time Other rules in the prog). Perhaps a man lazy or he believes that there will be no return. Try to talk about the fact that users will noticeably add :) - Tasker - and there are a lot of them




Rep: (692)
Created a profile when launching specific programs to turn on Wi-Fi. How to do so what would he not be shown when the file is loaded, for example, through the browser, after going to the desktop?

Post has been editedras_fyah - 02.06.14, 10:26



Rep: (825)
* ras_fyah In the profile settings, remove the checkbox with Restore Settings

Post has been editedusername11 - 01.06.16, 13:37



Rep: (692)
* myxa781 For sure, the problem with this decided. Now the snag in the other: now on the contrary it does not turn off after loading

Post has been editedusername11 - 01.06.16, 13:38
Reason for editing: changed link to post



Rep: (825)
Ras_fyah @ 02.06.2014, 12:34*
Now vice versa does not turn off after loading

1) catch notification - Download Complete
2) Logcat (maybe)
3) there are still different options ... for exampleTasker (post # 13214182)... although there is still .... :)

Post has been editedusername11 - 01.06.16, 13:38



Rep: (2512)
* Aleph4 , 1. Not, let's not send each other. Even read docks. I explained to you why there are no mechanisms except for intent. If you do not want to explain, give a link to a specific place in the documentation.
See to use resulreceiver.send (), you need to create an instance of the resultReceiver class, specify Handler. How will we get a link to a remote copy of ResulReceiver or Handler? To use message.sendtotarger () or handler.sendMessage (), you need a link to the same handler. Of course, they are both parcelable, but you will pass them as you? Through the intensis? Why then the whole garden? In general, it's all for local exchanges, inside the application. Now consider Service. From the third-party application, you can run (StartService method), you can connect to it (BindService method). Both methods require an intent to indicate the service. Thus, the intensists appear again. This is not surprising. In fact, the intensis is the easiest and most convenient way to exchange information between different applications in Android.
I admit that I could easily skip something, so I ask you.
What you are trying to offer is called synchronous data exchange. Such in the android between different applications can only be strongly limited. Only StartActivityForResult and ContentProvider arrive at the mind. And for the planners-planners, this is generally not an option - they are fundamentally asynchronous inside, and the excessive thread for exchanges with plugins is too consistent.
In general, the protocol of plugins is very successful, which is why he survived Locale and was adopted by other schedule programs. Its probably can be improved in separate places, but the concept itself is unlikely to improve.
2. I want to note that you somehow strangely interpret facts. See
Aleph4 @ 06/01/2014, 22:13*
It is not that compatibility is not - because this XML file has version number

First, where did you get that not? And there is. Secondly, and what I, as the user, sense from this. My profile is not exported or exported, but does not work. I will not understand versions, read this XML ...
Therefore, I once again advise you to post a description of the profile in the Description format. Yes, it is impossible to export it by pressing one button. But you can always "export" profile by pressing several buttons. It will be necessary to include mosk, of course.
Aleph4 @ 06/01/2014, 22:13*
It seems to me not very faithful way where the HTML site is

CWP does not specify what to take from the site, HTML, XML, JSON, the values ​​of sensors via Telnet, etc. In the fact that most plugins take HTML, the sites themselves are to blame. Most of them strongly limit traffic to non-HTML-content, or, in general, out of HTML only the primary forecast that is not interesting to anyone. Typical situation: in fact -20, the site issues -20, and through XML - -10, i.e. Primary forecast. There, too, not fools, they understand that the user advertising via XML is not to drive.
If you are a parser "XML or JSON" and only them, you have problems with popular weather sites.



Rep: (2)
I found the solution to automate the access pointTasker (post d4bblr # 31780416)can someone come in handy.

1. The smartphone is connected to the WiFi network when the connection disappears - the access point with the distribution of the mobile Internet is activated;
Profile: Wifitether (16)
State: WiFi Connected [SSID:123456 Mac: * IP: *]
ENTER: WIFIHSOFF (12)
A1: WIFI TETHER [SET:Off ]
A2: Mobile Data [SET:Off ]
A3: WiFi [SET:On ]

EXIT: WiFihotSpot (11)
A1: WiFi [SET:Off ]
A2: Mobile Data [SET:On ]
A3: WIFI TETHER [SET:On ]


2. When the smartphone sees the familiar WiFi network, the access point is turned off and the WiFi turns on.
Profile: Test (24)
State: Wifi Near [SSID:123456 Mac: * Capabilities: * min. Activate Signal Level: 1 Channel: 0 Toggle WiFi: OFF]
ENTER: WIFIHSOFF (12)
A1: WIFI TETHER [SET:Off ]
A2: Mobile Data [SET:Off ]
A3: WiFi [SET:On ]


The only minus of this method is the increased battery consumption at the WiFi Near scan, you can make a similar solution through "Cell Near"

Post has been editedusername11 - 26.05.16, 16:47
Reason for editing: Added link to post with problem



Rep: (2512)
* d4bblr , 1. How is the context of WiFi Near [Toggle WiFi: OFF] something finds? You did not describe the working conditions of the profile completely. 2. You have two different tasks named "WiFihSoff (12)". So the tasker does not happen. 3. The input task of the "WiFitether (16) profile" works strictly after the input task of the profile "Test (24)". So it contains extra action. 4. From the task "WiFihotSpot (11)" it would be good to get rid of, it is not needed.



Rep: (2)
Username11 @ 06.06.2014, 19:57*
1. As the context of WiFi Near [Toggle WiFi: OFF] something finds? You did not describe the working conditions of the profile completely. 2. You have two different tasks named "WiFihSoff (12)". So the tasker does not happen. 3. The input task of the "WiFitether (16) profile" works strictly after the input task of the profile "Test (24)". So it contains extra action. 4. From the task "WiFihotSpot (11)" it would be good to get rid of, it is not needed.


1. I didn't quite understand what you had in mind, tested on my device, everything works.
2. The tasks of "WiFiHSOFF" are two, because the export of the first was made before I made changes to it (the first just inserted a copy-paste from my second post), it does not change the essence, I only added to turn off data transmission over the network.
3. I agree, edit.
4. Do you propose to check the status of a WiFi connection via variable?

Both WiFihotSpot and WiFihSoff and WiFihSoff tasks were made as labels for manual inclusion, I only involved them in a common profile. I think the people who she will come in handy, commemorate her for themselves.

Post has been editedd4bblr - 02.06.14, 19:46



Rep: (2512)
* d4bblr , 1. Yeah, works. No one doubts. Question. How does it work if WiFi is turned off? Either you still manage this profile, or the appropriate setting is worth it. It must be specified in the post so that the rest do not guess. 2. It is clear that the essence does not change. However, the one who will look at your profile may happen the template break. Edit the name, and that's all. No one will check that the names inside your device and in the post are different.



Rep: (402)
username11, Let's go to LAN if you are interested in, otherwise we are clearly here - hard to people who ask something on Tasker Interesting Questions of Prog Communication in Android and our usually long posts.
As for ResultReceiver, then there you put in Extra intent your custom class heir ResultReceiver, and the recipient pulls it out of the intent and uses as an object of the resultreceiver class. Here is a simple example in responsehttp: //stackoverflow.c...ultreceiver-in-android
As for Service, the Intent is needed there only for Binda, then all communication with the intent service no longer requires, and everything goes through Messenger.

In any case, I already work for a plugin (Action + Condition) :).

Post has been editedAleph4 - 02.06.14, 21:12



Rep: (2512)
* Aleph4 Well, will continue in a personal.
The rest of interest , then I will summarize, agree with Aleph4 , those pieces of discussions that we consider useful / interesting to all. I will lay out them in this message.
Spread , as I have promised.
An example from the link does not work between the packages, only locally. If you try to run it, it turns out something like thishttp: //stackoverflow.c...ceiver-across-packagesThe discussion on the link offers two ways: use the shared Class Loader or convert the resultReceiver class subclass instance to an instance of the ResultReceiver class.
So, in order to use the ResultReceiver for exchanges between packages, we need to know quite a lot about each other. I would say unnecessarily a lot.
Several references with the discussion of various IPC mechanisms:
https: //groups.google....tswg1czcg/of2pwcidsnwj.
http: //stackoverflow.c...ultreceiver-in-android
From the extensive collection of manuals written by Lars Fogel,http: //www.vogella.com...dservices/article.html.
After studying the links there is a very interesting picture. It is known that the Android has a very developed interprocessing interaction system, IPC based on the Binder mechanism. It allows you to organize a transparent remote procedure for the procedures in Java or C ++ (RPC), as well as transmit objects between processes, for example, an object type resultReceiver. However, Java does not have built-in RPC support and dynamic type system, i.e. You can not construct a type on the fly. Moreover, since Java is a java with strict typing, we will hurt to give hands when trying to play the typisation of dynamic. Google allows you to do something, and something is not. Thus, we have in the Android universal Binder mechanism, limited to language capabilities. In principle, it is not surprising if you remember that Binder was developed by the startup Android, Inc., and Java was littered with Google. The latter was already not up to architectural delights, it is necessary to work.
Therefore, if both applications know about the class of the transmitted object, you can transfer it from one application to another. If not, alas. The problem is that if we know the class, we know and its structure, we can transfer information by going around only by simple types.
For most Tasquera / Locale plugins, the service is not needed, they are perfectly coping with their task within the receiver. This is another consideration, why only intensives are used there. And only simple types. Link, for discussion in office tasker for developershttps: //groups.google....vff8smvne/xab1drvhmrij.Why not get involved in services.

Post has been editedusername11 - 01.06.16, 13:55



Rep: (43)
On Android 4.4.2 Tasker as necessary killed the program "Voice Assistant Dusya" and after that the program did not show itself, I will not need it.
Switched to SM11, Taskera remained the same profile as before, but now after stopping the application, it immediately re-on. Normally can only be stopped from the Task Manager of some.
In a tasker to stop the application, use "Stop Use Root" application "
How to kill the process on cyan?

Post has been editedsveloga - 03.06.14, 16:41



Rep: (34)
Tell me how to make the screen on the phone while calling?



Rep: (259)
Ardzhan @ 06/04/2014, 10:00*
Tell me how to make the screen on the phone while calling?

Can System Lock? Bodies blocked ...



Rep: (2512)
* sveloga , AM KILL / FORCE-STOP / STOPSERVICE.

Post has been editedusername11 - 01.06.16, 14:00



Rep: (2512)
Cap 28.03.2016
Tasker
Version: 4.8U1stable/ 4.8B4.beta

Last update of the program in the header:04.02.2016


screenshots
Branch 4.x.
Attached Image
Attached Image
Attached Image


Branch 1.x.
Attached Image
Attached Image


Short description:
Performing actions on events.
Description:
Advanced planner. Allows different events to perform actions / action lists.
Looks likeLocale , Automagic,Automateit , Macrodroid , E-robot , Llama , EasyProfiles , Dessin, Condi (Mini Tasker), Atooma, Swip, AUTOMATE (Automatic Tasks)only much more powerful. It is possible to create widgets with an arbitrary list of actions.
Alternative Description (from username11 ):
Problem-oriented scenario language that allows you to program in android without knowing any programming languages ​​and without programming skills in general. © ©

Homepage : http://tasker.dinglisch.net/
Google play : https: //play.google.co...glisch.android.taskerm

Download (Stable): (Android version ≥4.x)
Version: 4.8U1m Tasker (post alex0047 # 46827926)
Version: 4.8U1 Tasker (post alex0047 # 46827926)
changes: http: //tasker.dinglisc...hanges/changes4.8.html.

Download (Beta (new)): (Android version ≥4.x)
Version: 4.8b4m. - Tasker (post alex0047 # 44829444)
Version: 4.8B4. - Tasker (post alex0047 # 44829444)
changes: http: //tasker.dinglisc...anges/nextversion.html

Download (Stable): (version of Android<4.x)
Version: 1.6u2m
Attached fileTasker_1.6u2m.apk(1.34 MB)
(Pure not a broken version from the market)
Version: 1.6u2
Attached fileTasker.1.6u2.apk(1.34 MB)
(version with encryption support)
Method "Receive"registration (not a market version)(If you crawl when you try to enter the code, try thisversion of)

Russian translation:
Download (Stable): (version of Android<4.x)
Version: 1.6U2M, 1.6U2
Tasker (Post Drum # 38518964)

Explanations by versions
m - the net market version works without checking the license, i.e, it is not necessary to break it)
(version without an indexm It has the same functionality plus encryption support, not a broken, not a market version, i.e, it is necessary to "break" - method of "getting" registration / If you crash when you try to enter the code, try this version of
b - Beta. Beta in this branch Do not discuss , their "support" and advice answers is engaged directly developer, but it does not appear here!



Before reading the header, it is recommended to read: "how and what to look for in the subject"

ATTENTION!!!
Attached ImageATTENTION! Attached Image

1. This topic adheres to the general rules of the forum and asks them all to observe them. Additionally, the topic has the following rule:
1.1. All pictures in messages must be hidden underspoiler. The exception is made only for the first two posts, with the top of the topic and the old head of the theme.
Comment:This topic is not strictly moderated, messages that violate the rules will not be immediately deleted. However, it is known that some theme participants ignore messages with violations, so you risk not getting an answer to your urgent question or get an incomplete answer to it. And it is still unknown that worse.
2. If you do not have time and / or desire to read all the topic pages, then for a start, use the search function on the topic (in 90% of cases you will find either a clear answer, or the direction in which you need to move).
3. Even to implement the simplest tasksdesirableHave at least the initial skills / concepts associated with programming (even if it is very remote).
But if you do not possess, but I really want to realize anything, you can not possess. Even initial. At all.
Note:It is preferable to use the English locale in Tasker (i.e., the English Tasker, because the translation in some places can be confused you, tale on the false path, make tearing hair there where they still have TD ...)
Example of "Russian" Locali
Attached ImageAttached ImageAttached Image
As you can see - call it Russified difficult

4. Newbies, always start with the "library" and "local" ready-made solutions.
5. By specifying the question and getting "vague", as you think, the answer, read it again! This topic is quite a self-sufficient and peculiar body. As a rule, in each answer, "anchors" words are contained, hooking which in the "search", you will find a sufficient number of answers, and sometimes 100% ready-made solutions ...
6. A clearly formulated question with all-all-all nuances increases the chances of promptly get an answer.
7. If you can't write my profile yourself, and you want to contact the topic for help:
- describe the task you as much as possible, which you want to solve, and your problem, i.e. What exactly does not work. Different people do not work in different ways, you know.
- Be sure to post what has already happened, in datadescr.txt / userbackup.xml.txt / export description (seeF.A.Q). This "that" does not necessarily have to have at least some relevance to the question. We need to know at least the degree of your dating with Tasker and the level of your skills in programming. Otherwise, the risk of getting a response that cannot be understood. Yes, if nothing has not yet succeeded yet, it means that you do not want to write a profile. If you think a little, you agree with the latest statement

Opportunities
List of basic events
- Tracking application service activity
- Start and shutdown application
- Start the selected Activity application (long tap on the application in the selection list)
-Master user assistance in an application or 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


***

- entrance to the geographic area (determined by GPS or cell phone towers and WIFI access points) and exit from it
- Connect the device to a specific cell tower (from a predetermined list of towers)
- establishment and disconnection in particular mobile data transmission mode: 2G, 3G, 4G, and other
- achievement and loss of a certain level of cellular signal reception
- detection of a specific (or any) WIFI access point, connection to it and disconnection from it
- on and off the mode "in the plane"
- Enable and turn off the Bluetooth adapters, NFC and WiFi
- connection to the Ethernet network and disconnection from it

***

- hardware keyboard events (open-pushed / closed-pushed)
- pressing of some hardware keys, including those located on the headphones (wired or wireless)
- 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
- Getting SMS (MMS)
- Successful SMS sending (MMS) and error when sending it
- missed call, SMS (MMS)

***

- Events from various built-in sensors (illumination, approaching object, orientation, movement, magnetic field, pressure, temperature, humidity, pedometer)
- 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
- turn on and off screen saver (Android Daydream)
- connect to computer via USB bus and disconnect from it
- connect USB devices to the device and disconnect them
- Connecting and disable SD card

***

- 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
- creating, changing and deleting a file on the SD card
- Connecting and disable wired or wireless headphones, Bluetooth and USB devices
- 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 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 of notifications from the application in the system notification panel and the user selection of such notice
List of basic actions
- control mode "in the car"
- management of the "in the plane" mode, incl. selective shutdown of radio modules

***

- Volume control, incl. Separate threads: Call, Tonal Dial Signal (DTMF), call on phone, incl. via bluetooth headset, alarm clock, melodies, notifications
- Rington playback management and vibration with incoming calls

***

- answer the incoming call ("pick up")
- control of the silent regime
- Manage Screen Settings: Brightness, incl. The mode of automatic brightness, orientation, the duration of the inactivity period before blocking, incl. If there is a charging
- Creation of information on screen characteristics: screen sizes, its permission, the current automatic orientation setting

***

- 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 audio support mode of clicks on hardware and software buttons, tactile navigation mode (HAPTIC FEEDBACK)
- LED control, incl. LED backlight mode when displaying notifications by Android and third-party applications
- management of the night mode

***

- Turn on and off the Bluetooth, NFC, WiFi, WiMAX, GPS adapters, mobile networks, including management of data transmission modes in the mobile network
- Obtaining network connection information (connection type, availability of access to mobile data transmission), on WiFi network parameters (adapter MAC address, signal level, access point name), Bluetooth, Ethernet
- setting the device name on the bluetooth network
- Enable and disable various data transmission modes via NFC, incl. Android Beam and NFC Payment

***

- [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
- getting information about contacts in the phone book

***

- download links in the browser
- Starting applications, incl. Call logs, contacts (with a selection of specific contacts), cards (with a choice of a certain location), the input language selection dialog, applications that ensure the separation of Internet traffic over the USB bus and WiFi (TETHER)
- Getting information about installed applications and application components (Activities, Services, Receivers)
- Control of the notification panel: its output and folding
- Interrupt Mode Mode Management
- Adding a new 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: name, performer, playback time
- activation of vibration, incl. according to a given pattern
- control of the built-in microphone, incl. sound recording from it
- Operations of directories and files: creating, copying, moving, reading (receiving a list of files in the case of directories), checking the existence of a file, reading file attributes: size, access rights, modification time, recording, deletion, archiving in zip archive, removal from ZIP archive, encryption and decoding)
- Working with images: resizing, trimming, rotation, filter application

***

- setting the default ringtones for calls, alarms, notifications
- determination of the current location (by GPS or by cell towers and WIFI access points)
- connection to the Ethernet network and disconnection from it
- output of messages, ordinary and pop-up dialogues, menu, lists (in reality, it is possible to build arbitrary graphic user interfaces by 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
- Obtaining an identifier of the current user

***

- 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
- photography
- 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 list are far from full. First, the set of events and actions of the tasker can be expanded by connecting third-party plugins, thousands of them. Secondly, using the emulation of hardware and soft keys or running scripts to Shell and SL4A, you can make almost any action. And besides, there is still a reception and parcel of intent.
Scenes
Scenes allow you to add a graphical user interface to tasks. That is, if you dreamed of orange buttons on a raspberry background, Tasquera scene - exactly what you need to embody your dreams.
In fact, the raspberry background, of course, no one uses. Nearly. But, for example, make a transparent window background, lay the window to place over the status string, and in the window display the text with the battery charge itself. Mustache? Still would.
List of interface elements
- Button (with text and / or icon)
- Checkbox (checkbox)
- Tag (text)
- Rectangle and oval to draw the frames and not only
- Field for entering text
- Dialog for entering numbers (Number Picker)
- List with solitary selection (Spinner) and multiformization (MENU)
- Slider
- Switch (Toggle)
- picture
- Figure (Doodle), i.e. You can draw quickly something with your finger, and then issue a work of art. In general, caricature, she is caricature.
- Window with a map (from the Google map application), i.e. In a tasker, you can write your frown maps
- Browser window, i.e. You can write your frown browser in the tasque

We take the elements of the interface listed above, combine differently, set the width, height, color, so that it is obstacle. Such a set is called the scene.

1. We start with scene size definition (Scenes tab), press (+) We enter the name of our scene, then in the visual editor of the scenes we increase / reduce the area of ​​the scene to the sizes you need
2. Now we can fill the created scene with your elements.
Attached Image


In the screenshot above the image of the radio (all these buttons, wheels, the orange screen in the center) is set by the background picture for our scene (Set As Background). The interface elements with a transparent background are added to the scene (dotted lines in the picture - the boundaries of the elements). To create a more realistic interface (draw a press key, for example), you will have to draw a picture for each graphic element (in several options, pressed and not pressing the button). And these pictures set the background for each element separately, then the scene background can be pouring in one color.
4. We squeeze the buttons (Text). On the screenshot below - the dialogue of the Tasker dialog for editing the LIGHT button (it is in the center of a number of buttons located immediately under the orange screen). On the buttons assign action to taste on Pressing (TAP), long press (Long Tap)
Attached Image


5. The location of the elements can be assigned separately for landscape and portrait modes.
6. Variables are available in scenes, as seen in the screenshot displaced% of the current brightness, the charge level and voltage, the current time is displayed, the name of the track played in Poweramp, its codec, bitrate, and so on.
All keys are linked to the launch of specific Tasker tasks.
Attached Image

7. The output of the scene is carried out from the task of the action of SCENE->Show Scene (There are several output options)
8. Call the scene through EXIT Button (X), or the action of SCENE->Hide Scene (Destroy Scene) from any task (this, including, is determined by the method of its output).
9. Changing the task in the body the values ​​of the scene elements, you can dynamically change their position, color, background picture, text, etc.
alternative description.
Frequently asked Questions

  1. AT:I can not install Tasker, what should I do?
    ABOUT:You put the version of Tasker below4.5And you have no com.google.android files .maps.jar and com.google.android.maps.xml (they can be found in this branch using the search, or search for firmware for your device).

  2. AT:How to import a project / profile / task?
    ABOUT:For importing, "Long Tap" is used on the relevant tabs: Profiles / Tasks / Progects (house)

  3. AT:Does the Tasker need root?
    ABOUT:For most of the functions - yes (many profiles laid out here require root). Some tasks require Tasker to be installed by the device administrator.

  4. AT:Half of the functions of the voiced in this branch can not find in its version of Tasker, many features are highlighted in red (not available), what am I doing wrong?
    ABOUT:Tasker manipulates a large set of action when editing and to somehow streamline and distribute in the interface everywhere is used long tap (and on the elements themselves and on bookmarks), as well as dragging with hold. In addition, to simplify the initial acquaintance with the default taskerMode for beginners ( Beginner Mode. ) In which some possibilities are not available (interface elements), mode can be turned off in Tasker settings.
    ABOUT: When discussing actions and contexts in the subject, usually used English interface Tasker (see Note to clause 3 section. Warning !!!). It is possible if you switch the interface language in the Tasker settings, missing functions are detected.
    ABOUT: Most of the highlighted red actions can be replaced by plugins, but usually the root will be required. (For example, the GPS action, inaccessible now on most devices, can be replaced by GPS Enabled / GPS Disabled SECURE Settings plugin.) It should be understood that after installing the plug-in, the action will not cease to be red, but the plug-ins will appear with the same functionality. In addition, especially for lovers to dig in the guts of the system in the topic are discussed all sorts of recipes, allowing to achieve the desired plug-ins, through direct appeal to the functions of the Android.
    Please do not ask in the thread when this or that action is returned to Tasker. He will never be returned. Use plugins.

  5. AT: I am asked to lay out the Run Log and / or logcat, what is it and how to get it?
    ABOUT: Cm. Small sports tricks , Secrets of debugging.

  6. AT: Is it possible to create a separate application .apk using Tasker?
    ABOUT: Yes possible, see Plug-Ins.

  7. AT: 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?
    ABOUT: Most likely it is better to contact Custom programs but if you still want your idea to be embodied precisely using Tasker, always a fresh price list is here At the end of the post - the 3rd paragraph

  8. AT: What makes Tasker different from other similar programs?
    ABOUT: 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:
    Include a silent mode at night (at the meeting).

    The remaining programs offer the following solution:
    event: night fell (meeting) ->enable silent mode
    event: morning came (meeting ended) ->turn off silent mode

    Stop! And why, actually, "turn off"? And if I had to turn on the silent mode before and need to leave the device in this mode, eh? It is clear that you need to restore the previous mode value. Unfortunately, the overwhelming majority of other programs do not know how to do this. Tasker is able. Here is a tasker profile:
    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

    In addition, Tasker allows you to implement almost any idea (though it is very often necessary for the implementation of ideas also ROOT rights).

  9. AT: Using Tasker managed to solve the task that could save our galaxy from death, how should I share the solution?
    ABOUT: Currently, we are lost contact with the intergalactic congress, but we are ready to share your decision with humanity! For this you need:
    - Share your solution under the spoiler in the form of datadescr.txt / userbackup.xml.txt / Export Description.
    - answer your questions on the profile, fix the errors found
    - Share a final solution for a spoiler in the form of datadescr.txt / userbackup.xml.txt / export description. You can also additionally post the solution and XML format if you want. In other words, the format is xml.txt iscompulsory , XML format - desirable .

  10. AT: I'm afraid to ask, but the search for datadescr.txt / userbackup.xml.txt / Export Description gives only a request to lay out my developments in this format, and how to do it ???
    ABOUT: Briefly described here
    Vividly here
    Attached Image

    P.S. Good request also to inform Android version and availability / lack of root ...

    Here it looks like what is needed to receive a board / answer:
    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:]


  11. AT: True, there are telepaths in this branch, which can give a clear answer to a non-fully formulated question?
    ABOUT: 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 discoveredHis branch! All questions are asking there!

  12. AT: 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?
    O (short): Can. Exit the profile editing window.
    O (Deployed): 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 leave the application, only a service will remain from Tasquera, which usually requires a lot of memory. The exact figure depends on the contexts you use and the actions, but rarely exceeds the pair megabytes. Maximum supposedly observed volume - 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. AT: 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?
    O: You can, think about what exactly your profiles do.
    It should be clearly understood, the Tasker itself does not occupy the processor, does not discharge the battery. All this makes user-written profiles. In the official manual there are special sections Power UsagePower 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. AT: I have a Tasker sees root, what to do?
    ABOUT: Solution options: 1 (Off .FAQ) 2 (in Russian)
Library, video tutorials, etc. ...
Short English-Russian word theme
task - task
action - action
setting - action-setting (used extremely rarely, and the Russian-language term is not entirely successful)
context
state - the state implies context, i.e. context state - [context] state
Event - event, the same comment as for 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.)
Plug-Ins.

Plug-ins (plugins)

- Secure settings(not recommended installation of broken PRO versions) (savagemessiahzine.com) In places duplicates the functions of the Tasker itself (but part of the functionality allows us to be much expanding its capabilities)[Root]
- TaskKill Tasker PluginStop applications[Root]
- Whatstaskerfriends tasker I.Whatsapp
- Locale SendSilentMail Plug-In (savagemessiahzine.com1) sending email (alternative solution) Another optionEmail me pro (savagemessiahzine.com)
- Tasker App FactoryAllows you to create a Tasker from the project - a full-fledged application (.apk) -archiveall versions
- Weather ACE(weather forecast),explanationfrom the author
- SSH Tasker Plugin.
- Adaptive Remote ControlPC Management
- Tasker nowInteraction Tasker - Google Now - SmartWatch
- Material Design Tasker. 1 , 2, 3, 4- create your UI in Material Design style
- Snackbar Tasker Plugin 1 , 2, 3
- RESTask for TaskerRestful Apis (Get, Post, Put, Delete).
- Large list of plugins and supported applications.

Plugins OT.joaomgcd (off.site) :

- Autocontacts (savagemessiahzine.com1)
- Autolaunch (savagemessiahzine.com1)
- Autovoice (savagemessiahzine.com1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19, 20, 21) voice control
- AutoRemote (savagemessiahzine.com1 2 3 4 5 6, 7) Multifunctional plugin allows you to implement remote control based on Tasker both via the Internet and via Bluetooth (you can make friends and make "communicate" taskes with each other)
- AutoNotification (1, 2 3 , 4(Maud) 5, 6Expands Notification Features (Notifications)
- AutoPebble (1, 2) Friends Tasker and Pebble
- AutoinputanalogueFrep (savagemessiahzine.com1, 2, 3) Plays pre-prepared actions (clicking on the screen in certain areas).
- Autocast (savagemessiahzine.com1)
- Autoshare

Plugins for building their widgets (integration with Tasker):

- Zoom
- zoom - Russified version
- Minimalistic text
- Ultimate custom widget (UCCW)
- ZOOPER WIDGET PRO. (savagemessiahzine.com)

Tasker & Lollipop (Android 5.X.x):

- Toggle Network Type 5.0 (root)1
- Toggle Data 5.0 V1.5.2.0 (1) - allows you to switch the mobile Internet in Android 5.0 through a tasker or widget

- Also, part of the XPosed modules has integration with Tasker:Xposed framework modules

The list of applications that have integration with Tasker.
Local solutions (examples)

пїЅAttached Image

  1. Widget Inclusion / Turning Office
    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)
  2. Execution of actions on a schedule (TIME Tasker Context)
    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. Notification of full battery chargeTasker (Post sumoto # 6268990)
  4. The output of active profiles on the desktop withMinimalistic text Tasker (Post LANstalker # 7008782)
  5. Disable the screen when the telephone 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. Shaking Management (Shake Tasker Event)
    6.1. Reset the incoming shaking and chime. Staging:Tasker (post Skrommmnjaga # 13261456)Decision:Tasker (Post MOPOK # 13271364)
    6.2. Shake ScreenshotTasker (Post Nukri # 33921486)
  7. Auto control WiFiTasker (Post rjlexx # 33556843)
  8. Chime to the last incoming roomTasker (Post skunsofob # 9357433)
  9. Reminder sound about missed calls and SMS every 3 minutesTasker (Post intro555 # 30478905)(See also Example 19 below.)
  10. Performing actions with a delay - a deferred launch technique (See Little Sports Tricks No. 6)
    10.1 Turning off Bluetooth, if there is no connection for 3 minutes Tasker (Tasker (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. Turning off GPS, WiFi, transmitting mobile values ​​and access points via USB when the screen is turned off (Tasker (Post by taganrog32 # 15805624)
  12. Task "Talking Watches" based on TTSTasker (Post Nukri # 16482906)modified versionTasker (Post Nukri # 40811001), another optionTasker (Post GigaMen # 39665630)
  13. Run the application "Camera" with full brightness on the "Search" buttonTasker (Post gameover19 # 16813469)
  14. Enable / Disable Application Widget (using Cyberon Voice Commander)Tasker (Post EvilShrike # 17198021)
  15. Rington playing with incomingTasker (Post skunsofob # 17329403)
  16. Inclusion of the regime "On the plane" at nightTasker (Post by taganrog32 # 17643467)
  17. Flashlight, just flashlightTasker (Post by javerin # 21687565)
  18. Lock screen when you call with a headset connectedTasker (Post tvv56 # 24317764)
  19. Reminder of missed calls and SMSTasker (Post tvv56 # 24317911)(See also Example 9 above.)
  20. Smooth zoom increaseTasker (Post tvv56 # 25412353)DiscussionTasker (Post tvv56 # 25402750)
  21. Notification when disappearing a cellular networkTasker (Post gameover19 # 28186341)
  22. Turning off the device when you reach the critical level of charging in picturesTasker (Post coolkaas # 24929040)
  23. Automatic answer to a call and a loud connection (see AUTROLY OPTION)Tasker (Post intro555 # 44254063)
  24. Voice invoice request account. Staging:Tasker (Post Stimuliator # 31750382). Solution (without using plugins):Tasker (Post Nukri # 31750978)
  25. Running the application voice (AUTO-plugins are used)Tasker (Post rjlexx # 33259309)
  26. When connected to the Wi-Fi home network, turn off the Bluetooth and screen lockTasker (Post KlgFinn # 36303973)
  27. Balance output card on the lock screen usingDashclock widget Tasker Extension. Tasker (Post by gavrila # 39827385)
    Attached Image
  1. The script marks all SMS as read, the script removes SMS from a specific number, deletes the sent from the folderTasker (Post Havl # 18852990)
  2. How to send e-mail from TaskerTasker (Post Oleg V # 21581197)(Alternative option, see Plug-Ins section)
  3. Enable and lock the screen on the Tasker approximation sensor (Tasker (Post Remie-l # 15007005)
  4. Enable WiFi Computer 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 the DVGET service when you enable / disable data transferTasker (Post Nukri # 15874032)
  8. The output of the traffic consumed over all windows. Staging:Tasker (Post Taganrog32 # 17432061)Decision:Tasker (Post by taganrog32 # 17436431)
  9. Lock the on-screen screen during a conversationTasker (Post intro555 # 31369886)
  10. Definition of the location of the device by remote requestTasker (EasyWorld Post # 31517883)
  11. Deferred 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 name from which the call is missingTasker (Post by keta22 # 24770624)
  13. Log batteriesTasker (Post coolkaas # 24951724)
  14. Emulation of car radioTasker (Post Arkkor # 25973066)
  15. Prior notice of exhaustion of the limit of free minutesTasker (Post by sergr59 # 27804376)
  16. Weather forecast voice outputTasker (post zurzmansor # 34347212).Another optionTasker (Post by ajm # 32677684)Falternative option based onWeather ACE Tasker (Post Aleph4 # 31856902).Another option -Tasker (Post ajm # 34565142).And more option - Current weather with Intellicast.com (for widget)Tasker (Post Graymax # 37077583)
  17. Notification on which SIM card / operator An incoming call on a 2-symphone phone and the inconsistency of operatorsTasker (Post by sergr59 # 35207240)
  18. Automatic answer to call and loud connectionTasker (Post intro555 # 44254063)
  19. Change desktop wallpapers (used java script)Tasker (EasyWorld Post # 39600695)

    Attached Image
  1. Getting the address of the place on its coordinatesTasker (Post v-oz # 39631433)
    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 for the authors of the decisions set out - whenever possible lead them to the current rules of the branch.
    Do not correct profiles (except typos) without prior notice and discussion in the subject!

- Currently, ready-made solutions in datadescr.txt / userbackup.xml.txt / Export Description are being accepted.
- Collection of solutions in the .xml format is located in the old cap (depending on the Tasker version used may not be imported)
Small sports tricks

MSH (small sports tricks)

  1. Debugging Secrets
    1. Debugging tasks or separate action
    Attached Image

    Do not forget to stop the certified task
    Attached Image

    And after everyone has been launched, also restart the Tasker service (long tap on the logo (gray icon = Tasker stopped), repeated long tap on the logo will turn on the tasker)
    Attached Image

    2. Visual debugging
    No one interferes with the use of Tasker's standard actions for debugging. First, you can always put debug information into a global variable, for example,
    Variable Set [Name:% Debug_Log to:% Times Debugging Append: OFF]

    and see in the variable window, which is equal to the variable% debug_log
    Attached Image

    You can even conduct a protocol, putting the append: ON in action above, but it often turns out to be more convenient to conduct a protocol in the variable-array
    Array Push [Name:% Debug_log Value:% Times Debugging]

    Those who are trapped often, can advise to make a task
    Task "Log"
    Array Push [Name:% Debug_log Value:% Times% PAR1]
    and call it in the debt profile
    Perform Task [Name: Log Parameter 1 (% PAR1): debugging]

    Secondly, at our disposal there are ready-made scenes caused by actions: Flash. Popup, notify. (Not, there is always an action Beep, and for those who understand the sense in perversions, andpigeon mail, Morse, but we will not use them for debugging.) For example,
    Popup [Title: Defiguration Text:% Times Debugging TimeOut: never]

    or
    Notify [title:% Times Debug Text:% Times Debugging Permanent: OFF]

    All this, of course, also asks for a separate task caused by Perform Task. Here, as usual, "better to lose two hours, then fly in five minutes," so reserve debugging procedures in advance.
    Popup, Notify, Flash
    Attached Image
    Attached Image
    Attached Image

    In all examples, the variable% MTRACK is displayed

    3. Debugging context trigger logic
    If the events for which contexts are activated, it is rare, and I don't really want to wait long, you can debug the logic on the alternative contexts of Variable Value or, in the case of event contexts, Variable Set. Take as an example context Time.
    CONTEXT STATE TIME [FROM 23:00 TO 7:00]
    task "Task"

    And what, we do not sleep, debug at night? Of course not. Create an additional profile
    CONTEXT STATE VARIABLE VALUE [% PDEBUG> 0 ]
    task "Task"


    Now you can change the variable% pdebug in the Tasquera variable window, observe the profile operation logic. And if you want to see how the logic of your profiles works when the context is quickly changing, you can write a debug problem
    Task "Bouncing"
    Variable Set [Name:% PDEBUG TO: 1 Do Math: ON]
    Wait little
    Variable Set [Name:% PDEBUG TO: 0 Do Math: ON]
    Wait little
    Variable Set [Name:% PDEBUG TO: 1 Do Math: ON]
    ...

    Of course, to debug a profile with one context and one task, all this may seem unnecessary, but if a fair number of contexts and tasks are checked ...
    4. All methods described above, of course, fuss. A complete picture of what is happening in the tasker can be obtained by includingRun LogAs described in the office. FAQ Tasker.
    5. Finally, in this topic you may be asked to "remove Logcat". No need to scare and grab the details of the clothes. Remove LogCat, i.e. system log Android, very simple.
    Warning. If you have android version 4.4 or higher, you will need root-rights to remove the Logcat method described below.
    a). Install the free Catlog or Alogcat application from Google Play, there are other applications that take off the system log on Google Play, you can choose any of them to taste.
    b). Turn off MENU / PREFS / UI / Beginner Mode in Tasque
    in). Turn on Menu / Prefs / Misc / Debug to System Log in Tasque
    d). Reproduce the problem
    e). Run the application downloaded in n. A) and save the system log to the file
    e). Attach the file with the log to the message in the subject or place the contents of the file directly in the message, be sure to be under the spoiler. It is advisable to cut out the record from the log preceding your experiments (in the log, usually stored records in a couple of days), as well as all privacy (credit card numbers, phones, sms text, passwords, etc.).
    If you do not work out, you do not need to ask questions in this topic, ask them in the subject of the application, with which you shot the system log (do not forget to read the topic header, it is possible that the answer to your question is already there, It is also recommended to use the search in the subject).
    Those who do not really like this way can remove Logcat on the command line:
    # Logcat -D -v Time -f file

    Next, follow the instructions from paragraph e) of the recipe above. Of course, it is necessary to fulfill PP. b) - d) recipe.
    Finally, you can remove Logcat via Android Debug Bridge (ADB), in this case you will not even need root rights for android version 4.4 or higher. More information about this method can be found on the Android Developers website in the Developer Tools section,logcat
  2. Interception and emulation of hardware keys:
    - Tasker (Post v-oz # 12681202)
    - Tasker (Post Runnn # 21517414)(Getevent Conversion in SendEvent in Windows) -video.
    - Tasker (Post by username11 # 21526131)(codes from Core / Java / Android / View / Keyevent.java)
    - Tasker (Post coolkaas # 23702923)(work shell script to intercept hardware buttons phone.) Alternative solution XPosed moduleadditions pro
  3. Option of the script to raise the tube by the interlocutor Tasker (Post dnsis # 25551292)(work in the "clean" form will not be all, but you can understand the essence of refinement)
  4. Official BusyBox Guide (description) one ofexamplesof application
  5. Shell scripts(friendly topic fromcoolkaas )
  6. Delayed launch
    Delayed launch

    Sometimes you need to start the task not at the moment of activation of the context, but a little later. To do this, use the deferred start method: the first action of the task is the WAIT action, followed by the STOP IF action with checking that the task launch condition is still running, usually, this is the test of profile activity, 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)
    Tasker (Post by kefirux # 23660085)
    Stop action with profile activity check done
    Stop If% PACTIVE ~ *, Profile Name, *

  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 using the variable% Pactive and the rules '/' in the comparison operators:
    profile "Profile1"
    context state context A
    task
    Stop

    profile "Profile2"
    context state context B
    task
    Stop

    profile "Profile1 or Profile2"
    CONTEXT STATE VARIABLE VALUE% PACTIVE ~ *, profile1, * / *, profile2, *
    enter task "task"
    exit task "output task"

    This method most accurately combines contexts by OR. Note that the output task will start when both profiles are deactivated, which is what we need. Indeed, the output task should be launched when the context is deactivated, i.e. when the negation of the activation condition is true: NOT (Profile1 OR Profile2). Using the well-known formula for Boolean algebra
    NOT (Profile1 or Profile2)<=>(NOT Profile1) OR (NOT Profile2)

    we obtain the condition for the deactivation of the profile "Profile1 or Profile2" in 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 disconnection) Tasker (post myxa781 # 30550934)
  9. CETERS% EVTPRM. - Tasker (Post Nukri # 33317770)
  10. Location Setup Management (GPS / Network) - Tasker (post intro555 # 33627932)
  11. Regular expressions (Regexp) - 1 - 2 - online tester
  12. Switching the 2G / 3G / LTE network modes and so on.PreferredNetWorkType)
Universal solution to solve any problem
Attached Image

Statistics of activity in the topic Tasker

p.s. Thanks to everyone who accepted / accepts / will take (and accept!) Participation in the creation of a cap ...
p.p.s . Special & Separate Thanks username11 For more than 99.9% filling of the cap;)
Archive Dudlow�(ↄ)


Post has been editedusername11 - 28.03.16, 17:47



Rep: (122)
Tell me how to get the current date in the UNIX format.



Rep: (825)
Glider_m @ 04.06.2014, 21:24*
date in unix format.
variable% Times
or standard in shell

Post has been editedusername11 - 01.06.16, 14:03



Rep: (259)
People, and you saw who translated Tasker? .... With all respects ....


Full version    

Help     rules

Now: 24.01.21, 22:49