How to toggle a profile

362 views
Skip to first unread message

Saad Thahim

unread,
Apr 10, 2015, 12:06:52 PM4/10/15
to tas...@googlegroups.com
I want to toggle profile and also reteive its current status and send to zoom widget.

Is this possible?

Rich D

unread,
Apr 10, 2015, 1:04:30 PM4/10/15
to Tasker Google Groups Post


> I want to toggle profile and also reteive its current status and send to zoom widget.
>
> Is this possible?

Yes..

"Short, nondescript questions will yield Short, nondescript answers.."

I believe you have been around long enough to at least try something then post what you have and what is not working..  Just My 2¢.... 

Saad Thahim

unread,
Apr 10, 2015, 1:31:18 PM4/10/15
to tas...@googlegroups.com
I have a profile which i want to toggle with another task, and send the status of the profile
to zoom widget.
I have searched this group and google and worked with %PACTIVE but evertime its value is empty.
I have tired Flash['Hello' If %PACTIVE ~ *,AutoReply,*] but it didn't worked.
AutoReply is my profile name which i want to toggle.

Scott

unread,
Apr 10, 2015, 3:01:35 PM4/10/15
to tas...@googlegroups.com
Are you talking about toggling whether a profile is enabled or toggling whether a profile is active?  The Tasker>Profile Status action can enable or disable a profile.  To toggle if it's active or not you'll have to meet or not meet the context you set up for that profile.

There's nowhere near enough information there to say what's wrong with what you've done with %PACTIVE, but you're on the right track for seeing whether or not the profile is active or not.  You'll have to use %PENABLED if you want a list of profiles that are enabled.

easiuser

unread,
Apr 10, 2015, 5:58:30 PM4/10/15
to tas...@googlegroups.com
Make sure you have named your profiles.  (Not the automatic designation assigned by the UI)  Long press and then tap the "A" at the top of the screen to give a profile a name.


On Friday, April 10, 2015 at 12:31:18 PM UTC-5, Saad Thahim wrote:

Scott Miller

unread,
Apr 10, 2015, 6:08:03 PM4/10/15
to tas...@googlegroups.com

I'm guessing, since you didn't tell us, that your autoreply profile is based on SMS received or something like that. If so, this is an event context and will not show in the list of active profiles because it is nearly instantaneous.It's only active for a moment.

Scott M.

Rich D

unread,
Apr 10, 2015, 6:16:16 PM4/10/15
to Tasker Google Groups Post


> I'm guessing, since you didn't tell us, that your autoreply profile is based on SMS received or something like that. If so, this is an event context and will not show in the list of active profiles because it is nearly instantaneous.It's only active for a moment.
>
>

Yup, this would all be so easy if the OP would put some effort in and post the exported profile descriptions. He has been posting on here long enough to know this. In case he has forgotten.....

To post your profile or task here...  Long press on the profile or task name / ( 3 dot menu with 4.0+ ) export / export "DESCRIPTION" to clipboard (not XML)

Any linked tasks will be exported with the profile they are linked to..

To be able to export, The beginner mode needs to be off and the profile needs to be named by you (Not the Tasker listed name.  Tasker will list your profile with the context name if you have not given it one).

Saad Thahim

unread,
Apr 11, 2015, 1:52:31 AM4/11/15
to tas...@googlegroups.com
Actually the profile reads notifications through AutoNotifications and reply through the same plugin, i'm pasting its content here.

I have a widget zooper and zoom, which has an icon, i just want to send status of profile to the widget which i don't know how to.

Profile: AutoReply (49)
Event: AutoNotification Intercept [ Configuration:Event Behaviour: true
Notification Type: Only Created Notifications
Persistency Type: Both
Has Reply Action: true ]
Enter: Anon (50)
A1: Variable Set [ Name:%ANAPP To:%anapp Do Maths:Off Append:Off ] 
A2: AutoNotification Reply [ Configuration:Reply ID: %anreplyaction
Reply Text: Sorry %antitle. I'm away right now. Package:com.joaomgcd.autonotification Name:AutoNotification Reply Timeout (Seconds):0 ] 
A3: AutoNotification Cancel [ Configuration:Other Id: %anid
Package: %anpackage
Tag: %antag Package:com.joaomgcd.autonotification Name:AutoNotification Cancel Timeout (Seconds):0 ] 
A4: Say [ Text:%antitle has been replied. Engine:Voice:com.google.android.tts:hin-ind Stream:3 Pitch:5 Speed:5 Respect Audio Focus:On Network:Off Continue Task Immediately:Off ] 


On Friday, 10 April 2015 21:06:52 UTC+5, Saad Thahim wrote:
I want to toggle profile and also reteive its current status and send to zoom widget.

Is this possible?

On Friday, 10 April 2015 21:06:52 UTC+5, Saad Thahim wrote:
I want to toggle profile and also reteive its current status and send to zoom widget.

Is this possible?

Scott Miller

unread,
Apr 11, 2015, 9:12:24 AM4/11/15
to tas...@googlegroups.com


On Apr 11, 2015 1:52 AM, "Saad Thahim" <thah...@gmail.com> wrote:
>
> I have a widget zooper and zoom, which has an icon, i just want to send status of profile to the widget which i don't know how to.
>
> Profile: AutoReply (49)
> Event: AutoNotification Intercept [ Configuration:Event Behaviour: true

I'm not entirely certain what you mean by the "status" of the profile, but..........

This is still an event profile, so it will not appear in the %PACTIVE list. But it sounds like you want to use %PENABLED instead. This will list the profiles that are enabled, meaning the switch on the profile is turned on. If the profile is in the list, it is enabled. If it is not in the list, it is disabled. Enabled is not the same as active. When a profile is active, it's conditions are true. In order for a profile to become active, it must be enabled.

Scott M.

Saad Thahim

unread,
Apr 14, 2015, 12:37:30 AM4/14/15
to tas...@googlegroups.com
Thank you so much, It worked.
Reply all
Reply to author
Forward
0 new messages