What's new
DroidForums.net | Android Forum & News

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

What have YOU done with Tasker?

Try using the Missed Call State instead of using the Missed Call Event.

There are some amazing profiles here, so I'm hoping someone can help me with this, if possible.

What I am trying to do is have Text Widget show who I missed a call from. I tried to adapt the missed call setup that NebulaOcton helped establish in This Post, but it's not passing %CNAME correctly and not resetting the message after checking the call log.

Profile: Missed Call
Event: Missed Call
Task Edit:
-> Variable Set: %MCCLEAR to 0
-> tText widget configuration: tasker variable name: Missed | Message: Missed call from %CNAME
-> Wait 2 minutes
-> tText Widget configuration: tasker variable name: Missed | Message: No missed calls
-> Stop if %MCCLEAR ~ 1
-> Goto action 2

Then:
Profile: Missed Call Clear
Application: Contacts
Task Edit:
-> Variable Set: %MCCLEAR to 1

The end result is when I have a missed call, the text widget shows "Missed call from: %CNAME" and when I check the call log, the message doesn't clear. The other part of it is, if I change %CNAME to %BATT, the widget will show "Missed call from: 100", and won't change even after I check the call log.
 
Try using the Missed Call State instead of using the Missed Call Event.

Thank you, it now flips to No missed calls after 2 minutes!
However, it still shows "Missed call from: %CNAME" instead of the actual name. I tried %CTIME and that doesn't work also. but like before, %BATT does.
 
Try using the Missed Call State instead of using the Missed Call Event.

Thank you, it now flips to No missed calls after 2 minutes!
However, it still shows "Missed call from: %CNAME" instead of the actual name. I tried %CTIME and that doesn't work also. but like before, %BATT does.

Try dumping the value of the %CNAME variable into a user variable via Variable Set and using the user variable in the text widget.
 
Try dumping the value of the %CNAME variable into a user variable via Variable Set and using the user variable in the text widget.

Wow, works great!!! Added %MISS1 set to variable %CNAME and it works. THANK YOU!

If we had upvotes here, you'd get a massive one from me. :biggrin:
 
Last edited:
I am back, I was on a cruise in the Bahamas for a week.

If anyone needs anything, let me know but I see you guys have done great without me (not that I think I am some magical tasker genius and you must have my input on every task you write , I don't)
 
Hey, welcome back NebulaOcton! Hope you had a good time.

On topic, I had a snag with Tasker this morning with the handoff between 2 profiles.


Profile 1 is a docked in a car dock state.
-Tasks:
-->Turn on BT
-->Set media volume to 15
-->Load Music Mod
-->GTalk Updater set to "Busy | Driving - Responses will be delayed"
-Exit task:
-->Bluetooth off
-->Set media volume to 3
-->Gtalk updater set to "Available | [None]"

Profile 2 is a cell near state.
-Tasks:
-->WiFi off
-->Gtalk Updater ser to "Busy | At work - Responses may be delayed"

Profile 1 works great, sets me to driving. However, after I undocked, it went available, and never set to "At work". What am I doing wrong?
 
You probably set profile two off before you undocked.

One way to prevent it from going available is to set a variable %ATWORK to 1 when your second profile goes triggers. Then add an exit task to set %ATWORK to 0

Then in the exit of the first profile set an if condition for the Gtalk updater to check if %ATWORK is 1.

That should prevent it from going available.
 
You probably set profile two off before you undocked.

One way to prevent it from going available is to set a variable %ATWORK to 1 when your second profile goes triggers. Then add an exit task to set %ATWORK to 0

Then in the exit of the first profile set an if condition for the Gtalk updater to check if %ATWORK is 1.

That should prevent it from going available.

Ok, I think I got it. I makeshift tested it with a desk dock in the order things should happen to activate the profiles.

Profile 1, I added a Stop if %ATWORK ~ 1 just before the GTalk Updater setting to Available in the exit task.

Profile 2, I set a variable of %ATWORK ~ 1 at the beginning of the start task, and then set the GTalk updater to set GTalk to At Work if %ATWORK ~ 1. The exit task is to set the %ATWORK variable to 0.
 
Hi everyone,

I made a profile based on this tasker stepthrough:


"If my phone is stolen:
This profile activates GPS upon receiving a keyword text message, gets the current location with the GPS satellites (in the format 40.123214,-17.243243; to be plugged into google maps for location) and sends these back to the sender. Here is how I set it up:

New Context > Event > Phone > Received Text leave the sender blank (unless you want to specify only numbers that this can work with), make a tagline that isn't usual (so it doesn't trigger for weird people).

These are the tasks for the context:
1) New Task > GPS: Set ON
2) "+" [new task] > Misc > Get Location;
3) (tasks 3-whatever, in my case 8) "+" > Audio > (I turn down all audio so the thief doesn't get notifications, etc.)
9) "+" > Phone > Send SMS: Number = "%SMSRF" ; Message = "I am at GPS coordinates: %LOC" (no quotes in actual boxes)

(optional two tasks)
10) Calendar Insert Description = "%LOC" (again no quotes)
11) + > Display > Lock (this isn't a very good lock application, there are easy ways around it. Instead, you could get App Protector Pro and use + > App > Load App > App Protector Pro and lock everything).
12) Email photos snapped (you can figure this out, I don't find it useful)"

Everything works great and so I wanted to try out some of the optional ones listed at the bottom. In particular #11. I have App Protector Pro and I am able to successfully get Tasker to open up once the text message is received. But I can't figure out how to have Tasker make the program actually lock up the phone. I know that App Protector Pro does have a widget for quickly locking and unlocking all apps. Is there maybe someway for Tasker to activate it?

(I tried contacting the person who wrote the step-through but no response so far.)
 
Hi everyone,

I made a profile based on this tasker stepthrough:


"If my phone is stolen:
This profile activates GPS upon receiving a keyword text message, gets the current location with the GPS satellites (in the format 40.123214,-17.243243; to be plugged into google maps for location) and sends these back to the sender. Here is how I set it up:

New Context > Event > Phone > Received Text leave the sender blank (unless you want to specify only numbers that this can work with), make a tagline that isn't usual (so it doesn't trigger for weird people).

