disable project?

347 views
Skip to first unread message

Daniel Cheng

unread,
Nov 14, 2012, 5:53:04 AM11/14/12
to tas...@googlegroups.com
Is there any quick way to disable all profiles on a project from a task?
We have a action to disable profile, but it does not seems to work with projects.

Vladimir Oz

unread,
Nov 14, 2012, 6:01:20 AM11/14/12
to tas...@googlegroups.com
+1. even disable whole project from UI would be appreciated :) 

Nuno Mendes

unread,
Nov 14, 2012, 6:50:54 AM11/14/12
to tas...@googlegroups.com
+2:)

Pent

unread,
Nov 14, 2012, 6:52:23 AM11/14/12
to Tasker
> +1. even disable whole project from UI would be appreciated :)

That one is more feasable and it's already on the list.

Pent

Vladimir Oz

unread,
Nov 14, 2012, 7:06:40 AM11/14/12
to tas...@googlegroups.com
BTW, and RunLog Short Cut for Home Screen ;)

среда, 14 ноября 2012 г., 15:52:27 UTC+4 пользователь Pent написал:

Ping Flood

unread,
Feb 28, 2015, 2:17:35 PM2/28/15
to tas...@googlegroups.com
I know it is a +2yr bump, but I was searching for this before ask.. (Also found it in the to do list)

I think we all sometimes have some complex projects (even with some mixed on/off profiles states), and when we are developing/testing something new, disabling an entire project would be very useful. (and then restore the on/off profiles states when re-enabling it)

No news regarding this subject?

With kind regards

Scott Windham

unread,
Feb 28, 2015, 4:15:36 PM2/28/15
to tas...@googlegroups.com

Hello,
   If you are asking for a off/on switch for tasks. I do not know of any. I do have a task setup to turn off all I do not need when riding my motorcycle. Then turn it back on when I am done. I use my Bluetooth headset as a trigger.
Create a task using "profile status"

 Galaxy S5 5.0
   Scott

Ping Flood

unread,
Feb 28, 2015, 4:36:34 PM2/28/15
to tas...@googlegroups.com
Hi Scott,

thanks for your suggestion, but it's not what I'm looking for.

I wish we could disable an entire project from running. E.g, long press a project, select disable and it will not run when Tasker is enabled.
When you want the project to run again, long press it, select enable and it run as always. It's something to be done manually, not automatically.

It is useful for those who develop several projects and don't want they run between development intervals and don't want other projects run while you are developing/testing it.

Also for those who have several projects with a lot of profiles and don't wan't to have it running always. (and please, notice: disabling a project is similar, but isn't the same as disabling all profiles: In a project, for any reason, you could have some profiles disabled. When you re-enable a project, these profiles should be restored disabled)


I think Pent already understand the needing of this as there is a plan to develop it in the to do list. Search for "enable/disable project" here: http://tasker.dinglisch.net/todo.html 

The "bump" in the old topic is to remember and +1 the needing of this.. :)

With kind regards

Rich D

unread,
Feb 28, 2015, 5:16:52 PM2/28/15
to Tasker Google Groups Post

> I wish we could disable an entire project from running. E.g, long press a project, select disable and it will not run when Tasker is enabled.
> When you want the project to run again, long press it, select enable and it run as always. It's something to be done manually, not automatically.

+1 for the feature request..

I will usually just delete the project (exporting to sd card first of course) then import when needed.  I have never lost one yet.. It is almost the same amount of actions that would be required to enable / disable. And it frees up a little more space which translates to less time to load the tasker UI.   Of course you need to find the correct project to import which could take a little bit of time. 

Scott Windham

unread,
Feb 28, 2015, 5:20:31 PM2/28/15
to tas...@googlegroups.com
I know this is still not exactly what you are looking for

http://nxfifteen.me.uk/projects/profile-toggle/

Scott

Scott Miller

