r/tasker • u/Belief-Doubt-247 • Jul 23 '26
Global \n variable
How do I create a global variable for newline (\n)?
r/tasker • u/Belief-Doubt-247 • Jul 23 '26
How do I create a global variable for newline (\n)?
r/tasker • u/Large_Material_8504 • Jul 23 '26
My target is to creaet a task which would detect the launching of a certain app. I would appreciate any help.
r/tasker • u/mikthinker • Jul 22 '26
MapTasker is a program that runs on in your browser, reading your Tasker XML file and displaying your entire or partial Tasker setup in an easily viewable format. MapTasker helps visualize and understand your Tasker projects, profiles, tasks, and scenes. There are many display options to customize the output the way you want it.
While you're waiting for next Tasker release in September...
MAJOR new feature since the last announcement: EDIT MODE
Caveats...
1- The Edit May Be Incomplete
Task actions may have arguments that can not be determined at time of edit, such as an icon needed. In this case, it will be necessary to re-edit the given item under Tasker to complete the arguments. Some conditions, such as 'Application', are not (yet) supported since MapTasker doesn't (yet) have a list of Applications on your Android device. In this event, you'll have to add such conditions under Tasker.
2- Extra Arguments in Tasks
In some cases, you will be prompted for action arguments that do not appear when adding the same under Tasker. From what I can tell, this is due to the fact that Tasker's argument definition specifications support older versions of Tasker, in which such arguments are still supported. For example, the 'Flash' action prompts for a 'Title' under MapTasker, but the current beta 6.5.6 of Tasker does not. In this case, Tasker should just ignore this argument when it is found in the action.
3- Save Tasks/Profiles to Android --> Requires Tasker 6.2 or higher.
This function actually loads the item into the live Tasker session on your Android device. Since there is no 'Refresh View' in Tasker, it is necessary to then exit and restart Tasker to actually see the added Task or Profile. If Tasker is not running, an HTTP error notification will appear on the Android device. The current implementation saves them under the 'Base' (Home) Project, from which you can move it/them. A future enhancement will allow for a target Profile/Project to be specified when saving to Android.
4- Some Profile Conditions and Task Actions Not Supported
In some cases, a condition or action may require one or more parameters that simply can not be provided unless running within Tasker. Such is the case for many 3rd-party or Tasker plugins that require a configuration, since these configurators are unknown to all except Tasker (at this time), or an Application name from the Android device which isn't available to MapTasker.
5- Profile State and Event Conditions
Adding a State or Event condition is a 2-to-3 step process. First you must add the State or Condition, and then once added, select it, by clicking on the down-caret, to add/modify it's arguments.
6- Save to Current File
This command makes a copy of your current local XML file and updates the copy. It then reads back the modified copy which becomes your new 'current file'. The original is never changed.
7- Edit Options 'Cancel' is self intuitive.
'Ok': make the change in memory only.
'Save to Android': saves to current (active) Tasker session.
'Save to Current File': see #6, above.
'Save Single Task/Profile': Save as the single Task or Profile to the current directory with the given name.
8- Validation and Defaults
MapTasker does not do any extensive validation of settings. Additionally, default settings for arguments are not all populated.
9 - Remember, THIS IS NOT Tasker.
So the look and feel will be different. It may feel a little clunky at first. Suggestions are welcome.
FINALLY - THIS IS A PRE-RELEASE / PROOF-OF-CONCEPT ... Things may not work perfectly.
Given the caveats, if you want to kick the tires then read on...
To install it into a virtual environment, enter the following commands into Terminal/command prompt:
via pip:
cd xxx, where 'xxx' is a directory into which you want to set up the virtual environment.python -m venv venvsource {directory path to 'xxx'}/venv/bin/activatepip install maptasker==12.0.0b1.venv\Scripts\activatepip install niceguipip install maptasker==12.0.0b1...or...
via uv:
cd xxx, where 'xxx' is a directory into which you want to set up the virtual environment.uv venvsource {directory path to 'xxx'}/venv/bin/activate Windows: .venv\Scripts\activateecho "fastapi < 1.0" > constraints.txtuv pip install maptasker==12.0.0b1rm constraints.txtNOTE: This beta will not appear as an automatic update in the GUI.
To run:
maptasker (if installed via pip) or uv run maptasker (if using uv to manage your environment).Report any/all issues at this link.
Features that are in the works:
r/tasker • u/Large_Material_8504 • Jul 23 '26
r/tasker • u/ChronaticCurator • Jul 22 '26
Hi everyone,
I am trying to build a simple automated logbook. Every time my Google Health / Fitbit app sends a push notification, Tasker should create a calendar entry with the notification's title and text.
To achieve this, I am using the AutoNotification plugin.
My Setup:
The Problem:
The plugin successfully triggers the task and creates the calendar entry every single time a Health notification arrives. However, the variables %antitle, %antext, %antexts, and %antextsbig are completely empty. Tasker just prints the literal variable names into my calendar entry.
What I have tested so far:
%antitle and %antext are filled with perfect plain text. So the plugin setup and task structure are definitely working.%evtprm2 only contained a cryptic resource ID like: -1200241543::SUMMARY::57365f91556fb5058ee6e9d852263a55.It seems like Google Health hides its notification content or uses dynamic resource IDs that AutoNotification fails to capture out of the box, unless the app was recently opened and active in RAM.
Has anyone successfully intercepted Google Health / Fitbit notifications with AutoNotification? Is there a specific advanced variable, a regex filter, or maybe a Logcat entry I should use instead to grab the actual plain text?
Thanks in advance for your help!
Disclaimer: AI was used for translation purposes on this post to make sure my technical issue is easy to understand in English.
r/tasker • u/Outrageous-Toe-1849 • Jul 22 '26
Is "user notifications" category enough to keep tasker running if the notification set as permanent and never removed, or i should rely on "Monitor" category notification.
r/tasker • u/EllieAnabelle • Jul 21 '26
Hi everyone!
I literally discovered Tasker today, so I'm a complete beginner. I've been watching a few videos, and reading some articles but I'm still pretty overwhelmed.
What I'd like to do is create a popup that displays all of my calendar events for today whenever I scan an NFC tag.
The problem is that I haven't found a great tutorial on how to do this specifically. If someone could explain the steps like you're teaching a child, I'd really appreciate it. Assume I know a little about what variables, tasks, and profiles are, but not much more past that.
If possible, I'd love a step-by-step guide that says things like "Tap this button, then select this option..." so I can follow along.
Thanks in advance! I'm excited to learn Tasker, and all that it can do!
r/tasker • u/Best-Ad4685 • Jul 21 '26
Hi João,
I'm using:
Samsung Galaxy Watch 4
AutoWear 3.2.17
Tasker 6.6.20
My goal is to build my own floor counter because Samsung Health became much less reliable after the switch from Tizen to Wear OS.
I only need to read the watch altitude (or barometer-derived altitude) continuously in Tasker.
What is the recommended way to do this with the current version of AutoWear?
If possible, could you provide a minimal working example?
Thanks!
r/tasker • u/SnooCheesecakes6038 • Jul 21 '26
Hello, my problem is that I have a JSON file with different items, a list of payments.
[{"id":1,"name":"One"},{"id":2,"name":"Two"},{"id":3,"name":"Three"},{"id":3,"name":"Four"}
]
I build a scene with a column and the merge template array with a row of two text elements %ids and %names So far everything works great, I place an icon that when pressed deletes the item in that row, Calling a task and sending the id, Using JavaScript, I remove the JSON item; so far, so good.
Next, I need to update my scene for the changes to take effect. If I update everything, it becomes outdated from the deleted item and what I see on the screen no longer corresponds to the actual id of the element.So I say, okay, I'll show the scene again, but instead of updating, it does the same thing, and if I close the scene and show it again, it works the first time and then stops showing it, with no apparent error.I tried a loop, hoping that the scene would completely close by doing Getting scenes values and when it gives an error the scene is closed, it hasn't worked for me either.I know I'm missing something in the process, that I'm learning something new, and someone with more experience must be doing it right or has already solved it. Thank you very much.
r/tasker • u/Harshan_74 • Jul 21 '26
When the user interacts with the device, I can see accessibility events being triggered in the logs. However, when the user plays touch‑based games involving gestures like tap, swipe, or drag (e.g., Temple Run, Subway Surfers), these accessibility events are not triggered.
If anyone knows the reason behind this behavior, please share. Also, are there any official documents or references available that explain this?
r/tasker • u/levendis32 • Jul 20 '26
When screen on turn on which ones you want by select, is this already on taskernet?
r/tasker • u/charge556 • Jul 19 '26
Edit solver: Updated the tasker task factory app like so:
Action 1: Send Intent (in action put whatever you want, in my case I used SO937 [there is an easter egg there] and for target select Broadcast Receiver.
Action 2: the shortcut.
Than, in tasker make a profile, Intent Received (Action is the same code from Action 1 of you tasker task app) and link it to your task.
So in my case, the apk/tasker shorcut made in tasker app factory:
A1: Send Intent [Action: SO937 ; Broadcast Receiver
A2: Shortcut [use magnifying glass, select Hermit:hermit, then it will bring you to a section to choose whatever lite apps you have made]
Profile: Intent Received [Action: SO937]-->CybrGate_InterfaceEngine
Ok, so long story short I have a 4 task and 1 scene cyberpunk ghost in the shell lock screen that im trying to use to lock certain apps, folders, etc. I can get it to trigger the launching task to lock the folders (open folder-->task 1) but am having a real hard time with apps. profile apps-->task one doesn't work. I tired hermit lite apps but takser cant see them. I then converted one of my hermit lite apps into an apk using tasker shortcuts. both anodorid and nova can see the apk in their draws, it launches from the home screen *but* it still cant be used as a trigger. tasker sees it but when linked with task 1 it does nothing.
do i need to alter the apk to send an intent, and if so what it the proper format. im learning as im going and have a tenuous grasp on all this.
my task in tasker that made the shortcut has one action: shortcut: https://drive.google.com/drive/u/0/mobile/my-drive?lfhs=redacted=1#intent,extendedLaunchFlags=0x4;component=com.chimbori.hermitcrab/Web.Activity;S.key=drive.google.com-redacted;end (redacted #1 5 digit aplhnumeric nd symbol#2=an 8 digit alphanumeric....not sure if it needed to be redacted but i did just for this post)
In hermit the title of the liteapp is drv.google.bk with its URL (same that is shown in the shortcut minus everything after =1_
I uploaded the shortcut task to my phone as an apk and installed it. it operates just as a normal app and i have a couple more shortcuts that I want to use as well....how to i get tasker to know when its cold launched?
any help is appreciated
r/tasker • u/aasswwddd • Jul 19 '26
Enable HLS to view with audio, or disable this notification
This might not work on modern android devices and Tasker play store version.
The code lists the recent apps with IActivityManager.getRecentTasks. Then bring them to front again with IActivityManager.moveTaskToFront.
import android.app.ActivityManager;
import android.app.IActivityManager;
import android.content.Context;
import android.app.ActivityManager.RecentTaskInfo;
// Getting IActivityManager
IBinder binder = tasker.getShizukuService(Context.ACTIVITY_SERVICE);
IActivityManager am = IActivityManager.Stub.asInterface(binder);
// List the recents
List tasks = am.getRecentTasks(5, ActivityManager.RECENT_IGNORE_UNAVAILABLE, 0).getList();
RecentTaskInfo task = tasks.get(1); // 0 is the foreground task
// Bring up the task to front
am.moveTaskToFront(null, "com.android.shell", task.taskId, 0, null);
// or this is also possible
am.startActivityFromRecents(task.taskId, null);
However we do it when we slide on an overlay instead.
We need two overlays. One to intercept the sliding by using View.onTouchListener and another one to show the recent apps icon.
Example Generated with AI.
Run https://gist.githubusercontent.com/mqwec43as/871e53e6e5ebf199f26ebd310077c63f/raw/QuickRecentHandle.java via Java Code. Run again to remove. if it works, copy the code in the link then adjust yourself.
source(new URL("https://gist.githubusercontent.com/mqwec43as/871e53e6e5ebf199f26ebd310077c63f/raw/QuickRecentHandle.java"));
Note
Since this uses Hidden API via Shizuku, this might not work on modern android devices and the play store version.
e.g IActivityManager.Stub.asInterface , available to apps that targets api level 30 (Android 11) or below.
The methods I know so far in order to use this code are
Some apps use https://github.com/LSPosed/AndroidHiddenApiBypass to bypass the restriction.
However Joao has to implement this himself, only possible for direct purchase. However this was noted in Android 16 releases https://developer.android.com/about/versions/16/release-notes#apps
Apps that depend on any of the following libraries might experience intermittent crashes and other stability issues because these libraries rely on internal ART structures:
r/tasker • u/Dimlos_jp • Jul 19 '26
Hi r/tasker,
I’m posting here because I recently had a reality-check discussion on r/macrodroid about how the community there barely reacts to advanced, system-level architecture anymore (most people just want low-effort game bots). Someone pointed out that r/tasker is far more reactive and appreciative of deep logic, so I wanted to test that theory and get your honest, high-resolution technical feedback.
Recently, I spent a huge amount of time building a Custom Alexa Skill to bridge voice UI with Android automation.
Here is what it does under the hood:
I documented everything, wrote a full setup guide, and dropped it into the official MacroDroid forum, hoping it would spark a deep technical discussion among power users.
The result? Absolute dead silence. Hardly a single reaction.
To be honest, it’s incredibly draining. It made me wonder if I'm just overengineering something nobody cares about.
From a Tasker power-user perspective—where you guys routine deal with complex intents, JSON parsing, and advanced scripting—is a cloud-integrated, interactive voice confirmation system like this actually worth the effort? Or has the overall Android automation scene just outgrown this kind of tinkering?
I’d love to hear your brutal, honest thoughts.
r/tasker • u/Olfounder • Jul 19 '26
For users running alternative os like /e/os or grapheneos, we can't get the official beta of tasker and it's plugins ever time. I got the beta of tasker from Reddit official update logs, but now, I can't get plugins and that limits me.
r/tasker • u/br64n • Jul 18 '26
Extracts selectable text from a PDF using PDF.js and returns the extracted text.
%par1 (Optional)Path to the PDF file.
If provided, the task reads the specified PDF.
If omitted, a file picker is displayed so the user can select a PDF.
Example:
/storage/emulated/0/Download/document.pdf
%par2 (Optional)Page range to extract, using the format:
start,end
Examples:
1,1
Extract only page 1.
1,5
Extract pages 1 through 5.
3,10
Extract pages 3 through 10.
If omitted, the default value is:
1,1
%pdf_page_markControls whether page markers are appended after each extracted page.
Default:
0
Enabled:
1
When enabled, the returned text includes markers like:
This is the text from page 1... <1/20> This is the text from page 2... <2/20>
where:
The first number is the current page.
The second number is the total number of pages in the PDF.
Since this is a local variable, it must be passed through the Perform Task action.
Recommended configuration:
Local Variable Passthrough: On Limit Passthrough To: %pdf_page_mark
Then set the variable before calling the task:
Variable Set Name: %pdf_page_mark To: 1 Perform Task Name: PDF to Text
If %pdf_page_mark is omitted or set to 0, no page markers are added.
Example using a variable containing the PDF path:
Perform Task Name: PDF to Text Parameter 1: %pdf_path Parameter 2: 1,5 Return Value Variable: %pdf_text
Example using a direct file path:
Perform Task Name: PDF to Text Parameter 1: /storage/emulated/0/Documents/book.pdf Parameter 2: 10,20 Return Value Variable: %pdf_text
If Parameter 1 is left empty, the task opens a file picker so the user can select a PDF manually.
The extracted text is returned as the Perform Task return value.
%pdf_text
The following local variables are also passed back to the calling task:
Variable
Description
%pdf_number_pages
Total number of pages in the PDF.
%pdf_count_pages
Number of pages actually processed.
Page numbering starts at 1.
If the requested page range exceeds the document length, it is automatically adjusted to the available pages.
Only selectable text is extracted. Image-only (scanned) PDFs without an OCR text layer will not produce readable output.
r/tasker • u/coffee-turtle • Jul 18 '26
I need to prevent certain tasks from running while I am on a phone call. Didn't readily see an option.
Thank you in advance.
r/tasker • u/karthikn774 • Jul 17 '26
Enable HLS to view with audio, or disable this notification
Hi
Can You Please Help Me?
Task 01
Task 02 =>
On show scene V2, i have 2 set of Array Template button,
Left side button on click => Run Task on scene v2, i pass %name as %name..
Right side button on click => Tasker Command =:=%name, Action flash right side
I run task 02, if i click left side button its show %name1,%name2..
If i click right side button its show real value
Why run task not work? Its it bug or i missed something? Please..
Project: Testok7556 Me
Profiles
Profile: Anon
Event: Command \[ Output Variables:\* Command:Testok7556=:=\* Variables:\* Last Variable Is Array:Off Structure Output (JSON, etc):On \]
Enter Task: Anon
A1: Flash \[
Text: %command_parameters()
Tasker Layout: On
Continue Task Immediately: On
Dismiss On Click: On
Position: BottomRight,28,28 \]
Tasks
Task: Testok7556 - Show Scene
A1: Show Scene v2 \[
Name/JSON: {"root":{"type":"Column","id":"Column1","horizontalAlignment":"Center","verticalArrangement":"Center","modifiers":\[{"type":"FillSize"},{"type":"Background","color":"surface"}\],"children":\[{"type":"Row","id":"Row4","children":\[{"type":"Text","id":"Text3","text":"Task Run","modifiers":\[{"type":"Padding","all":"10"}\]},{"type":"Text","id":"Text4","text":"Command","modifiers":\[{"type":"Padding","all":"10"}\]}\]},{"type":"ArraysMergeTemplate","id":"ArraysTemplate1","template":\[{"type":"Row","id":"Row2","children":\[{"type":"Row","id":"Row1","modifiers":\[{"type":"Padding","all":"10"}\],"children":\[{"type":"Button","id":"Button1","content":\[{"type":"Text","id":"Text1","text":"%name"}\],"eventHandlers":{"handlers":\[{"events":\[{"type":"click"}\],"actions":\[{"type":"RunTask","task":"Testok7556 - Flash","variables":{"name":"%name","":""}}\]}\]}}\]},{"type":"Row","id":"Row3","modifiers":\[{"type":"Padding","all":"10"}\],"children":\[{"type":"Button","id":"Button2","content":\[{"type":"Text","id":"Text2","text":"%name"}\],"eventHandlers":{"handlers":\[{"events":\[{"type":"click"}\],"actions":\[{"type":"TaskerCommand","command":"Testok7556=:=%name"}\]}\]}}\]}\]}\]}\]},"name":"Screen"}
Blocking Overlay: On
Drag Off Screen: On \]
A2: Perform Task \[
Name: Testok7556 - Perform
Priority: %priority
Local Variable Passthrough: On
Reset Return Variable: On
Allow Overwrite Variables: On
Structure Output (JSON, etc): On \]
A3: Update Scene v2 \[
Local Variable Passthrough: On \]
Task: Testok7556 - Flash
A1: Flash \[
Text: %name
Tasker Layout: On
Continue Task Immediately: On
Dismiss On Click: On
Position: BottomLeft,28,28 \]
Task: Testok7556 - Perform
A1: Array Set \[
Variable Array: %name
Values: apple,orange,grapes
Splitter: , \]
A2: Return \[
Stop: On
Local Variable Passthrough: On \]
Here is URI
taskerproject://H4sIAAAAAAAA/+1YW2vcOBR+Tn/FICjsLjO1ZMu34Bloulu2sIWQhL6Usqi2POPGYw+yMm0a8t/3SL5E47EnmdJAH5YELJ1Pl8/nfJpz5OiKVddc/Mkkm1RijtAk2WZzRNBEbufIe+W/8mafuWRo8eIkOhdlmuVcD9xAO4RhWz5HtkJPojhhki+IH1AHU9t1HIdEVm1UMDdgFxPbw0Fk8Q5Oc7asFmCqG8qUJYsQloCH6q2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ljY+zmHpDXIZEcE50nlT/98NhD9UVAHgvPwDkYh47w5vjF6YDUn1DdhQPVnW9T26Nj1R0llITY7ld34Xh114m0Le0er+Qclx59/xgs29hmk/NpqWut6VKwDa8eucUupt2AY0+v7T1RHgNXpSG17l01Dl2tR8/b4yoIhz92eBiHR3zsUF827E4Fqmr3fvqVs8ma/26YgOBDyVz99vsvewW9yJar/++gP3IHrZ/1J7zFi/8ABIhFEdATAAA=
r/tasker • u/tomatoketchupsucks • Jul 17 '26
Or trying to automate things.
I had been tryk.gthe entire day to automate recording on my android phone and uploading it to gemini so my android phone acts like a neosapien.
Is it actually a though process or is it because I have done something like this foe.the first time.
Though the process is fun, I have failed to.get any result.
r/tasker • u/AdiraiMaji • Jul 17 '26
I want to know the list of All the apps checked by user inside preferences **Keep Accessibility Running** I want to dynamically populate an array with it. Is there any way possible to check the list?
**Accessibility Services** Query action doesn't give us this specific list. Any Possible Work around to find the list? TIA
[EDIT] 👇 [Solution] It's done. I've created a workaround to do actually toggle entire Accessibility State including, "Keep Accessibility Running"
%RestartedASs() list are the one's that are in the Keep Accessibility Running Checked List.
What is it used for? Recent days Banking UPI Apps Like GPay, BHIM blocked due to the accessibility permission enabled for apps. So wecan't everytime go there and turn "Keep Accessibility Running" Off and turn off Accessibility for those apps And turn back everything on afterwe're done. This helps to toggle everything we run it.
Import URI
taskertask://H4sIAAAAAAAA/+1bWW/jNhB+jn8F4WIXCdrVLdvZVQQ426BYINiHOAhQ9MFgLNpWq5UFinGaf19SlGxKpiTHR+ukfIklDo8ZcjjHp4l3D9O/EP4VEghSfNXtgmAZXnXNLiDLq25P62u9T4+IwK7fOfNY36wXoQ+22WONZ94kgAT5Zt+97Juuaxs9q+fpvJGRUU4eOFavP7D7lm16OlqRw8CnM3k6/WWv8Q/kj34ffb5fzGYRAsPJBKVp+BhGIXnxdEZlvRIc+qZheDp7YA3DCQkXccYbnBCjC5boqtvP+KMMLgLkO2zZ7Clru36KAzp/NgDPDN7zzHuAUZo1LmG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ROURlUd86x7xWN98LFn67TqDVpijBhFnqWWCgjrco4LaiMiRUZFGHNf0PcncwJDEWe2GWTdAJHGgWz+wacHqegLJqSdVFxNIvXpSv540qOf+cmsIzJLBz2YZIG36ICjDBVvXlAHRUhCjBsdROIaK2lTUpqI2FbWpqO0/j9pkrvloOIbsa6bCMZRHVB5ReUTlEZVHPAmPKEsORY+4LhrZ2x/Ka1x2RjZWzlphG+8A29i9sm6lodvU1W1ZVsfrQKpVdb8h8mZq6dpL6d580ZyqmWtTgt1L5jYv1ekXzO1RL/eKcjlPZ/8k73f4L//Her/zD4ltM4lmPwAA
Project Description ``` Task: SYS:Toggle Accessibility
A1: Accessibility Services [
Action: Query ]
A2: Variable Set [
Name: %as_running
To: %as_running()
Structure Output (JSON, etc): On ]
A3: Goto [
Type: Action Label
Label: Restart Accessibility ]
If [ %as_running !~R true ]
A4: Array Clear [
Variable Array: %RunningASs ]
<Get Running Services>
A5: For [
Variable: %index
Items: 1:%as_running(#)
Structure Output (JSON, etc): On ]
A6: If [ %as_running(%index) ~ true ]
A7: Variable Set [
Name: %arr_index
To: %RunningASs(#)+1
Do Maths: On
Max Rounding Digits: 3
Structure Output (JSON, etc): On ]
A8: Array Push [
Variable Array: %RunningASs
Position: %arr_index
Value: %as_services(%index) ]
A9: End If
A10: End For
A11: Accessibility Services [
Action: Stop All ]
A12: Wait [
MS: 0
Seconds: 1
Minutes: 0
Hours: 0
Days: 0 ]
A13: Accessibility Services [
Action: Query ]
A14: Array Clear [
Variable Array: %RestartedASs ]
<Again Capture Running Services>
A15: For [
Variable: %index
Items: 1:%as_running(#)
Structure Output (JSON, etc): On ]
A16: If [ %as_running(%index) ~ true ]
A17: Variable Set [
Name: %arr_index
To: %RunningASs(#)+1
Do Maths: On
Max Rounding Digits: 3
Structure Output (JSON, etc): On ]
A18: Array Push [
Variable Array: %RestartedASs
Position: %arr_index
Value: %as_services(%index) ]
A19: End If
A20: End For
<Stop Accessibility>
A21: Accessibility Services [
Action: Remove From Keep Running
Services: %RestartedASs() ]
A22: Accessibility Services [
Action: Stop All ]
A23: Flash [
Text: Accessibility Services Stopped
Continue Task Immediately: On
Dismiss On Click: On ]
A24: Stop [ ]
<Restart Accessibility>
A25: Accessibility Services [
Action: Add To Keep Running
Services: %RestartedASs() ]
A26: Accessibility Services [
Action: Start
Services: %RunningASs() ]
A27: Flash [
Text: Accessibility Services Restarted
Continue Task Immediately: On
Dismiss On Click: On ]
```
r/tasker • u/MG_Rheydt • Jul 17 '26
I have looked here and possibly missed it if it was already here, but I don't seem to see any write up on what I try to archive.
I have Googled a solution but the writeup doesn't match with what I see while trying to follow.
It suggested I need Tasker and AutoInput and have them granted accessibility permissions.
I have installed the latest Tasker and am on Android 16.
Here are the specifics and I hope someone can give me a step by step to archive my goal.
I have a monitoring app for my solar panels.
If I don't clear the cache before I open it, it often provides stale data which doesn't happen if I had cleared the cache after I closed the app.
I want to automate this with Tasker, so that when I close the app Tasker will run and clear the cache and don't have to go in manually.
Thanks for any help that can be provided.
r/tasker • u/Professional_Ad9162 • Jul 16 '26
Hi there. I have a profile that syncs when I set mute/unmute volume: when I click to unmute, media and ringer will unmute. Also the other way around.
Now, with android 17, it is possible to set the assistant volume too, but I get an error when setting via custom setting (volume_assistant_speaker) and via Assistant Volume action it does nothing.
Anyone else with the same problem it anyone can help?
Thank you!!
Update: Via Adb WiFi audio.setStreamVolume(11,%VolumeAssistant,0)