These are the tasks for the context:
1) New Task > GPS: Set ON
2) "+" [new task] > Misc > Get Location;
3) (tasks 3-whatever, in my case 8) "+" > Audio > (I turn down all audio so the thief doesn't get notifications, etc.)
9) "+" > Phone > Send SMS: Number = "%SMSRF" ; Message = "I am at GPS coordinates: %LOC" (no quotes in actual boxes)

(optional two tasks)
10) Calendar Insert Description = "%LOC" (again no quotes)
11) + > Display > Lock (this isn't a very good lock application, there are easy ways around it. Instead, you could get App Protector Pro and use + > App > Load App > App Protector Pro and lock everything).
12) Email photos snapped (you can figure this out, I don't find it useful)"

Everything works great and so I wanted to try out some of the optional ones listed at the bottom. In particular #11. I have App Protector Pro and I am able to successfully get Tasker to open up once the text message is received. But I can't figure out how to have Tasker make the program actually lock up the phone. I know that App Protector Pro does have a widget for quickly locking and unlocking all apps. Is there maybe someway for Tasker to activate it?

(I tried contacting the person who wrote the step-through but no response so far.)

I use a locale plugin to turn on my PIN lock when I text the special code to my phone. "Locale Password Lock Plugin". It costs $1 I think, but it does the job.
 
Hi everyone,

I made a profile based on this tasker stepthrough:


"If my phone is stolen:
This profile activates GPS upon receiving a keyword text message, gets the current location with the GPS satellites (in the format 40.123214,-17.243243; to be plugged into google maps for location) and sends these back to the sender. Here is how I set it up:

New Context > Event > Phone > Received Text leave the sender blank (unless you want to specify only numbers that this can work with), make a tagline that isn't usual (so it doesn't trigger for weird people).

These are the tasks for the context:
1) New Task > GPS: Set ON
2) "+" [new task] > Misc > Get Location;
3) (tasks 3-whatever, in my case 8) "+" > Audio > (I turn down all audio so the thief doesn't get notifications, etc.)
9) "+" > Phone > Send SMS: Number = "%SMSRF" ; Message = "I am at GPS coordinates: %LOC" (no quotes in actual boxes)

(optional two tasks)
10) Calendar Insert Description = "%LOC" (again no quotes)
11) + > Display > Lock (this isn't a very good lock application, there are easy ways around it. Instead, you could get App Protector Pro and use + > App > Load App > App Protector Pro and lock everything).
12) Email photos snapped (you can figure this out, I don't find it useful)"

Everything works great and so I wanted to try out some of the optional ones listed at the bottom. In particular #11. I have App Protector Pro and I am able to successfully get Tasker to open up once the text message is received. But I can't figure out how to have Tasker make the program actually lock up the phone. I know that App Protector Pro does have a widget for quickly locking and unlocking all apps. Is there maybe someway for Tasker to activate it?

(I tried contacting the person who wrote the step-through but no response so far.)

There may be a way to do it but you would need to contact the maker of App Protector Pro and find out from him.
 
I've been looking through this whole thread and can't find anyone who has used tasker for a sleep timer. I'm just trying to set it up so I can turn Pandora on and have it automatically turn off after-30 minutes, or whatever variable time. I can't seem to find any timer feature in tasker other than actually setting the time I want it to kill Pandora.

Any suggestions?

New - Type: Sleep Timer - Ok - Time - Uncheck From and To - Check Repeaiting - 2 minutes - Done - New Task - Ok
"+" - Variable - Variable Add - %SLEEPTIMER - Value: 2 - Done - Done

Tasks - New Task - Type: Pandora Sleep - Ok
"+" - App - Load App - Pandora - Done
"+" - Variable - Variable Set - %SLEEPTIMER to 0 - Done
"+" - Tasker - Profile Status - Press the Magnifying Glass - Select: Sleep Timer - On - Done
"+" - Tasker - Wait Until - %SLEEPTIMER equals 30 (if you want to use a length of time that is an odd number use greater than) - Done
"+" - Media - Media Control - CMD: Stop - Simulate Media Button - Done
"+" - Tasker - Profile Status - Press the Magnifying Glass - Select: Sleep Timer - Off - Done
"+" - Variable - Variable Clear - %SLEEPTIMER - Done - Done


Now you need to set up a widget on your homescreen select tasker and then choose Pandora Sleep for the task.

If Pandora doesn't auto play music then you need these lines in the Pandora Sleep Task right Load App: Pandora
"+" - Tasker - Wait - 15 seconds - Done
"+" - Media - Media Control - Play - Simulate Media Button - Done
 
Okay so I followed instructions on this step through:

Stolen Phone GPS Recovery - Tasker Wiki

It's working great but I can only get it to work ONCE. Any other subsequent attempts and I get nothing. (The GPS signal doesn't turn on, and no Location text is sent) Any suggestions? Or is this to be expected? The only way I'm able to get it working again is to restart the phone. But...once again it will only work once.

Thanks again.

Edit: The only recent change to my phone was installing the Locale Password Lock Plug In. But it is not activated at all at the moment.
 
Last edited:
Back
Top