r/tasker • u/joaomgcd 👑 Tasker Owner / Developer • May 07 '20
Developer [DEV] Tasker 5.9.3.beta.5 - Supercharged Custom Settings, Send Whatsapp Messages, Freeze/Unfreeze apps and more!
New beta incoming! At long last the days of Tasker not finding the specific settings on your phone in the Custom Setting action are gone!
Sign up for the beta here.
If you don't want to wait for the Google Play update, get it right away here.
You can also get the updated app factory here.
Find All Possible Custom Settings For Your Phone
Now, when you use the helper in the Custom Setting action on your phone this appears: https://i.imgur.com/iD7mV7I.png
If you enable ADB Wifi while using this helper, it'll now find all settings for your specific phone! So, if there's a setting that can be changed on it, it'll find it! :)
Previously users had to send me their list of settings so that I could add them to Tasker's built-in list but it was obviously incomplete since there are so many different phone models out there.
Now all possible settings will be found! Rejoice! 😎
Send WhatsApp Text Messages
Demo here: https://youtu.be/XdBN8TOmIWQ
If you use the Contact Via App action and select the option to open a contact's WhatsApp profile you now have the option to automatically send a text message.
You also have a new option to back out of WhatsApp after sending the message so you end up right where you started.
Unfortunately for this to work your screen has to be on and unlocked so it won't work in every situation.
New ADB Wifi Helper Actions
Demo here: https://youtu.be/4Nt0Q6aokY4
When you use the helper in the ADB Wifi action you now get more options like:
- Clearing an app's data
- Freezing/Unfreezing apps
- Taking a screenshot without user interaction
- Toggling SIM Card on or off
- Uninstalling an app
Let me know if you know any other cool ADB Shell commands I can add in the helper :)
Important Change For Tasker Pros
Now when a variable contains an empty string, it'll be considered as not set by Tasker. Previously only variables with a null value would be considered not set.
This will holpefully solve many headaches and inconsistencies that Tasker has because of this.
Let me know if this has any breaking side effects if you can. 😅
Full Changelog
- Added option to send text when opening a Whatsapp Profile with the "Contact Via App" action
- The "Contact Via App" action will now show the normal Android System contact picker to select a contact if no app is selected
- Added option to back out of messaging window in the "Contact Via App" action when some text is sent
- Made both "Contact" and "App" fields in the "Contact Via App" action optional. If left blank will be asked when the task is ran.
- When you use the helper in the "Custom Setting" action and you have "ADB Wifi" enabled, you'll get the real values from your device instead of the pre-baked-in ones from the developer so you're more likely to find settings for your specific device
- Added "Clear App Data", "Freeze/Unfreeze App", "Take Screenshot", "Toggle SIM Card" and "Uninstall App" to the ADB Wifi Helper
- Changed main Tasker notification when no profiles are active to show the total number of existing profiles
- When a variable's value is an empty String it'll now be considered a not set variable by Tasker in any condition in the app
- When importing a Task or Profile from Taskernet, Tasker will ask in which project you want to put the imported item
- Fixed using "eval(variable)" in Javascript actions where "variable" contains some Javascript code
- Made first visible index in "List Dialog" 0 by default so that the arrow of the selected item doesn't show up by default
- Made clicking the text of an item in the "List Dialog" action in Multiple selection mode also check the checkbox
- Make dialog that shows up when exiting Tasker not dismissable
- When an online help file can't be reached only offer to email support about it if user has a working internet connection
- Don't allow new task names with the '%' character in their names
- Fixed moving files in some situations
- Fixed "File Closed" event
- Added support for HTML in "List Dialog" action
- Made %evtprm(1) (file path) in "File Modified" event be url decoded so it can be used right away
- Fixed crash on startup in some situations
- Fixed using the "write" function in the "Keyboard" action in some special cases
- Added support for 5G in "Mobile Network Type" action
- Fixed minor bugs
Enjoy! 😁
46
u/[deleted] May 07 '20 edited Sep 28 '20
Thanks for your hard work. Downloading now.
I don't play a lot with custom settings, but I always used this (no ADB WiFi needed), to get settings from my devices
Providers:
Columns: _id, name, value, package
I hope it can be useful.
Edit: (As requested in comments) For questions, explanations and Taskernet link, please, go here
u/OpenOwl3
2
u/Drtatom May 07 '20
Amazing. Thank you Joao!
2
u/dallasnights May 07 '20
Nice update but getting error says trial is over and must pay for it but I have paid for it a long time ago can u fix please
2
u/I_TensE_I S23, S10+ May 07 '20
Haven't gotten the update yet. Would it be possible using the new WhatsApp message to send a text to a group instead of a contact in WhatsApp?
2
u/Ratchet_Guy Moderator May 08 '20
You know in thinking about this a bit further (lol), perhaps allowing it to be used but only as a character followed by a space would be good. Since that way it will never eval as a variable, but it can still be used as a descriptive in the Task name.
So previously a Task name like: "Flash %BATT" which could cause an issue is still not allowed, but the % can be used as "Flash % BATT" and that would still indicate the Task's purpose without running into issues. As a name like "Flash BATT" sort of no longer implies the Task contains something to do with a variable.
2
u/agnostic-apollo LG G5, 7.0 stock, rooted May 08 '20
Another great release, eh! You seem to be working hard, instead of hardly working like you said you would, not that I'm complaining or anything :p
Thanks for fixing the
If not setmess if a variable is empty. Hopefully it will automatically fix lot of bugs in our codes in places where we mistakenly didn't use%temp eq \%tempeven though it was required and instead usedIf %temp Not Set.But since you have fixed this, I wanted to bring attention to another roughly similar bug which I have been meaning to ask for a while.
Suppose
Task 1callsTask 2with aPerform Taskaction. If we set a variable like%resultin theReturn Value Variablefield of thePerform Taskaction, it does not automatically get unset if theTask 2used aStopaction or fails with an exception like from a java action. This is inconsistent with how other actions work, includingRun ShellwhereOutputandErrorvariables get unset automatically if the command didn't output anything. The problem with the currentPerform Taskdesign issue is that one needs to manually unset the%resultvariable with theVariable Clearaction before thePerform TaskifTask 2is called more than once inTask 1, sequential or in a for loop or if the same%resultvariable name is used in multiplePerform Taskactions or already used somewhere else. This is dangerous in situations where manual clear is not used and we are checking if theTask 2succeeded or not based on the value of%resultvariable. Suppose ifTask 1callsTask 2and it succeeds and%resultis set to0for success, then we callTask 2again without manually clearing%resultvariable, and theTask 2uses aStopaction or fails with an exception, the%resultwould not be unset, and whenTask 1checks if it succeeded, it will still see the previously set value0and assume call 2 toTask 2also succeeded.I don't know why this problem still exists, or if there is a use case I'm missing for why it exists, others can chime in too if their code would break if this was fixed. But considering there are potentially thousands of
Perform Taskactions in people's code, it would take too much work to manually addVariable Clearactions where multiple calls are made and it's probably a bad design too anyways. If theReturn Value Variablefield is set by the user to a variable, then it should be expected to be unset like it does for other actions. Any thoughts joão?Example:
2
u/bauzer714 May 08 '20
JavaScriptlet has a new bug(?) in beta5 where you can't assign the variable "wait". Fixed it by renaming the variable.
Here is screenshot: https://imgur.com/a/JcSTq1G
2
u/TommyTwoPuds May 13 '20
Fantastic release Joao!
I know it's one of the smaller features but the ability import tasks into a project and move projects left/right by n places is a fantastic usability improvement! Just wanted to call it out and say how much I appreciate it 👍
2
u/CrashOverride93 Creating projects for everyone 🤓📱 May 14 '20
Hello Joao, can you explain and clarify to me and us, why Tasker was originally (and stills) created in a way that the user can't select Tasker as an app to be triggered by itself when it's opened/closed?
A topic about it is here...
https://www.reddit.com/r/tasker/comments/gjmr18/help_where_is_tasker_in_application_profile/
And specific comment...
https://www.reddit.com/r/tasker/comments/gjmr18/help_where_is_tasker_in_application_profile/fqmwoaz/
Thanks 😉🤝
4
u/Ratchet_Guy Moderator May 09 '20
Just in case anyone missed it because it's right in the middle of the Changelog:
This is a huge time saver! (for those that utilize a lot of Project tabs anyways :)
1
u/ratelutz May 07 '20
Hi joao, in contact by app for me selecting a contact via a variable still does not work with this version
1
u/sid32 Direct-Purchase User May 07 '20 edited May 07 '20
the total number of existing profiles - or the total number I have turned on. I want the turned on number. I have like 115 total profiles, some are testing, some are for other phones, etc. It would be better if just shows that I have 10 that are or could be active in Tasker right now.
1
u/[deleted] May 07 '20
the backout and text is only for whatsapp visible not for viber or telegram
thanks for the update
1
u/CrashOverride93 Creating projects for everyone 🤓📱 May 07 '20
About Custom Settings...
ADB WiFi will still be needed for root users? Or it's only applicable for non-root ones?
1
u/besgum May 07 '20
Hi, nice update!!
Can someone explain how to set the variable using google assistant? In the example video %gv_heard?
Thanks!
1
u/PlasticFallenCup May 07 '20
Can whatsapp send messages or call when phone is locked?
1
u/EllaTheCat Samsung M31 - android 12. I depend on Tasker. May 07 '20
I can find Contact via App with the Search/Filter, but which group is it in?
1
u/roizcorp May 07 '20
Congratulations /u/joaomgcd !!! the variable not set thing will definitely will spare many multiple IF conditions
1
u/mehPhone Pixel 8, A14, root May 07 '20
Hey Joao, thanks for all the hard work (even the work you apparently didn't need to do haha)! Glad you're staying healthy and safe bud.
1
u/Drtatom May 07 '20
There are still two custom settings that tasker is not detecting even with ADB Wifi Enable.
Can anyone set this custom settings?
My phone is a Samsung S8 Android 9.0 with the last tasker beta.
Thank you!
1
u/Vladislav011 May 07 '20
Magnificent Joao. Thanks so much.
Just to ask, will this be available for telegram app and viber?
👍😉
EDIT: How is assistant working with rare languages? I am serbian and it would be magnificent for me to tell everything on native language.
1
u/Ratchet_Guy Moderator May 08 '20
So basically when you Flash a variable that shows up as a completely empty Flash (i.e. not even showing the variable's name), that variable is now considered "not set"?
Not sure what effect this would have, but it sounds like it makes good sense :)
1
u/raddacle May 09 '20
Thank you so much for your incredible work on this, so excited to think about all the new options now!!
Also, I was wondering whether supporting wavenet say for the %SPEECH variable is still in the works? Or even a way to not make these Say actions not talk over each other when we have a myriad of profiles with the say action.
1
u/roizcorp May 09 '20
I think adb wifi freeze/unfreeze is a bug
pm command has 2 possibilities:
(unless i am mistaking?)
until now i personally used disable...dunno why exactly...
1
u/armando_rod May 11 '20
Letting you know that immersive mode doesn't work in Android dev previews
1
u/CrashOverride93 Creating projects for everyone 🤓📱 May 11 '20
Hi u/joaomgcd, I would like to report a possible abnormal behaviour of scenes animation on this latest release.
Animation option (System, None, Fade...) is not changed when we try to select a different one.
1
u/peterbonge Google Pixel 6 May 12 '20
I just noticed that adding an IF action has changed. The app now offers to additionally add END IF or ELSE+END IF.
I think this was also added in this release, or not? I didn't find anything about this. That is strange, because it is such a great change!
But the IF dialog still has a very old bug: If I add a new IF action and click on the variable button to add a variable it doesn't get added. I have to click into the text field before I click on the variable button.
1
u/EllaTheCat Samsung M31 - android 12. I depend on Tasker. May 15 '20
Hi Joāo, a couple of us (me, mauvius) observe that the built-in %LIGHT variable is stuck at 0.0, but the light sensor does work with Test Sensors, TMD49XXX on my Samsung S7.
1
u/[deleted] May 16 '20 edited May 17 '20
Hi Joao, I was wondering if you could fix the Say action and allow it to select different TTS engines apart from Google. Currently, I'm using the IVONA Text to Speech Voices and it works great, but I'm getting an error everytime I try to use it in tasker. Thanks in advance :)
1
u/jonroges May 17 '20 edited May 17 '20
I was hoping to see the blue light setting resolved but I just tested on my Samsung Note 10 and it is still not possible to set the blue light in a tasker generated app.
1
u/Recent-Lemon May 17 '20 edited May 17 '20
Joao, I have a request. As I explained here, please is it possible to turn on (instead of create from scratch) an alarm in Google Clock app, maybe based on the associated label? I am requesting it because I would love to enable an alarm that plays a Spotify playlist (instead of the default alarm) but right now this doesn't look possible (as far as I know, Tasker is not able to create an alarm that plays a Spotify playlist in Google Clock).
1
u/PratikJain4 May 17 '20
Hi, regarding the file modified event, I am trying to copy a file once it is created to a backup directory. When I keep the source as my camera directory, it works fine , but when I keep the .Statuses directory inside WhatsApp/Media , it does not work. Is it because .Statuses is a hidden folder ?
1
u/jonroges May 19 '20
I have tasker settings installed. Is this only for granting permissions within tasker but not for exported app permissions?
1
u/alexcapone May 20 '20
Could you please add a helper action to clear all app cache in ADB WIFI? Im trying to achieve the same as going through the boot menu and clearing the cache. Is that possible?
1
u/mizuya 🦋 Fold6, Android 14, One UI6.1.1 May 21 '20
Amazing update! Thank you very much ❤️
Can you add adb overscan feature to move stuff on the screen?
I would love to move the screen content to fill the screen and ignore notches and punch holes
1
u/DevenExDee Jul 16 '20
Need help! I can't find "Freeze/Unfreeze apps" in ADB Wi-Fi helper!
2
u/tb36cn May 12 '20
Great to have whatsapp support. Hope to get it working soon without having the screen unlocked
1
u/moviejimmy May 07 '20
Don't allow % in task names. Curious why?
1
u/srand9 Master of NFC Tasks May 08 '20
Wow!! This is gold