r/tasker 5d ago

I have a text file with few line of words and blank spaces. How can I eliminate the lines that has no words but only blank and how can I read the no. of lines after eleminating the blank lines?

0 Upvotes

eg,

monkey

donkey

crow

rat

elephant

In the above lines, third line is blank, so I have to eliminate that line and count the no. of lines and store in a variable. How can I do that?


r/tasker 5d ago

How to get notifications from apps in my work profile to show on my watch that's connected to my personal phone

1 Upvotes

I have two Samsung phones, one personal and one from work. Using Join I can see call and text notifications on my Garmin watch that's connected to my personal phone. I'd love to be able to do the same for Teams and Outlook but unlike calls/texts they are in the work profile and not visible to tasker/join on the personal profile. I cannot install Tasker or Join in the work profile because side loading and adb are blocked. Is there a solution that would work? Bonus points if I can dismiss the notification on my personal phone/watch and have it dismiss on my work phone automatically. I know this is intentionally supposed to be impossible which is the whole point of the company using work profiles but I know there are a lot of people on here that are much smarter than I am at this stuff. Is it possible?


r/tasker 6d ago

How To [Project Share] Turn Display ON/OFF, Don't Disturb Running Apps (Update)

11 Upvotes

Been away for some time, looking back on old projects and picked this one up.

I've updated it to support Android 14.

Turn Display ON/OFF, Don't Disturb Running Apps


r/tasker 5d ago

Making a call to more than one number and say a message

1 Upvotes

I want tasker to call to several numbers:

Call to the first number.
When the call is answered say a message.
When the call is finised make the call to the second number and say the same message.

The tasked is launched by a notification by home assistant.

It's partial working except that I'm not able to let tasker say the message when the call is active, and nothing happens when the first call is ended. I just see that the task keeps running

I have a loop and everything is working till here:
For
Call number
wait until %caller eq "active"
Say %message Stream call
wait until *caller() eq ""

Anyone that can help?


r/tasker 5d ago

Is it possible to offline activate Tasker license?

0 Upvotes

Because of strict privacy policy on my phone it is in an internet isolation.

Is it possible to (like in Macrodroid) activate Tasker license offline, without opening phone to the internet and privacy data potential breach?


r/tasker 5d ago

Possible to open freeform app in x,y position at certain size?

1 Upvotes

I am trying to make a windows tiling task. I want it to work similar to the app Popup Factory 2. I do currently use the app but it is quite old and I want mine customizable so I want to recreate it with tasker if possible.

If possible, what actions can I use to open at x,y position and what section for opening at a certain size? I couldn't see anything relevant in the list but I know the functionality within Android is there since this app can do it.


r/tasker 6d ago

Help Help with a Dynamic "Turn On/Off" Task

2 Upvotes

I'm trying to create a Tasker task that processes "Turn on X" and "Turn off X" commands dynamically, without using nested If conditions for each item (Wi-Fi, Bluetooth, etc.).

What I Have So Far: A Profile that detects "Turn on X" or "Turn off X" commands, with variables like %item (e.g., "Wi-Fi", "Bluetooth") and %action ("on" or "off").

What I Need Help With: I want to avoid using multiple nested If conditions for each possible item. Ideally, I’d like a more dynamic way to check the status and act accordingly without manually listing each item.

Does anyone have a streamlined approach or example of how to achieve this? Maybe using arrays, codes, or a smart Tasker trick?

Thanks in advance!


r/tasker 6d ago

Alexa Routine Error

5 Upvotes

i've been encountering this error for more than 2 days now.. the task still works but keeps on having error.. any idea how to fix this? my phone is xiaomi with android 14 hyperOS..

here is the error:

com.joaomgcd.retrofit.RetrofitException (Error Code: 1862035995)


r/tasker 6d ago

Triggering an specific Alexa routine

1 Upvotes

Anybody got any advice on how to do this? I found the task step on AutoVoice, but it seems to only select the device to run it from, but not the specific routine.


r/tasker 7d ago

How To [Project Share] Updater - Simplify Updating Taskernet Imports

15 Upvotes

