1. Are you ready for the Galaxy S20? Here is everything we know so far!

Block calls while variable is ...

Discussion in 'Android Apps & Games' started by tvgdb, Dec 20, 2013.

  1. tvgdb

    tvgdb Lurker
    Thread Starter


    I have 2 tasks in tasker, one for "Driving mode ON" and another for "Driving Mode OFF". I would like to block all calls while Driving mode is ON (and if possible answer the caller with a predefined text message).

    I'm quite new to Tasker, but I love it already! Could someone please explain in detail what I have to do?

    Many thanks!

    1. Download the Forums for Android™ app!


  2. codesplice

    codesplice Elite Recognized Moderator

    D-U-R-X likes this.
  3. tvgdb

    tvgdb Lurker
    Thread Starter

    I have read the wiki, but it doesn't say how I can enable the profile only if Driving Mode is on. This blocks all calls, always...
  4. D-U-R-X

    D-U-R-X turbo drinker

    You could set up the "Blocking Calls" profile and leave it switched off and then, in "Driving Mode", you could tell Tasker to turn on the "Blocking Calls" profile...
  5. tvgdb

    tvgdb Lurker
    Thread Starter

    And how would I do that? I mean enable the profile with a task..
    Sorry for my noobieness, I'm really new to this :p
  6. D-U-R-X

    D-U-R-X turbo drinker

    No need to worry... I'm not that great with Tasker myself, but have set one that does this up recently :)

    First, set up the Call Blocker profile (leave it switched off). Next, add to the list of tasks associated with the Driving Mode profile using the "+" symbol, select "Tasker", then "Profile Status". Here you need to input Call Blocker (or whatever you called the profile) and set the status to "on" - this should sort you out :D
    codesplice likes this.
  7. tvgdb

    tvgdb Lurker
    Thread Starter

    I got it, thank you very much! :)
    D-U-R-X likes this.
  8. D-U-R-X

    D-U-R-X turbo drinker

    Good... glad I was able to help you out! :D


Tasker Forum


⚙No repetitive tasks for you, let your Android device handle it!⚙
Total Automation, From Settings to SMS. Here are only some
of the things you could do with Tasker. Its real power is the flexibility to combine contexts and tasks however you wish: https://tasker.joaoapps.com/exampleuses.htmlAutomations
Make your phone a true smart
phone! Why remember to change the volume every day when you leave home when your phone can do it for you? Automate stuff based on the app you're in
, the time of day
, your location
, your Wi-Fi network
, Received SMS or Calls
, the currently playing song
and many other (130+) states and events! Check out how easy it is to create an automation: https://www.youtube.com/watch?v=s6EAbLW5WSkActions
350+ actions allow you to truly customize your phone like never before! Send SMS, create notifications, change almost any system setting like Wifi Tether, Dark Mode, Always On Display, change any volume, control Do Not Disturb, open apps, file manipulation, control music playback, get your location... you get the idea. If you can think of it, Tasker can probably do it for you! Note: root is NOT (I repeat NOT) required for majority of the functions.
However, a few of the actions (like the Airplane Mode action and the Mobile Data action on some devices) require root. Regarding those few actions that do require root, this is because of Android security policies that developers cannot work around. ☑ Other Triggers
Manually trigger your actions via launcher shortcuts, quick setting tiles, widgets, long-pressing volume buttons, media buttons (like the ones on your BT headsets or headphones), Bixby button, Navigation Bar, Notificaitons and more! ☑ Join - Remote Tasker
Adding Join (https://play.google.com/store/apps/details?id=com.joaomgcd.join) to the mix will even allow you to trigger tasks from another Android device or PC! ☑ Scenes
Design your own UI and use it to display any info you want or trigger any task! ☑ App Creation
Create your own standalone apps to share or sell with the Tasker App Factory (https://play.google.com/store/apps/details?id=net.dinglisch.android.appfactory)! ☑ Developer Friendly
A lot of 3rd party developers already allow you to perform actions in their apps and listen to their events/states through Tasker! Check out a list of plugins https://tasker.joaoapps.com/pluginlist.html. You can also call most of the Web APIs from Tasker with the powerful HTTP Auth and HTTP Request actions! Check out an example https://youtu.be/yAt2D1XmgUI. ☑ 7 day trial - one time payment to unlock
Get it here: https://tasker.joaoapps.com/download.htmlUseful Links
Starter Guides: https://tasker.joaoapps.com/guides.html Pre-made projects: https://forum.joaoapps.com/index.php?resources/ Official Support Forumhttps://groups.google.com/forum/#!forum/tasker Community full of people willing to help: https://www.reddit.com/r/tasker/ It's not possible to fix problems reported via Play Store Comments so please use the "Report Issue To Developer" option in the app > Menu to do so. Note
: Tasker uses the BIND_DEVICE_ADMIN permission in order to provide the System Lock functionality

February 15, 2020
Last Updated

Share This Page