TASKER Preferences - Tasker Tips & Tricks

Tasker’s preferences and options reflect the flexibility of the app. To some people, this can be truly discomfiting, but to those with elevated understanding, this actually shows what Tasker and Android are all about— freedom and flexibility.
Beside many of the options on the Preferences screen, you’ll see big question marks. These can offer relief if you start to scratch your head about what an option might be for. However, some of the help tips are clouded in developer or programmer language, and an idiot like me may need some time to completely digest the info.
Tasker’s configuration options are grouped into four tabs. You can customize the app’s user interface via the UI tab. On the Monitor tab, you can set personal preferences for the app’s monitoring behavior when the display is either off or on.
On the Action tab, you can set values for camera delay, task execution priority for widgets or shortcuts, displaying warnings and/or errors, and maximum number of queued tasks. On the Misc tab, you can specify how long to keep backups, whether to allow other apps to run tasks, and debugging options.
In the next section, you’ll continue to learn more about how to create a task and assign one or several actions to a task.

Related

Possible to use Tasker with Active Display?

I posted this in the Themes and Apps subforum a week ago and got no responses. I was wondering if anyone proficient at Tasker knows how to modify Active Display/Notifications.
For instance, is it possible to use Tasker to dictate what notifications will show up on Active Display depending on the time of day? So, when I'm at work, I'd like to disable (i.e., uncheck) all corporate email notifications (but only as they appear in Active Display) since I get those notifications on my PC anyway. If not, maybe I need to just disable corporate email notifications globally during that period of time, which would be a less desirable solution.
I could be wrong, but I think Tasker can only do something like that if the app is setup as a plugin to work with Tasker.
There very well may be an easier/better way to do it, but if you're rooted you can run shell commands to simulate touch input on the device. You could have a task to open the Active Notifications settings, and simulate the input of tapping the checkboxes you wanted to enable/disable, and run different tasks to set/remove them based on time/location/etc.
Like I said, there may be an easier way that I am not aware of, but that comes to mind.
eyc said:
I posted this in the Themes and Apps subforum a week ago and got not responses. I was wondering if anyone that is proficient with Tasker knows how to modify modify Active Display/Notifications.
For instance, is it possible to use Tasker to dictate what notifications will show up on Active Display depending on the time of day? So, when I'm at work, I'd like to disable (i.e., uncheck) all corporate email notifications (but only on Active Display) since I get those notifications on my PC anyway. If not, maybe I need to just disable corporate email notifications globally during that period of time, which would be a less desirable solution.
Click to expand...
Click to collapse
thats actually a genius idea...unsure if we can change the active notification setting, but maybe use tasker to clear the notification from the status bar then maybe bring it back (or a tasker notification with smiliar messaging) about the skipped notification on unlock.
StephenMilone said:
thats actually a genius idea...unsure if we can change the active notification setting, but maybe use tasker to clear the notification from the status bar then maybe bring it back (or a tasker notification with smiliar messaging) about the skipped notification on unlock.
Click to expand...
Click to collapse
Well it could definitely toggle the setting. I've used it to run some actions within apps before (apps that I wanted to "manually" sync on a specific schedule. You define the shell commands as:
Code:
input tap X Y
or
input swipe X1 Y1 X2 Y2
So you'd launch "settings", find the coordinates of the Active Display button, set it to tap there, find and set the coords for "manage notification types", and the associated apps. This could be tough if you add/remove apps a lot, because the coordinates would change if a new app falls in the list ahead of one you have setup to use this method, but it would work.
You could also fire a notification from Tasker when the task is executed to tell you that the selected apps are behind hidden.
This is exactly what I wanted. How and where can I input this shell command? And how can I find the coordinates?

Shake to increase Brightness - Help