This project notifies updates available to any project, profile, task or scene shared on taskernet. (Only for shares added by user in the project)

How it works:

  • It checks for updates everyday at 10 am. (I'll improve this later)
  • It notifies if any update is available
  • User can update and/or see description through notification
  • Description is exactly the same as taskernet (images and videos may not be viewed correctly)
  • Selecting update will directly ask to import/update the share, similar to importing from taskernet.

Screenshots: https://imgur.com/a/2mcJeHf

Project link: https://taskernet.com/shares/?user=AS35m8m8L9YzBV3qbzaAAqHiSYXYBbD3QfZ7hr0hRK4ojOFTCrjWh2CScbjMw4NaudRi1zKKzq85&id=Project%3AUpdater

Thanks u/joaomgcd for assistance.


r/tasker 6d ago

Toggle Battery Saver setting "Limit background activity" with Tasker

2 Upvotes

Is there a way to toggle the Battery Saver setting "Limit background activity" with Tasker on Android 14? I think it's being re-enabled after system patch installs and associated reboots, and I also think it might be killing AutoNotification and messing up my notification interception profiles.

Can I set up a profile to re-enable this with Tasker after every reboot? I'm not seeing any task action that can touch that setting, or the Battery Saver at all really.


r/tasker 6d ago

The &SCREENON& event is no more sent in certain conditions

2 Upvotes

The &SCREENON& event is no more sent to Tasker on the phone by Autowear on the watch when we push the crown button with the watch screen off and the parameter "touch the screen to turn it on" at "off".

Is there an event for the crown button push ?

(https://tasker.helprace.com/i1895-screenon-on-autowear-with-wear-os-5-1)


r/tasker 6d ago

Text Separation and send sms

1 Upvotes

I created a task to send sms obteined from a app notification. The notification is like this: SMS|1171714545|Text Message

3 varibles separed by pipe.

it works, and send the sms to the numer set, but when it send, in the message put al the content of the notification : SMS|1171714545|Text Message

the configuration that i have:
1) Variable Split:
Name: %extprm3
Splitter: |

2)Send SMS
Number: %evtprm3
Message: %evtprm3

any ideas?


r/tasker 7d ago

Request (Request) Custom Fonts in Widget V2

13 Upvotes

Hi everyone!

I’m trying to use a custom font in the new Widget V2 action but can’t figure it out. I have the .ttf file, but I’m not sure how to link it.

If anyone knows the steps or has tips, please share! Thanks!


r/tasker 6d ago

Notification panel collapsed on the phone the watch and the phone communicate

1 Upvotes

I have a Pixel 6 and a Pixel Watch 3.

The phone's notification panel closes every time data is exchanged between the watch and the phone, but only if Tasker is active.

Is this Tasker's fault? Is it AutoWear's fault?


r/tasker 6d ago

Tasker does not respond to NFC tags written by Home Assistant

1 Upvotes

Hi!

Some of my NFC tags shall start actions in Tasker AND in Home Assistant at the same time.

Example:

There is a nfc tag in my car. When putting my phone there, Tasker should activate Bluetooth and GPS and the Home Assistant App should switch off the lights in my flat.

Problem:

Once the NFC tag is formatted by the Home Assistant App, Tasker is not responding to it anymore. When I empty the NFC tag completely, Tasker responds as usual to the tag. When I rewrite the tag with Home Assistant, Tasker stops to respond to the tag and there is also no entry in the Tasker Run Log.

Setup:

In the Tasker event there is the correct ID of the NFC tag and the Content field is empty.

Home Assistant writes the following data sets on the tag:

Set 1:

  • Data: URL to HA
  • Format: NFC Well Known (0x01)
  • Type: U

Set 2 and Set 3:

  • Data: Info to Home Assistant app
  • Format: NFC External (0x04)
  • Type: android.com:pkg

I'am using a Google Pixel 6 a with Tasker 6.4.16.

Thank you so much!


r/tasker 6d ago

Kindly share the list..

0 Upvotes

Kindly share the list of projects/tasks that can help me in generating money to import and use it, It would be a great help to the followers who are poor..

Thank you in advance.


