r/tasker • u/joaomgcd ๐ Tasker Owner / Developer • Apr 15 '20
Developer [DEV] Tasker 5.9.3.beta.4 - Contact Via App, WireGuard, Tasker links, Fixed File Modified and more!
I'm finally able to release a new beta! I'm still not working like I wanted to but I managed to pull out a new release. :)
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.
Contact Via App
Demo here: https://youtu.be/qkF2MT0GShU
This new action allows to communicate with other users depending on what apps you and they have installed. Here are some examples:
- Video-call someone via WhatsApp
- Audio-call someone via Skype
- Navigate to someone's address via Google Maps
As I mentioned, it depends on the apps you have installed so give it a try and see what shows up for you :)
Hope that in this time of remote communication this can be useful for everyone.
WireGuard Integration
Demo here: https://youtu.be/pCldPHn5SBg
You can now control WireGuard tunnels with Tasker using the Tasker Function action! When you first set it up it'll ask for the special WireGuard permission. After that it should be able to control your tunnels!
Tasker Links
Demo here: https://youtu.be/37afVpb8R_8
If you create a link with the following format:
tasker://secondary?text=hello&somethingother=coolthe Tasker Secondary app will be called and the variables %text with the value hello and %somethingother with the value cool will be created!
This is a convenient way to call Tasker stuff from web pages!
Fixed File Modified Event
Demo here: https://youtu.be/HOJABTNgf04
For a very long time (ever since it was created) this event was buggy. If you monitored the same folder on 2 different profiles for example, one of them would not trigger. Sometimes more events than you expected with show up. This fix aims to solve these issues:
- You can now monitor the same folder on unlimited profiles
- You have a new Filter event that allows you to trigger the profile only on the events you want. For example, if you want to know when a new file is present, monitor the ClosedWrite event and you'll get a single event for new files after the file is completely done writing.
- The %evtprm() array will now contain the full path for the modified file instead of the folder you're watching which makes it much easier to act on it.
- other general bug fixes for this.
Wait For File Event
Demo here: https://youtu.be/rqo8khlaPMg
You can now also wait for a file event. For example, if you use the System Screenshot action you can use this new action to wait for the screenshot to be done writing before you use it somehow.
Bringing %evtprm() to the masses
Events have always generated the %evtprm() array with info from the event, but I'm guessing a very low percentage of users even know it exists.
Now, every time a a profile has an event, the %evtprm() variable will appear on the variable list so users know that it's there and that it can have valuable info.
Full Changelog
- Added new Contact Via App action that allows you to communicate with your contacts via third party apps (eg Video call via Whatsapp, audio call via skype, etc)
- Added action to Control WireGuard tunnels in the Tasker Function action
- Allow Tasker Secondary app to be triggered by URLs like tasker://secondary?text=hello&other=hi where every parameter will be made available as a Tasker variable in the triggered task
- Added Query option to Do Not Disturb action
- Add option in Test Net to get your phone's Wifi IP Address
- Fixed File Modified event in a variety of situations
- Added Event filter to File Modified event so that you can react to just a single event instead of all of them
- Changed %evtprm(1) for File Modified event from the path that is being monitored to the path of the actual file that changed
- Allow File Modified event to work with variables in the File Modified field
- Added %evtprm() to the variable list in actions that are in a profile that has an event condition
- Added Wait For File Event function to Tasker Function action so that you can wait for example for a file to finish writing
- Made moving projects left and right easier by asking how many positions you want to move the project instead of having to move 1 by 1
- Fixed issues with clipboard getting while in the background
- Fixed taking screenshots on Android 10, shouldn't show the prompt on the screenshot anymore
- Fixed HTTP Request action when a gzipped response was gotten. Now automatically unzips it
- Fixed automatic redirections in HTTP Request action in some cases
- Added line separators in List Dialog action
- Made Get Sims action in Tasker Function action request the READ_PHONE_STATE permission
- Added Biometric permission to kid apps if needed
- Added tip about List Dialog action when using the Menu action
- Tried to make Tasker only check for root access if root actions are used
Enjoy! ๐
19
u/EllaTheCat Samsung M31 - android 12. I depend on Tasker. Apr 15 '20
Epic. That really has been an impediment to organising into projects. :)
6
u/[deleted] Apr 15 '20 edited Apr 16 '20
Hi Joao, i sent you a report as the contact via app isnt working on my OnePlus phones, no contact found(shows unknown only) , and no app found if i fill contact manual. thanks that will be a great feature
[edit]
in the new link belowe is everything fixed! ๐
3
u/agnostic-apollo LG G5, 7.0 stock, rooted Apr 15 '20
great stuff here man! specially with
File Events. Thanks! I guess u couldn't stay away from coding for long! ;)3
u/MrThisgaard Apr 15 '20
Omg Omg Omg! Can I have my quarantine prolonged to deep dive all this? Epic stuff, I had three nerd-gasms from this at least! Thank you for your amazing work!!
3
u/faz712 Google Pixel 4a 5G Apr 15 '20
Contact via App doesn't seem to work on OnePlus 7 Pro
Fails to find any contact. Manually entering their name also doesn't work. All permissions given to Tasker
https://iili.io/JzR3tS.jpg
https://iili.io/JzRqPe.jpg
3
u/hig999 Apr 15 '20
Awesome to see the new Wireguard integration!
2
u/[deleted] Apr 15 '20
Very cool update and very impressive! Congrats and Ty!
2
u/anuraag488 Apr 16 '20
Google play shows beta 2. Not even beta 3.
2
u/digesh9870 Apr 16 '20
Hey there. Myself Digesh from Google group of Tasker. I recently contacted you and other users for bug in folder monitor. Thank you for the update. Folder monitor is now working as expected.
2
u/hoosun Apr 16 '20
Joรฃo Dias, you hava done a great job for this update. I know from the changelog that you have solved some issues on clipboard getting, and I believe the experience of Clipboard-related ations/events/states will be better and better.
But now I still hava a request, I hope you can add an option to enable/disable access to clipboard data on Android 10 in Tasker (requests link). The reason why I request this is because this clipboard getting method will more or less affect the user experience (popup overlay window/automatic switching input method to get clipboard data).
2
u/bbobeckyj Pixel 7 Apr 16 '20
If contact via app can start calls, does this mean messaging is a work in progress?
2
u/alexcapone Apr 16 '20
An idea I thought about was to edit a screenshot after its taken to crop the notification bar. How could I go about cropping out the notification bar?
2
u/CrashOverride93 Creating projects for everyone ๐ค๐ฑ Apr 17 '20
Hello Joao, I would like to report a bug (?) that is happening to me when selecting Overlay scenes that have interactible elements. The popup tip that comes up cannot be closed, and the only option to stop Tasker from doing that is forcing it to be closed by calling Recents or Home.
https://youtu.be/8XplS-3ANCg
2
u/roizcorp Apr 17 '20
Congratulations Joao! welcome back!
few notes:
What is the limit of List Dialog? I tried to present there ~ 10k rows and Tasker crashed
2
u/anuraag488 Apr 18 '20
I have created a clipboard profile. I noticed tasker isn't fast enough to capture every clip if i copy back to back.
2
u/NightWheels915 Apr 23 '20
Strange, Call via app does not appear on any menu. I updated it through Google Play and direct apk install and it doesn't come up in any search..........
2
u/anuraag488 Apr 23 '20 edited Apr 23 '20
Request for list dialog multiple choices >> Tapping on text will select/deselect text.
2
u/thahim Apr 23 '20
Will i loose my pro if i install this
2
u/roncz Apr 23 '20
I really like the Tasker Links. You can use it for example to handle clicks on widgets with KWGT Kustom Widget Maker. Very useful and convenient. Thanks a lot.
2
u/hoosun Apr 25 '20
In this version, the %evtprm(1) from File Modified event gets encoded path string instead of the actual.
2
u/CrashOverride93 Creating projects for everyone ๐ค๐ฑ Apr 27 '20 edited Apr 27 '20
Hello Joao, I would like to ask you if the following suggestion could be applied on next release(s).
As it's right now, all the detected intent extras (Intent Received profile) are dumped to log when it gets active.
If what you are using in the code is...
Could the above be transformed to allow Tasker to apart from dumping it to log, provide all the detected extras within Bundle to the user within the task run by the profile? As I could think right now, it would not be a reasonable suggestion because these variables could not be pre-selected by the user when creating the task, therefore: unknown until the moment of its execution.
But, something could be made to allow Tasker to create an %array() of all the detected extras at the same time as Tasker writes them to the log? So the idea is to use a loop to loop, forgive the redundancy, all the elements within this &array() during the executing of its task, all in real time. This will allow us to save time trying to search for all the extras within the log. Maybe using two separate "dynamic" %arrays() as: %ie_values(), %ie_names(). So we could process them as:
Of course, the user will have to be aware that he will need to process and find them manually, as these values/names won't be known prior/after the execution of the task. Only while the profile gets active and its task is running.
Thanks, as always... ๐๐ค
1
u/Drtatom Apr 15 '20
Thank you for this new beta!
1
u/UnkleMike Apr 15 '20
This was actually introduced in Tasker 1.3.3
Me too. I would suggest adding a note to the Variables section of the Userguide where %SMSRB is referenced. I see %SMSRB used frequently in profiles being discussed here, and I'm sure it's due to lack of awareness of event parameters.
Aside from backward compatibility, is there any reason for %SMSRB (and similar variables, like %NTITLE) to exist?
1
u/kaze2019 Apr 16 '20 edited Apr 16 '20
Hello.
I'm reporting to you some feedbacks:
1.Action- File-ListFiles -Dir- Use root and include hidden files(files with dot) in the same,it will loss the hidden files in the result./storage/E400-B0E0(TF-Card path) ,Choose root will occur error and return nothing.If directory has a space charactor ,use root will return nothing.
2.Action- TestFile-type '/storage/emulated/0/Down load/' ,if directory has space charactor use "root &type" will return file.
3.The 2 below codes will be stucked in the javascript(let):
alert(list);//will stuck, Only can use flash(list);
var list=listFiles('/sdcard/Download/');
flash(list);
Thanks for your viewing.
Hope your work is well. ๐
1
u/ratelutz Apr 16 '20
I'm trying to use the contactbyapp task and try to select a contact by a variable and cant get it to work. Is this allready implemented or do i something wrong?
1
u/Ratchet_Guy Moderator Apr 16 '20 edited Apr 16 '20
ย
Having a problem with the "Read File" Action:
ย
It seems even when reading in a simple string of characters - Tasker is adding (or 'sensing') an invisible character in between each regular character.
ย
Reference this video for an example. Anyone else experiencing this?
ย
EDIT: It seems that the text editor app used to create the file makes a difference. Some have Tasker seeing invisible characters, others do not. I am wondering if there is a certain type of "encoding" that Tasker is having an issue with. For example some editors let you choose (UTF-8, UTF- 16, etc)
ย
1
u/deechte Apr 16 '20
Hi Joao, what is this fix exactly, or what is the problem it solves?
I thought it might be for the Android system's casting warning, but that one still happens.
1
u/jayboogie15 Apr 17 '20
A couple questions regarding the Contacts Via App action :
1
u/cimmerian7776 Apr 18 '20
Thanks for new release. I have a problem testing Contact Via App, using the fixed Tasker release posted here.
If i use the magnifying glasss under Contact, it prompts "Searching for Contacts" forever, until Tasker hangs in like 30 seconds.
Same happens when i do it under App.
1
u/CrashOverride93 Creating projects for everyone ๐ค๐ฑ Apr 21 '20
Hello Joao, can the 'List Dialog' action be reworked to allow listing items that contains (,) in their childs in case of an %array()? If an array is previously generated using a different splitter (let's say = |), the action stills splitting (once more) all the array elements if a comma is found.
This is bad for example, when generating the following list:
The above array will be shown as:
So, Apr 20(, 2020) is missing.
Or tell me a trick that I can apply to allow the action to display elements with a comma (or commas) on its names.
Thanks.
1
u/akivura Galaxy Note 8, Android 9, rooted Apr 23 '20
Hi Joao, thanks for this great update! I'm using 5.9.3.beta.4 and contact via app action doesn't have WhatsApp at all. I have Duo, Viber and Skype but not WhatsApp. I'm using dual messenger and I have two WhatsApp installed on my device, could this be the issue? If not, what could it be?
1
u/roizcorp Apr 26 '20
File Events: if I have a rooted phone, I should be able to monitor file events that are not in my /storage partition (e.g. /data)
1
u/ingy2012 Galaxy S22. Somewhere between newb and novice lol May 04 '20
Crazy idea in regards to the projects. What if you mad it like a "dock" and "app drawer". Bare with me. So instead of scrolling right and left for projects you have a few (for me it's 6 before I have to scroll) projects always visible and if you swipe up on them like you would on a dock in a launcher it would open up an "app drawer" grid of projects.
1
u/stipvroegop May 05 '20 edited May 05 '20
When I run the Action edit "contact via App" I can find the contact I want to use, but when I'm trying to select the App, the onley thing that's showing is Maps (postal-address_v2)
Do need to change someting in to Tasker to give it premission and if so , how do I do that?
I've already downloaded and instaled https://drive.google.com/file/d/1UfMEt1H6wjlMDdsqByn-flCRqE45PdJ1/view?usp=sharing
1
u/kaze2019 Jul 23 '20 edited Jul 23 '20
Hello. It is a long time not to see your new posts. How are you for these days?
These are some new feedbacks.
2)profiles-Application-SERVICES. App TitaniumBackup services do not work.( It has 2 similar package names
com.keramidas.TitaniumBackup(Addon))
3.SQL Query use TF card will occurs error.(18.58.10/ SQL Query: checkSDPath: /storage/E425-B4E9/contacts2.db ok true 18.58.10/E SQL Query: canRead: true canWrite: false needWrite: false useRoot: true 18.58.10/E code 3: android. database sqlite. SQLiteReadOnlyDatabaseException: attempt to write readonly databasecde1544[1544): while compiling: PRAGMA cache _size.)
4. Display Size does not work(Tasker5.9.3.b4)
5. The new alert(javascript) in HTML webview will make any javascript stucked(no response), the web page disappear.
Thanks.
1
u/FacepalmNation Apr 15 '20
Awesome to get a new update. But I need to ask about the Wireguard Integration. I have never heard of Wireguard, so why would I want to use it?
1
u/CrashOverride93 Creating projects for everyone ๐ค๐ฑ Apr 16 '20
Hello Joao, I would like to request something...
Could you add something to filter listed apps in the 'List Apps' action (+ > App > List Apps), like filtering them manually using: pm list packages -3/-s?
Thanks!
2
u/snoopy_haeckers Apr 20 '20
Thanks man for the link and info!
1
u/CrashOverride93 Creating projects for everyone ๐ค๐ฑ Apr 16 '20 edited Apr 16 '20
Sorry to bother you again Joao, but I would like to know if something more can be applied for the next release.
I don't know the rest of the users, but I find a bit annoying (just apperance) the '<' icon at the right when using the List Dialog action. -> https://i.imgur.com/IdMcUa1.jpg
I know that the following "workarounds" can be applied currently to get rid of it:
- Switch to variable mode (press arrows icon) and leave the text field just as: %.
- Switch to variable mode (press arrows icon) and leave the text field just as: 0.
- Add 1 to the current %array(#) as: %num To %arrar(#) + 1, specially useful when there are more than 100 elements (max slider). So, then use %num as the First Visible Index variable (value).
But I think the above solutions are not as good as it should be. Just from my point of view.
For example, adding a hideable (ocultรกvel, don't know if it is correct in english) option with a check box to hide/unhide the First Visible Index option, as you did for the Do Maths option from Variable Set action.
Or maybe, including the '0' (or None) option to the slider.
Thanks.
- - - - - - - - - - - - - - - - - - - - - - - -
https://tasker.helprace.com/i891-make-first-visible-index-hideable-from-list-dialog-action
1
u/AIOffice-Itay Apr 17 '20
Nice!
1
u/teeman1102 Apr 24 '20
FYI, if you have an issue with the WireGuard integration where it works when you first set it up, but doesn't work later, you probably need to turn off battery optimization for the WG app. I had setup a basic on/off for WG depending on if I'm on my home network and found it would only work right if I opened WG right before calling the action. It's working fine now with optimization off.
0
u/snoopy_haeckers Apr 18 '20 edited Apr 18 '20
https://drive.google.com/file/d/12VDsdmI39Hdd2gAnx6FMecReZjTdRNob/view?usp=drivesdk
Why I became this virus warning??? Tasker with virus? I updatet beta in PlayStore... This warning start with update 5.9.3 Beta 3
0
u/[deleted] Apr 15 '20
[deleted] โ view deleted comment
0
u/[deleted] Apr 22 '20
[deleted] โ view deleted comment
0
u/[deleted] Jul 25 '20
[deleted] โ view deleted comment