I am trying to create a simple task that will increase my phone brightness when I shake my phone.
However, I am completely lost. I was trying to follow this tutorial: https://forum.xda-developers.com/u/t...tness-t3331135 but I am having trouble. The app must have updated since mine looks completely different and I can't seem to find all those options. Any help would be appreciated. Thanks
There's nothing substantially different there from the 5.0 release of tasker.
It just creates a profile named "Toggle Brightness" with a event of a shake gesture.
Then an anonymous entry task is created. The first action in the task is an "if" statement, checks (~ means matches) the current brightness level and if already maxed (255) it runs everything inside the if statement up to the else statement. The action within the if statement simply sets the brightness level to whatever it was before out was maxed out (the %Bright variable is defined in the else part of the task).
If the condition isn't matched (brightness level is < 255) then it hops to the "else" statement. Inside that it's just recording the current value of the screen brightness (%Bright = %BRIGHT where %Bright is a user variable you are creating and %BRIGHT is a built in variable that changes when the display brightness changes. Then an action is created to max out the display brightness (Display --> Display Brightness = 255).
Lastly, the required "end if" statement is added.
Just follow the steps as outlined and it should work. For example, the step that says;
Display --> Display Brightness
means, add a task from the display grouping named Display brightness.
Where specifically are you having trouble?
ktmom said:
There's nothing substantially different there from the 5.0 release of tasker.
It just creates a profile named "Toggle Brightness" with a event of a shake gesture.
Then an anonymous entry task is created. The first action in the task is an "if" statement, checks (~ means matches) the current brightness level and if already maxed (255) it runs everything inside the if statement up to the else statement. The action within the if statement simply sets the brightness level to whatever it was before out was maxed out (the %Bright variable is defined in the else part of the task).
If the condition isn't matched (brightness level is < 255) then it hops to the "else" statement. Inside that it's just recording the current value of the screen brightness (%Bright = %BRIGHT where %Bright is a user variable you are creating and %BRIGHT is a built in variable that changes when the display brightness changes. Then an action is created to max out the display brightness (Display --> Display Brightness = 255).
Lastly, the required "end if" statement is added.
Just follow the steps as outlined and it should work. For example, the step that says;
Display --> Display Brightness
means, add a task from the display grouping named Display brightness.
Where specifically are you having trouble?
Click to expand...
Click to collapse
I guess I'm just slightly confused on how you are supposed to create a profile and also link it to a task. For example, If I try to create a new profile it asks for application, day, event, etc...
Same goes for action. I am presented with a bunch of options. Upon clicking one (i.e display brightness), I see a page like this: https://imgur.com/a/eiQTz
I guess my best bet is to try and go through the tutorial in more detail...
Do this:
Tap the on the profile screen. Now go to event -> sensor -> shake. Leave everything the way it is and tap the left facing arrow at the top.
Now it'll pop up a menu to start a new task (or select an existing task if there are any). Give the task a name and then you'll have a blank task to work with. Follow the instructions from that link to add actions to your task. Start with the if action ( -> task -> if).
When adding an action, you can always use the filter field at the bottom to search for the action you're looking for. e.g. type "if" and it will narrow the list including "if" and "endif".
Here's some help on that display brightness screen.
ktmom said:
Do this:
Tap the on the profile screen. Now go to event -> sensor -> shake. Leave everything the way it is and tap the left facing arrow at the top.
Now it'll pop up a menu to start a new task (or select an existing task if there are any). Give the task a name and then you'll have a blank task to work with. Follow the instructions from that link to add actions to your task. Start with the if action ( -> task -> if).
When adding an action, you can always use the filter field at the bottom to search for the action you're looking for. e.g. type "if" and it will narrow the list including "if" and "endif".
Click to expand...
Click to collapse
This is exactly what I needed, and the app actually is starting to make sense now. Thank you for the help, I really appreciate it. I was able to get it working

tasker Main menu

Tasker’s main menu offers commands and options that help you use and manage how the app works. Access the main menu via the capacitive Menu key or the virtual Menu button (three dots icon) at the upper-right corner of the screen. You’ll find these on the menu:
Browse Examples — redirects you to a list of pre-made example profiles, which you can download and import to Tasker.
Data — for clearing, backing up, or restoring backed up data.
Info — contains information about the app and how to use it.
Preferences — opens the Preferences page (more about this in the next section).
Enable/Disable Tasker — enables or disables Tasker.
Search Tasker — search data or feature within the app; not available in Beginner Mode.
Exit — closes the app.
Run An Action — performs a single action (e.g. maximizing screen brightness).
Run Log — records events and procedures done through the app.
Developer Options — advanced options for devs; not available in Beginner Mode.

Block calendar notifications while driving

Hi,
might seem a silly question but it's very annoying while driving that I receive Samsung calendar notifications. While they appear full screen, Waze and music sounds are silenced.
I have to manually dismiss them before all sounds are 'restored'.
I just want to drive without interruptions of the calendar app, anyone know how this can be done? I'm also using Android Auto but don't see any setting that can accomplish this.
thank you
I'm using Tasker and AutoNotifcation for this. I block some notifications and enable the AOD while connected to my cars Bluetooth.
- install both apps
- in Tasker add a task and search for "AutoNotification Block".
- Tap the pen of Configuration and select the apps you want to block the notification for. You can also add the package name manually
- Under "Toggle" set it to "Block"
- go back and set the timeout to none (slide the slider to the most right)
- go back to the task
- go back to the task list
- add a new task, do the same as above but instead of "Block" set the Toggle to "Unblock".
Now you have the needed tasks and you can set the profiles for them.
- In Tasker go to the profile tap and add a new profile, name it whatever you want.
- Tap on "Status" and filter for "Bluetooth connected" (Note: Bluetooth must be enabled while creating the profiles!).
- Name is optional, tap on the magnifying glass for "Address" and select your cars Bluetooth address.
- go back and Tasker will popup a window where you need to assign a task. Assign the "block" task.
- now do the same again but Mark the "Reverse" check mark in the Bluetooth address menu and after this select the "unblock" task.
So, Tasker will tell AutoNotification to block the specific notifications while connected to the Bluetooth device and unblock it if disconnected.
I hope it works for you. I don't know the English menu entries for Tasker since my app is in German, sorry if there's something different.
thanks, great tip : I already bought Tasker a while ago, I'll set it up like that

Creating "Full Screen Apps" with Tasker Scenes

For the third day I've been trying to work out how to use Tasker Scenes to browse my favourite apps in fullscreen - removing the status bar and navbar.
I have successfully created an activity based scene, and task which uses the Display As "Activity, No Bar, No Status, No Nav" option. I then have this set to show when i open up Chrome, Kiwi, Shopping Apps etc.
The issue I've been experiencing is when the scene is activated it disables all elements within the app, i cannot scroll, or touch anywhere on the screen. The overlay is somehow blocking all touch input despite me using an activity rather than a layer option.
The irritating thing is I've tried all the options i can think of and i know this must be easy to fix?!
As a side note, Tasker does have all permissions granted. Any ideas?

Categories

Resources