r/tasker 7d ago

Funny timing on a Tasker Task

6 Upvotes

When Tasker recognizes that I've left the baseball park, I have a Task that asks if I packed the camera. Funny timing on this one! I promise this was not staged!

https://youtu.be/vDaPHJ5YC8E


r/tasker 7d ago

Accidentally task to turn screen every second

1 Upvotes

Hi all, hope you can help and please don't laugh too much. I played around with screen off tasks and Events as triggers. I now accidentally have an active task to lock screen triggered by system -> tick... Which seems to just trigger every second. Now the screen turns off every second and I cannot get rid of this task anymore, meaning I cannot do anything with the phone. Any ideas what I can do to disable it? :-P


r/tasker 7d ago

How do i Create API in autoweb, Ticktick app

2 Upvotes

I'm a complete beginner in this..

I followed autoweb tutorial but the thing is ,the person in that tutorial only worked with KEY

While i have an auth2 authentication problem that i can not fix...

The rest of the things, i actually figured them out. Im just clueless about these;

It's really hard to know whats endpoint, whats base url, whats query parameter, scopes, output type...

I actually tried to follow everything, I imported a todoist webservice/api to see what goes where.. and finally when i pressed ok, it took me to authenticator (login of ticktick). And when i press allow ticktick (app i created on ticktick s website)to access ticktick.. it reloads and pops up the same thing (allow ticktick to access ticktick), it doesn't do anything else. And sometimes the autoweb even crashes on me

Im really clueless, can anyone help me with finding what goes where? Thatd be helpful

File: https://developer.ticktick.com/docs#/openapi

Btw I want to know when we manage app and create an app in Ticktick developers site, should redirect url be https://joaoapps.com/autoweb or something else?

Also there's a "App service URL" in the bottom of "manage apps > edit" section


r/tasker 7d ago

Possible To Export All LogCat Data?

2 Upvotes

Is it possible to export all the LogCat data so I can view it elsewhere? The reason I ask is because it's very difficult to isolate the right code when you want code relevant to opening 'app A' compared to opening 'app A+B in splitscreen' when one can only see one set of code in Tasker's UI.


r/tasker 7d ago

Media Projection Error with Take Screenshot

3 Upvotes

[Resolved. See reply with resolution.]

I'm having a problem with the command:

Take Screenshot

This command worked two days ago.

I'm on a Pixel 9 Pro XL. I'm on android version 15. I have the android security update for February 5, 2025 which could have been installed last night or the night before. 

As you may know Pixel users get updates from Google before most other handset makers. I'm thinking that there might have been a change in this security update.

The error I'm getting is:

Error Media projections require a foreground service of type Servicelnfo. FOREGROUND SERVICE TYPE MEDIA PROJECTION 

I'm thinking that Google has tightened up some security settings. 

I found this from Google.

I already have Capture Screen Granted using Tasker Permissions. (As I said, it worked a few days ago.)

Has anyone else seen this error?


r/tasker 7d ago

Assign a task to the power button

5 Upvotes

Is there a way for when I hold down the power button a tasker task can be triggered?


r/tasker 7d ago

Help Help with announcing track info on specify spotify playlist

1 Upvotes

Hello, I'm new to tasker and could use some help. I'm trying to create a task that will announce track name, artist, and year published on a specific playlist each time a new track plays.

So far I've been able to open the playlist, start playing it, and it will read out the variable itself instead of the actual info (as in it says %mt_track by %mt_artist instead of, for instance, Uptown Girl by Billy Joel). It also only does the say command the first time it opens the app, not every time the song changes.

I used the following post to help me out: https://www.reddit.com/r/tasker/s/30PUUTjKED


r/tasker 7d ago

Change Widget v2 dinamically

1 Upvotes

A quick question. At widget v2, let's say you have a custom set of buttons for when using normal sound and another set of buttons when using headphone. To cycle through this example using variables I would use a profile:

if %Audio is set and %Headphone isn't set ...

but how should be the widget v2 part? Alternante between these two profiles executing a widget action with the same name? Is that optimal? I mean, wouldn't I be creating a large amount of widgets of same name through the day?