melissapugs
Android Enthusiast
couldn't find variable for this...if I click on my home widget to enable that profile, is there a way to first end all other profiles (so I don't have to deselect my school profile widget first)? Thanks
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
couldn't find variable for this...if I click on my home widget to enable that profile, is there a way to first end all other profiles (so I don't have to deselect my school profile widget first)? Thanks
Thank you tasker sensei!I saw where you were going with this and just knew this question would come up. If you are using tasks similar to the link you posted then it's fairly easy to accomplish, just time consuming to enter.
You will have to use separate toggle variables for each profile (%SCHOOLTOGGLE, %HOMETOGGLE, %WORKTOGGLE, etc.) Then in EVERY task, you check if there is another one active and toggle it by checking the contents of these variables.
In each task check the other tasks, just NOT the one you are in now, so in the beginning of your ToggleSchool task - before the Variable Add command:
Tasker > Perform Task, ToggleHome check If at the bottom and in the boxes put %HOMETOGGLE = 1
Tasker > Perform Task, ToggleWork If %WORKTOGGLE = 1
I saw where you were going with this and just knew this question would come up. If you are using tasks similar to the link you posted then it's fairly easy to accomplish, just time consuming to enter.
You will have to use separate toggle variables for each profile (%SCHOOLTOGGLE, %HOMETOGGLE, %WORKTOGGLE, etc.) Then in EVERY task, you check if there is another one active and toggle it by checking the contents of these variables.
In each task check the other tasks, just NOT the one you are in now, so in the beginning of your ToggleSchool task - before the Variable Add command:
Tasker > Perform Task, ToggleHome check If at the bottom and in the boxes put %HOMETOGGLE = 1
Tasker > Perform Task, ToggleWork If %WORKTOGGLE = 1
Doh! I thought it was perfect...it's close, but I'm missing something.
Profiles: athome, atbeach, atschool, atcar
Example of all tasks:
Name: toggleatbeach
Perform task: toggleatcar if togglecar=1
Perform task: toggleathome if togglehome=1
Perform task: toggleatschool if toggleschool=1
Variable add, name %togglebeach, value 1, wrap around 2
profile status, name atbeach, set toggle
set widget icons both work (for toggleatbeach~1, or ~0)
This set up toggles off the last active profile, turns off the newly clicked profile...then for some reason turns the newly clicked profile off again, back to default. All the tasks are uniform in this, so I have one bad command that applies to all. I can 'reactivate' a profile by clicking the widget again. Thanks for any help.
YEAH! No, I'm so glad you explained this to me...I think I got lost because I used 'toggle' excessively besides the function. But at least I learned bunches about variables, and now I go off to make tons more profiles. Thanks so much for your patience/help.Ok, try to stay with me (if you don't want the technical explanation then skip the next part);
Tasker takes turns when running two tasks simultaneously. What's happening is when you use a Perform Task command Tasker performs that task while at the same time continuing the current task (multitasking). So let's say you were home then going to the beach: Tasker does the Perform Task on 'toggleathome', then does the Variable Add in 'togglebeach' which sets %TOGGLEBEACH to 1. In the 'togglehome' thread, Tasker now sees that %TOGGLEBEACH is set to 1 and does it's Perform Task on 'togglebeach' (which then turns off your widget). Then when you press the widget a second time, no Perform Task commands get ran so the widget only turns on 'togglebeach'. Kudos to you if you stayed with me and understand what I just said.
There are two ways you could fix this:
1: In each of the 3 Perform Task commands that are in the beginning of each task there is the box labeled Priority and it's default is set to 5. Change each of them to 10. This will cause Tasker to perform, and finish, these tasks before moving on to the next line in the first task. With this there shouldn't be any noticeably long delays like with the other option.
or
2: Put a Wait 3 seconds command before the Variable Add command to allow the other tasks to finish. The downside of this is there will be a delay (3 seconds) from the time you press the widget until it gets updated.
Actually, there are other ways to fix this but since you are admittedly rather new I'm not going to scare you off
Tested it for a couple days and works great
Ford Shelby GT500 at work, Katy Perry and her incredible cleavage away from work
+1 for awesomeness. What is the name of said app?
I know I've asked questions of people here, so I feel the need to share some of my profiles with you. Even if you like it or not.
My "Time" profile is modified from someone else's earlier in the thread; forgive me if I don't remember your username, original author person.
Time
Contexts:
Time - Every 15 min
Variable Value - if %SILENT matches off (since Media does not mute on the X)
Tasks:
Variable Split - %TIME splitter: .
Variable Set - %TIMEM to O'clock
>>> MOVE TO HERE <<<
Variable Subtract - %TIME1 Value 12 if %TIME1 > 12.
Variable Add - %TIME1 Value 12 if %TIME1< 1.
Variable Add - %TIME1 Value 1 if %TIME2 = 45 <<< MOVE THIS LINE UP
>>> Variable Set - %TIME1 to %TIME1 + 0 (with spaces), If %TIME1 < 10, check the Do Maths box <<<
Variable Set - %COUNT to 0 if %TIME2 = 00
Media Volume level 12 if %TIME2 = 00
Say: It's %TIME1 %TIMEM if %TIME2 = 0
Say: It's %TIME1 %TIME2 if %TIME2 = 30
Say: It's quarter after %TIME1 if %TIME2 = 15
Say: It's quarter to%TIME1 if %TIME2 = 45.
Music Play if %TIME2 = 00
Variable Add: %COUNT Value 1
Wait 3 Seconds
Go To Action Number 12 if %COUNT<%TIME1
Media Volume Level 2
Problems: The quarter to the hour ends up as "13" if you're in the 12 o'clock hour. Haven't figured out how to fix that, but otherwise, the rest work.
Can't figure out how to get rid of the "zero" in the hours before noon; still plotting on that one...
If you move the:
Variable Add - %TIME1 Value 1 if %TIME2 = 45
above the:
Variable Subtract - %TIME1 Value 12 if %TIME1 > 12
it will fix your problem of the quarter to 1 equaling 13.
Also, to get rid of the zero before the number (ex. 03) use this after the:
Variable Add - %TIME1 Value 12 if %TIME1< 1
Variable Set - %TIME1 to %TIME1 + 0 (with spaces), If %TIME1 < 10, check the Do Maths box
I need to display a Popup with a picture and a cancel button. I want the phone to vibrate using a pulse pattern until the cancel button is pressed on the popup. I can't seem to find a way to continue the vibrate until the cancel button is pressed. I can vibrate before displaying the popup but once the popup is displayed, the vibrate stops. I can't perform a loop once the popup is displayed because the popup sits and waits for the cancel button to be pressed. Any ideas?
It took a while to read through each post. .......but I have a question if Rob G. or the other pros can help me:
I have a Dell Streak. When using it as a phone, I want to force the portrait orientation. I find it very annoying that while I am on a call, the orientation keeps changing on the slightest tilt of movement.
I've learned a lot from this forum especially Rob G.'s tips. I have 10 profiles active and they work wonderful. BTW, this is my first post on AF.
Thanks.
Hi Guys/Gals.
I'm new to TASKER - I like it. Still learning all the in's and out's of it though.
What I have is two "profiles" - but it is strange it says there are no active profiles - for my phone.
I'm having a bit of trouble understanding how to add/include a second option like the one presented to you when you first start to make one of these "functions".
How can I have it act on two of the things listed in the initial "FIRST CONTEXT" list.
Say I want something from the STATE and something from the EVENT list?
P.S.
"Saymyname" was mentioned to read SMS's. That's now called announcify. I have it but it isn't listed in the "3rd party" list.
No big deal, as I am sure there are other ways to get it to read the SMS's, etc. But as it was mentioned, and I have it, I don't know how to get the two programs talking.
Thanks.