unread,
Feb 28, 2015, 8:33:10 PM2/28/15
to tas...@googlegroups.com


On Feb 28, 2015 4:36 PM, "Ping Flood"

>
> I wish we could disable an entire project from running.

Please keep in mind that projects do not run. They are for organizational purposes, in lieu of folders. For that matter, profiles don't really "run" either. They monitor a condition. Tasks run.

Any task is available to be started by any profile, regardless of which project it is stored within.

It may not be practical for Tasker to have an option to enable/disable projects. At the very least, there would probably need to be a lot of housekeeping to keep track of what should and should not be monitoring conditions, separately from the profile's own enable/disable switch. Consider the effort involved in tracking the move of a profile that is enabled, but in a disabled project, to another project that is not disabled.

Now that I've pointed out the complexities, Pent will probably have it working in no time at all. :-)

Scott M.

Rishabh Gupta

unread,
Oct 7, 2015, 8:30:38 PM10/7/15
to Tasker
That would be very helpful. +1 for the idea.

I would also like to see an option to turn projects on/off by nfc tags.

Eg, I have a project where the profile detects a call ringing & then the task speaks out the name of the caller. This project has a total of 3 profiles & 2 task. I DON'T WANT THE PROFILES TO BE ON ALL THE TIME, unless I'm on my bike. Hence I wanted to stick a NFC chip on my bike which would turn on/off the project/ 3profiles.

Rich D

unread,
Oct 8, 2015, 5:20:15 AM10/8/15
to Tasker Google Groups Post


> I would also like to see an option to turn projects on/off by nfc tags.

You would just have the nfc task toggle the value of  a global variable, then use the context / state /'variable value' as a additional context in all three profiles.

To add a context, long press the first context / add

Mosfet

unread,
Oct 8, 2015, 7:00:54 AM10/8/15
to Tasker
In a project i provided every profile with a descriptive name plus a common tag.
In order to obtain that subset of profiles in an array I used

Test Tasker [ Type:Profiles Data: Store Result In:%List ]

I cleared the names not containing that tag from the array and renumbered it.

I guess you may then switch off the profiles listed in the array with a for loop.

can be slow, but it should work.


Availabe Commandr Commands (247)
A1: Test Tasker [ Type:Profiles Data: Store Result In:%List ]
A2: Variable Set [ Name:%num To:0 Do Maths:Off Append:Off ]
A3: For [ Variable:%PROJ Items:%List(:) ]
A4: Variable Add [ Name:%num Value:1 Wrap Around:0 ]
A5: If [ %PROJ !~ Comdr * ]
A6: Variable Clear [ Name:%List(%num) Pattern Matching:Off ]
A7: Else
A8: Variable Search Replace [ Variable:%List(%num) Search:Comdr Ignore Case:Off Multi-Line:Off One Match Only:Off Store Matches In: Replace Matches:On Replace With: ]
A9: End If
A10: End For
A11: Array Process [ Variable:%List Type:Squash ]


easiuser

unread,
Oct 8, 2015, 11:10:05 AM10/8/15
to Tasker
I +1 this option as well but would like to see projects act more like modules instead of just an organizational scheme.  I will generally prefix my profiles/tasks/scenes because I am always trying something out and run into duplicate names, especially when importing someone elses project.
 
I do something very similar and prefix my profiles for specific projects if I need to disable them.  I call this task and put the prefix in %par1. It takes about 5 seconds to complete with 135 named profiles.
 
ProjectToggle (233)
 A1: Test Tasker [ Type:Profiles Data: Store Result In:%profilelist ]
 A2: For [ Variable:%target Items:%profilelist() ]
 A3: Profile Status [ Name:%target Set:Toggle ] If [ %target ~ %par1* ]
 A4: End For
 
I have a similar ProjectEnable and ProjectDisable task. 
A simple addition, at least for my naming structure, would be able to use pattern matching in the Profile Status action..
Reply all
Reply to author
Forward
0 new messages