Toggle widget with variable set

106 views
Skip to first unread message

Ollie Frith

unread,
Aug 20, 2011, 5:11:35 PM8/20/11
to Tasker
So, im struggling with a toggle widget..cant work something out,

I want to be able to toggle a task on and off with one widget button.
The task is a variable set. I want to be able to switch this on and
off which in turn would trigger a number of tasks. I just cant seem to
get my head round this.here's what I want to do...

I work in various locations, and at various times. When I'm at work I
want to be able to run a number of tasks eg silence, no sync, sms
respond if call from favourite etc. I have all of this running with a
single location context but I want to be able to have a toggle widget
instead so I can run in wherever I am working.

I have set up a task that is variable set name %where to work which
all the other tasks work from. It is this variable set that I want to
toggle on and off

Can anyone point me in the right direction?

Ollie Frith

unread,
Aug 20, 2011, 5:15:56 PM8/20/11
to Tasker

Pent

unread,
Aug 21, 2011, 4:54:12 AM8/21/11
to Tasker

> I have set up a task that is variable set name %where to work which
> all the other tasks work from. It is this variable set that I want to
> toggle on and off

Here's one way, there may be more elegant ways :-)

Goto 4 If %where Matches work
Variable Set %where, work
Stop
Variable Clear %where

Pent
Reply all
Reply to author
Forward
0 new messages