Maybe one of the pros here can give you better help...?
1) All volumes can be at different max levels, ie: media max is 15, alarm max is 7.
2) Apps can choose to ignore volume settings, including silent mode
3) Immediate might be relative. It would or could happen very quickly at least.
I made a task that remapped volume keys for other volume changes android wouldn't default to during use. The basic premise was monitoring changes in dynamic %VOL* variables, and the task applied a standard calculation to translate the changed volume into another inclremental change in volume. The downside was when android controlled media volume, and volume keys were tied to media, it took two volume presses to change the alarm level once (since media is in increments of 15, and alarm only 7).
Unfortunately, I don't have the task saved on my device any longer. I'd have to search for the thread mentioned or recreate it, and I have limited time at the moment. I'll check back when I have time later. Sorry...
--
You received this message because you are subscribed to the Google Groups "Tasker" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tasker+un...@googlegroups.com.
Visit this group at http://groups.google.com/group/tasker.
For more options, visit https://groups.google.com/d/optout.
>
> I created a couple of profiles to monitor Ringer and Media volumes and tasks to set the other volume settings to track the change thus unifying the volumes.
>
> Below are the two profiles. It should at least give you an idea of how to try to do this.
>
Nice idea Bob. Just to put in my 2¢... I think I would try use Bobs idea only use just one profile and 1 task with a event / variable set / : %VOLR/%VOLM ect
Then within the task use the %evtprm to figure out which volume was set and act accordingly. You will need to set the task collision setting to ' abort existing' in the task properties.
Untested.... Just a thought.....
> Nice idea Bob. Just to put in my 2¢... I think I would try use Bobs idea only use just one profile and 1 task with a event / variable set / : %VOLR/%VOLM ect
>
> Then within the task use the %evtprm to figure out which volume was set and act accordingly. You will need to set the task collision setting to ' abort existing' in the task properties.
>
> Untested.... Just a thought.....
Forgot to mention, if you use the above approach you will not need to disable and enable the profile... :)
> Profile: Vol_Unified (405)
> Event: Variable Set [ Variable:%VOL* Value:* ]
> Enter: Vol_Unified (404)
> Run Both Together
>
If you have the task collision set to ' run both together' and the tasks alternate actions is it not possible you could be setting the volumes to different values?
I would have thought the ' abort existing task' would be the way to go...
Impressive! Does anyone know what the plural of genius is??? This forum is full of them!!
--
You received this message because you are subscribed to a topic in the Google Groups "Tasker" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tasker/CU8gL34Qkvg/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.
> I found that if you abort existing task then it would abort after having set some of the volumes.
Correct. But don't all the volumes get set again with the new task iteration so you end up with the correct settings?
By selecting "run both together" the tasks always complete and the volumes don't get out of sync.
>
If it is working I would stick with it.. :) I never really figured out when tasks that run together actually "alternate actions". If there is a wait involved then at that point they will definitely alternate but I have found if there is no delay then the first iteration seems to complete before the next iteration runs...
> Is there a trick to using pattern matching or multiple variables in a profile context. I can get a profile to trigger with Variable Set %VOLM or %VOLR but not %VOL* or %VOLR/%VOLM
>
Both %VOL* and %VOLR/%VOLM/%VOLA. Work on my device. What does not work is if I try to set these volumes with tasker it will not fire the profile. But if I set them with another app or in android settings then the profile fires and I get the correct values in %evtprm.
I have a rooted Motorola Droid 4 / Stock ROM / Tasker / Version: 4.4u2m Android version 4.1.2
> I tried both Variable Set %VOL* and %VOLR/%VOLM/%VOLS/etc before I answered OP and that would not fire using the volume buttons.
Strange.... I have tried this now several times and different ways and it definitely works on my device. Not sure why it would be different on other devices????
> Strange.... I have tried this now several times and different ways and it definitely works on my device. Not sure why it would be different on other devices????
Just curious, does a context like this work when the variable %Test1234 is changed??
Profile: Volume Test (554)
Event: Variable Set [ Variable:%VOLR/%VOLM/%Test1234 Value:* ]
Enter: Volume Test (549)
A1: Flash [ Text:%evtprm(:) Long:On ]
This works for me as well...
Bump @ Pent.....
Could you comment on this issue. It seems like a bug?
The issue seems to be that on my device I can make a
Profile like this
Profile: Volume Test (554)
Event: Variable Set [ Variable:%VOLR/%VOLM/%Test1234 Value:* ]
Enter: Volume Test (549)
A1: Flash [ Text:%evtprm(:) Long:On ]
And if I change ringer volume or media volume either with a app (other then tasker) or with the android setting this profile will fire. This will not work on the other users devices. They can get it to work if there is only one volume specified in the context but it will not work with multiple volume variables "or'd" together. Hopefully there is enough information in this post for you to comment on.
Thanks, Rich..