How to refresh Tasker.

203 views
Skip to first unread message

Logan Fury

unread,
Feb 12, 2020, 6:11:33 PM2/12/20
to Tasker
Hello,

My Tasker wont run anything and keeps giving me a message that 10 tasks are already queued.

I have exited Tasker and rebooted my phone and the error persists.

Can anyone help please?

Logan

Robert Ryan

unread,
Feb 12, 2020, 6:55:43 PM2/12/20
to tas...@googlegroups.com
Disable all of your profiles, then disable/enable Tasker. Do you still get
the error?

If that solves the problem, then it was a profile causing it. Enable the
profiles one at a time until you find the culprit.
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/tasker/600161d7-c7dc-489a-92e8-0c2a371ee6c7%40googlegroups.com.



Logan Fury

unread,
Feb 12, 2020, 7:08:38 PM2/12/20
to tas...@googlegroups.com
I may have found a part of the problem, I think the following Tasks are running constantly. I found this script:

    Key Press Timer Vx3 (24)
    <✔ NUMBER OF KEY PRESSES TO DETECT>
    A1: Variable Set [ Name:%maxclicks To:3 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:3 ] 
    <✔ TIME IN MS ALL KEY PRESSES MUST OCCUR WITHIN>
    A2: Variable Set [ Name:%time_interval To:3000 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:3 ] 
    <↘ BEGIN>
    A3: Anchor 
    <TIMER>
    A4: Wait [ MS:%time_interval Seconds:0 Minutes:0 Hours:0 Days:0 ] 
    <IF NUMBER OF CLICKS NOT REACHED>
    A5: If [ %KeyPressCount != %maxclicks ]
    <RESET COUNTER>
    A6: Variable Set [ Name:%KeyPressCount To:0 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:3 ] 
    A7: Stop [ With Error:Off Task: ] 
    A8: Else 
    <RESET COUNTER>
    A9: Variable Set [ Name:%KeyPressCount To:0 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:3 ] 
    A10: End If 
    <↘ <b> PUT MAIN ACTIONS BELOW OR RUN ANOTHER TASK USING "PERFORM TASK" ETC>
    A11: Anchor 
    A12: Flash [ Text:SUCCESS! %maxclicks CLICKS Long:On ] 
   
Made a variant:

    Key Press Timer Vx2 (243)
    <✔ NUMBER OF KEY PRESSES TO DETECT>
    A1: Variable Set [ Name:%clicks To:2 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:3 ] 
    <✔ TIME IN MS ALL KEY PRESSES MUST OCCUR WITHIN>
    A2: Variable Set [ Name:%time_interval To:1500 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:3 ] 
    <↘ BEGIN>
    A3: Anchor 
    <TIMER>
    A4: Wait [ MS:%time_interval Seconds:0 Minutes:0 Hours:0 Days:0 ] 
    <IF NUMBER OF CLICKS NOT REACHED>
    A5: If [ %KeyPressCount != %clicks ]
    <RESET COUNTER>
    A6: Variable Set [ Name:%KeyPressCount To:0 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:3 ] 
    A7: Stop [ With Error:Off Task: ] 
    A8: Else 
    <RESET COUNTER>
    A9: Variable Set [ Name:%KeyPressCount To:0 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:3 ] 
    A10: End If 
    <↘ <b> PUT MAIN ACTIONS BELOW OR RUN ANOTHER TASK USING "PERFORM TASK" ETC>
    A11: Anchor 
    A12: AutoInput Screen Off/On [ Configuration:Screen Off Or On: Turn On Timeout (Seconds):60 ] 
    A13: Run Shell [ Command:date +"%l %M %p, %B %e, %Y" Timeout (Seconds):0 Use Root:Off Store Output In:%DATETIME Store Errors In: Store Result In:%DATETIME ] 
    A14: Say WaveNet [ Text:%DATETIME Voice:en-GB-Wavenet-A Stream:3 Pitch:20 Speed:8 Continue Task Immediately:On File: Override API Key: Respect Audio Focus:On ] 
    A15: Flash [ Text:SUCCESS! %clicks CLICKS Long:On ] 
   
and then composed a combo script in anticipation of a 4 click routine:

    Volume Clicks (25)
    <✔ TIME IN MS ALL KEY PRESSES MUST OCCUR WITHIN>
    A1: Variable Set [ Name:%time_interval To:3000 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:3 ] 
    <↘ BEGIN>
    A2: Anchor 
    <TIMER>
    A3: Wait [ MS:%time_interval Seconds:0 Minutes:0 Hours:0 Days:0 ] 
    <IF NUMBER OF CLICKS NOT REACHED>
    A4: If [ %KeyPressCount != 2/3/4 ]
    <RESET COUNTER>
    A5: Variable Set [ Name:%KeyPressCount To:0 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:3 ] 
    A6: Stop [ With Error:Off Task: ] 
    A7: Else If [ %KeyPressCount ~ 3 ]
    <↘ <b> PUT MAIN ACTIONS BELOW OR RUN ANOTHER TASK USING "PERFORM TASK" ETC>
    A8: Anchor 
    A9: Run Shell [ Command:date +"%l %M %p, %B %e, %Y" Timeout (Seconds):0 Use Root:Off Store Output In:%DATETIME Store Errors In: Store Result In:%DATETIME ] 
    A10: Say WaveNet [ Text:%DATETIME Voice:en-GB-Wavenet-A Stream:3 Pitch:20 Speed:8 Continue Task Immediately:On File: Override API Key: Respect Audio Focus:On ] 
    A11: Flash [ Text:SUCCESS! %KeyPressCount CLICKS Long:On ] 
    <RESET COUNTER>
    A12: Variable Set [ Name:%KeyPressCount To:0 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:3 ] 
    A13: Else If [ %KeyPressCount ~ 2 ]
    <↘ <b> PUT MAIN ACTIONS BELOW OR RUN ANOTHER TASK USING "PERFORM TASK" ETC>
    A14: Anchor 
    A15: Perform Task [ Name:*TCPIP On/Off? Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:Off ] 
    A16: Flash [ Text:SUCCESS! %KeyPressCount CLICKS Long:On ] 
    <RESET COUNTER>
    A17: Variable Set [ Name:%KeyPressCount To:0 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:3 ] 
    A18: End If 
   
These all worked for a few days and now they all error when launched, saying they are already running and collision handling is preventing another instance. 

I've deleted all but the multiple click script but it's still returning the already running message when launched. 

It is driving me crazy that this worked fine for days and now nothing but errors 

Logan 

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/U3YmU0S_Jqw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tasker/1703bd41a28.2819.558997d9ea49a12c5d90790601ab7599%40gmail.com.

Rich D

unread,
Feb 12, 2020, 7:41:26 PM2/12/20
to Tasker Google Groups Post

- Enable and clear the run log (menu -> more run log)

- Long press the task tab -> kill all (That will kill all currently running tasks)

Check the run log and and find what profiles are starting any Rouge looping tasks. 

.

You can also increase the number of allowed running tasks in menu -> Preferences -> action -> Maximum queued tasks.

However if you are having run away Rouge tasks you need to identify what is starting them. 


Logan Fury

unread,
Feb 12, 2020, 9:43:02 PM2/12/20
to Tasker
unfortunately run log hadnt been enabled but it is now. I dont see anything that looks like an error. It shows the click tasks launching when I double click my Vol Up key, but I dont receive any of the actions. 

This Task has slowly deteriated. First it worked perfectly, announced the time, or day and time, then flashed the "success # clicks". Then the announcements stopped but the flashes continued, now it does nothing at all.

Can anyone determine why this happened by looking at the above posted scripts please?

Rich D

unread,
Feb 12, 2020, 10:36:45 PM2/12/20
to Tasker Google Groups Post
You would need to post exactly what these tasks are trying to accomplish and how the flow is supposed to work and post the exported profile description that launches these tasks.  Along with the run log after clearing run log and stopping all tasks then activating the profile. 

Logan Fury

unread,
Feb 12, 2020, 10:41:41 PM2/12/20
to tas...@googlegroups.com
Hello Rich,

I want to follow your troubleshoot directions, but unfortunately, long click on the Tasks tab at the bottom of the Run Log page brings up no option to Kill all Tasks. 

Am I in the right spot? If so is there another way to accomplish the Kill All?

Thank you!

On Wed, Feb 12, 2020 at 7:36 PM Rich D <ricp...@gmail.com> wrote:
You would need to post exactly what these tasks are trying to accomplish and how the flow is supposed to work and post the exported profile description that launches these tasks.  Along with the run log after clearing run log and stopping all tasks then activating the profile. 

--
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/U3YmU0S_Jqw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.

Logan Fury

unread,
Feb 12, 2020, 11:29:46 PM2/12/20
to tas...@googlegroups.com
I cleared log and performed a double volume Click. It should have launched a Task and flashed 2 click success but did nothing. Here is run log:


20200212 20.25.18 E Start ID0:0.0 TaskService 20200212 20.25.19 P Instant ID242 AutoInput Vol UP Multi 20200212 20.25.19 T Running ID241 Anon 20200212 20.25.19 A OK ID241.1 Anon.↘ BEGIN 20200212 20.25.19 A OK ID241.2 Anon.ADD TO COUNT 20200212 20.25.19 A Disabled ID241.3 Anon.START TIMER 20200212 20.25.19 T Running ID25:2 Volume Clicks 20200212 20.25.19 A OK ID241.4 Anon.START TIMER 20200212 20.25.19 T ExitOK ID241 Anon 20200212 20.25.19 A OK ID25:2.1 Volume Clicks.✔ TIME IN MS ALL KEY PRESSES MUST OCCUR WITHIN 20200212 20.25.19 A OK ID25:2.2 Volume Clicks.↘ BEGIN 20200212 20.25.19 T Running ID241:3 Anon 20200212 20.25.19 P Instant ID242 AutoInput Vol UP Multi 20200212 20.25.19 A OK ID25:2.3 Volume Clicks.TIMER 20200212 20.25.19 A OK ID241:3.1 Anon.↘ BEGIN 20200212 20.25.19 A OK ID241:3.2 Anon.ADD TO COUNT 20200212 20.25.19 A Disabled ID241:3.3 Anon.START TIMER 20200212 20.25.19 T RejCopy ID25 Volume Clicks 20200212 20.25.19 A Err ID241:3.4 Anon.START TIMER 20200212 20.25.19 T ExitErr ID241:3 Anon 20200212 20.25.22 A OK ID25:2.3 Volume Clicks.TIMER 20200212 20.25.22 A OK ID25:2.4 Volume Clicks.IF NUMBER OF CLICKS NOT REACHED 20200212 20.25.22 A OK ID25:2.5 Volume Clicks.RESET COUNTER 20200212 20.25.22 A OK ID25:2.6 Volume Clicks.Stop 20200212 20.25.22 T ExitOK ID25:2 Volume Clicks 20200212 20.25.22 E Stop ID0:0.0 TaskService

--
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/U3YmU0S_Jqw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.
Message has been deleted

edmond

unread,
Feb 13, 2020, 12:12:10 AM2/13/20
to Tasker
See if this is helpful to your situation as not sure if you wanna KILL ALL EVERY TASK in one click : 


Thank you very much.
edmond.
To unsubscribe from this group and all its topics, send an email to tas...@googlegroups.com.

Logan Fury

unread,
Feb 13, 2020, 12:27:27 AM2/13/20
to tas...@googlegroups.com
Thank YOU very much edmond, that is very helpful :) 

On Wed, Feb 12, 2020, 9:09 PM edmond <177...@gmail.com> wrote:
S Auto Stop All Tasks (1470)
   
    A9: Variable Set [ Name:%task_names To:%TRUN Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:0 ] 
    A10: Variable Split [ Name:%task_names Splitter:, Delete Base:Off ] 
    A11: For [ Variable:%this_task Items:%task_names() ] 
    A12: Stop [ With Error:Off Task:%this_task ] If [ %this_task !~ Stop All Tasks ]
    A13: End For 

This is the KILL ALL TASK , I use in my device. ( I skipped showing you A1 to A8 as not necessary for your situation )

Thank you very much.
edmond.

On Thursday, 13 February 2020 11:41:41 UTC+8, Logan Fury wrote:
Hello Rich,

I want to follow your troubleshoot directions, but unfortunately, long click on the Tasks tab at the bottom of the Run Log page brings up no option to Kill all Tasks. 

Am I in the right spot? If so is there another way to accomplish the Kill All?

Thank you!

On Wed, Feb 12, 2020 at 7:36 PM Rich D <ricp...@gmail.com> wrote:
You would need to post exactly what these tasks are trying to accomplish and how the flow is supposed to work and post the exported profile description that launches these tasks.  Along with the run log after clearing run log and stopping all tasks then activating the profile. 

--
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/U3YmU0S_Jqw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tas...@googlegroups.com.

--
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/U3YmU0S_Jqw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.

Logan Fury

unread,
Feb 13, 2020, 4:38:19 AM2/13/20
to tas...@googlegroups.com
Found some errors in this log. Why would the script timer be disabled?


20200213 01.35.01 P Instant ID242 AutoInput Vol UP Multi 20200213 01.35.01 E Start ID0:0.0 TaskService 20200213 01.35.01 T Running ID241 Anon 20200213 01.35.01 A OK ID241.1 Anon.↘ BEGIN 20200213 01.35.01 A OK ID241.2 Anon.ADD TO COUNT 20200213 01.35.01 A Disabled ID241.3 Anon.START TIMER 20200213 01.35.01 T Running ID25:2 Volume Clicks 20200213 01.35.01 A OK ID241.4 Anon.START TIMER 20200213 01.35.01 T ExitOK ID241 Anon 20200213 01.35.01 A OK ID25:2.1 Volume Clicks.✔ TIME IN MS ALL KEY PRESSES MUST OCCUR WITHIN 20200213 01.35.01 A OK ID25:2.2 Volume Clicks.↘ BEGIN 20200213 01.35.01 P Instant ID242 AutoInput Vol UP Multi 20200213 01.35.01 T Running ID241:3 Anon 20200213 01.35.01 A OK ID25:2.3 Volume Clicks.TIMER 20200213 01.35.01 A OK ID241:3.1 Anon.↘ BEGIN 20200213 01.35.01 A OK ID241:3.2 Anon.ADD TO COUNT 20200213 01.35.01 A Disabled ID241:3.3 Anon.START TIMER 20200213 01.35.01 T RejCopy ID25 Volume Clicks 20200213 01.35.01 A Err ID241:3.4 Anon.START TIMER 20200213 01.35.01 T ExitErr ID241:3 Anon 20200213 01.35.04 A OK ID25:2.3 Volume Clicks.TIMER 20200213 01.35.04 A OK ID25:2.4 Volume Clicks.IF NUMBER OF CLICKS NOT REACHED 20200213 01.35.04 A OK ID25:2.5 Volume Clicks.RESET COUNTER 20200213 01.35.04 A OK ID25:2.6 Volume Clicks.Stop 20200213 01.35.04 T ExitOK ID25:2 Volume Clicks 20200213 01.35.04 E Stop ID0:0.0 TaskService

Rich D

unread,
Feb 13, 2020, 10:18:46 AM2/13/20
to Tasker Google Groups Post


I cleared log and performed a double volume Click. It should have launched a Task and flashed 2 click success but did nothing. Here is run log:

You are going to have to be able to read the run log to troubleshoot these types of issues. There is a section on the run log in the user guide. Read through it and see if can then follow the flow of how your profiles are triggering and your tasks are running.  It is the 'execution ID'  that you will be most concerned with when you have too many tasks running.  I will edit a few lines to get you started. Please post back with questions when you get lost..


20200212 20.25.18 E Start ID0:0.0 TaskService
This is taskers task service starting. It will always start before a task can run then it will stop when there are no more tasks to run. 

20200212 20.25.19 P Instant  ID242    AutoInput Vol UP Multi
This is the profile 'AutoInput Vol UP Multi' going active (note the 'P' for profile and instant means it is a event profile)

''
20200212 20.25.19 T Running  ID241    Anon


This is a unnamed task starting (most likely the one linked to 'AutoInput Vol UP Multi' but not necessarily.

20200212 20.25.19 A OK       ID241.1  Anon.↘ BEGIN

This is the first action in that task
20200212 20.25.19 A OK       ID241.2  Anon.ADD TO COUNT

This is the second action in that task
20200212 20.25.19 A Disabled ID241.3  Anon.START TIMER

This is the third action and this action is currently disabled so it did not run.
20200212 20.25.19 T Running  ID25:2   Volume Clicks

This is the task 'Volume Clicks' starting and you can see a execution ID of meaning you now have 2 tasks running 
20200212 20.25.19 A OK       ID241.4  Anon.START TIMER

This is the fourth action in the task

20200212 20.25.19 T ExitOK   ID241    Anon

This is the task stopping
20200212 20.25.19 A OK       ID25:2.1 Volume Clicks.✔ TIME IN MS ALL KEY PRESSES MUST OCCUR WITHIN

This is the first action in the Volume Clicks task. It still maintains the 2 for a execution ID even though there is only one task currently running.

Logan Fury

unread,
Feb 13, 2020, 12:09:06 PM2/13/20
to tas...@googlegroups.com
Good Morning Rich,

You may have already revealed the problem: none of the Actions in the Task are disabled


This is the third action and this action is currently disabled so it did not run.
20200212 20.25.19 T Running  ID25:2   Volume Clicks

Why would the above fail to fire if it is scripted to run?

Logan 

--
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/U3YmU0S_Jqw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.

Rich D

unread,
Feb 13, 2020, 4:54:16 PM2/13/20
to Tasker Google Groups Post

You may have already revealed the problem: none of the Actions in the Task are disabled


The task ID for that disabled action is 241.  You can see the task ID number in your exported task descriptions. The descriptions you posted above do not include a task with a ID number of 241. 

It is usually helpful  to give user names to all tasks and profiles. It makes viewing the run log and debugging easier. 


This is the third action and this action is currently disabled so it did not run.
20200212 20.25.19 T Running  ID25:2   Volume Clicks

Incorrect. -  As I posted above that entry indicates that the task Volume Clicks has been started.

Why would the above fail to fire if it is scripted to run?

This task did start and run. It executed actions 1 - 6 . It is shown stopping at action 6 which appears to be a stop action, as shown below.

Rich D

unread,
Feb 13, 2020, 4:58:39 PM2/13/20
to Tasker Google Groups Post
It is very difficult to help without a detailed description of what this project is supposed to be doing. 

Rich D

unread,
Feb 13, 2020, 5:42:31 PM2/13/20
to Tasker Google Groups Post
To try to clarify a bit more. The entries have a single letter to identify if they are a  Profile (P) or a Task (T) or a Action (A) just after the time stamp,  as shown below


20200213 01.35.01 P Instant ID242 AutoInput Vol UP Multi 20200213 01.35.01 T Running ID241 Anon 20200213 01.35.01 A OK ID241.1 Anon.↘ BEGIN

When viewing in the tasker run log viewer they are also color coded. In addition you can use the filter buttons on the bottom to display single categories or even use the text filter to view just one task or profile name. 

Logan Fury

unread,
Feb 14, 2020, 12:03:47 AM2/14/20
to tas...@googlegroups.com
Hello Rich,

I just got home from the hospital, sorry I couldnt reply earlier. 

This project was a download and unfortunately came with anon Tasks.

The purpose of the script is to detect the rapid double triple or quadruple click of the volume up button, and the script allows for a spot to run code or do a perform task for each of these click situations. It worked flawlessly for a few days and now always gives an already running, collision handling wont allow another instance error.

I had put a simple shell time command with say to announce the time on two clicks and tried a run program for the triple click. These worked for a few days.

--
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/U3YmU0S_Jqw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.

Rich D

unread,
Feb 14, 2020, 6:34:30 AM2/14/20
to Tasker Google Groups Post
We're you able to read the run log father to find any issues?

You never posted the profile description so I can not tell what it is using for a context. 

Rich D

unread,
Feb 14, 2020, 6:48:28 AM2/14/20
to Tasker Google Groups Post
long click on the Tasks tab at the bottom of the Run Log page brings up no option to Kill all Tasks. 

When in the main UI long press the 'Tasks'  tab (upper row of tabs - Profiles,  Tasks,  Scenes,  Variables)  . If there are any currently running tasks there will be a option to 'kill all' .if there are no currently running tasks you will not see the 'kill all'  option.

The task provided by Edmond will only kill named tasks. It will not kill anonymous tasks. 

Logan Fury

unread,
Feb 14, 2020, 8:39:13 AM2/14/20
to tas...@googlegroups.com
Thank you again Rich,

I have named the anon Task, and checked for Kill All option. I dont see that avail under the Task tab, yet I still get the already running collision handling error

--
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/U3YmU0S_Jqw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.

Rich D

unread,
Feb 14, 2020, 5:10:08 PM2/14/20
to Tasker Google Groups Post


I have named the anon Task,

Could you post the profile description? This will include the linked task. Please include the task description for the 'volume clicks' task in the same post. It is easier when all of the relevant descriptions are posted on the same post. Also post the latest run log of a failed attempt in the same post. 




and checked for Kill All option. I dont see that avail under the Task tab, yet I still get the already running collision handling error

You are not seeing the kill all option because there are no currently running tasks.  That collision error is most likely a expected error .

It is important that you understand how this project works so you can debug it and make proper changes to customize it. Could you post your understanding of how this project works. 



Logan Fury

unread,
Feb 14, 2020, 5:42:55 PM2/14/20
to tas...@googlegroups.com
Here is the requested info:

    Profile: AutoInput Vol UP Multi (242)
    Event: AutoInput Key [ Configuration:Keys: Volume Up
    Key Action: Key Down ]
    Enter: Vol Clks (241)
    Run Both Together
    <↘ BEGIN>
    A1: Anchor 
    <ADD TO COUNT>
    A2: Variable Add [ Name:%KeyPressCount Value:1 Wrap Around:0 ] 
    <START TIMER>
    A3: [X] Perform Task [ Name:Volume Clicks Priority:%priority-1 Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:Off ] If [ %TRUN !~ *,Key Press Timer,* ]
    <START TIMER>
    A4: Perform Task [ Name:Volume Clicks Priority:%priority-1 Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:Off ] If [ %TRUN !~ *,Key Press Timer,* ]
   
2nd Task:

This is meant to detect rapid double or triple clicks. The download description said it was able to detect quadruple clicks so I made that avail in the IF statement but didn't yet set up a routine for the x4 click.

Here is log:


20200214 14.34.22 E Start ID0:0.0 TaskService 20200214 14.34.26 P Instant ID242 AutoInput Vol UP Multi 20200214 14.34.26 T Running ID241 Vol Clks 20200214 14.34.26 A OK ID241.1 Vol Clks.↘ BEGIN 20200214 14.34.26 A OK ID241.2 Vol Clks.ADD TO COUNT 20200214 14.34.26 A Disabled ID241.3 Vol Clks.START TIMER 20200214 14.34.26 T Running ID25:2 Volume Clicks 20200214 14.34.26 A OK ID241.4 Vol Clks.START TIMER 20200214 14.34.27 P Instant ID242 AutoInput Vol UP Multi 20200214 14.34.27 T Running ID241:3 Vol Clks 20200214 14.34.27 T ExitOK ID241 Vol Clks 20200214 14.34.27 A OK ID241:3.1 Vol Clks.↘ BEGIN 20200214 14.34.27 A OK ID241:3.2 Vol Clks.ADD TO COUNT 20200214 14.34.27 A Disabled ID241:3.3 Vol Clks.START TIMER 20200214 14.34.27 T RejCopy ID25 Volume Clicks 20200214 14.34.27 A Err ID241:3.4 Vol Clks.START TIMER 20200214 14.34.27 T ExitErr ID241:3 Vol Clks 20200214 14.34.27 A OK ID25:2.1 Volume Clicks.✔ TIME IN MS ALL KEY PRESSES MUST OCCUR WITHIN 20200214 14.34.27 A OK ID25:2.2 Volume Clicks.↘ BEGIN 20200214 14.34.30 A OK ID25:2.3 Volume Clicks.TIMER 20200214 14.34.30 A OK ID25:2.4 Volume Clicks.IF NUMBER OF CLICKS NOT REACHED 20200214 14.34.30 A OK ID25:2.5 Volume Clicks.RESET COUNTER 20200214 14.34.30 A OK ID25:2.6 Volume Clicks.Stop 20200214 14.34.30 T ExitOK ID25:2 Volume Clicks 20200214 14.34.43 M Restart ID0:0.0 Monitor 20200214 14.36.46 M Restart ID0:0.0 Monitor

--
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/U3YmU0S_Jqw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.

Rich D

unread,
Feb 14, 2020, 7:05:14 PM2/14/20
to Tasker Google Groups Post
Let's start with this task.  When you altered the task 'Key Press Timer' you also changed the task name to 'Volume Clicks' 

Do you see any issues in these actions that could arise from changing the task name?

Logan Fury

unread,
Feb 14, 2020, 8:08:31 PM2/14/20
to tas...@googlegroups.com
Actually Sir the Anon Task I named Vol Clks

--
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/U3YmU0S_Jqw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.

Logan Fury

unread,
Feb 14, 2020, 8:11:40 PM2/14/20
to tas...@googlegroups.com
From what I can see, the naming of Vol Clks only made it visible for the Kill ALL Tasks routine 

Rich D

unread,
Feb 14, 2020, 8:19:15 PM2/14/20
to Tasker Google Groups Post

Actually Sir the Anon Task I named Vol Clks

Yes, I saw that.

I was referring to the original profile and tasks you downloaded. In your third post you said

"and then composed a combo script in anticipation of a 4 click routine:"

 that is when you changed the name of the original task.  Is that correct?

Logan Fury

unread,
Feb 14, 2020, 8:22:49 PM2/14/20
to tas...@googlegroups.com
That is correct but I also edited the Perform Task in Vol Clks to reflect the change, and it worked perfectly for about 3 days, before suddenly giving me this "already running" error.

--
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/U3YmU0S_Jqw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.

Logan Fury

unread,
Feb 14, 2020, 8:24:46 PM2/14/20
to tas...@googlegroups.com
sorry should have been more specific, It worked perfectly detecting both double and triple clicks. First it deteriorated by stopping the Perform Tasks in Volume Clicks and only displaying the "SUCCESS! # CLICKS" flash.

Then after a day of this half function the flashes stopped altogether and the "already running" errors started

Logan Fury

unread,
Feb 14, 2020, 8:27:08 PM2/14/20
to tas...@googlegroups.com
Also at one point, an edit you dont see here, A9 in Volume Clicks for 3 click detection, had read Perform Task: Say day and date. This worked for a day then stopped, and I replaced the perform task with the 2 lines of the referred Task and this started to work again, before everything stopped working altogether

Logan Fury

unread,
Feb 14, 2020, 8:36:58 PM2/14/20
to tas...@googlegroups.com

Rich D

unread,
Feb 14, 2020, 8:45:19 PM2/14/20
to Tasker Google Groups Post


That is correct but I also edited the Perform Task in Vol Clks to reflect the change, and it worked perfectly for about 3 days, before suddenly giving me this "already running" error.


Why do I not see that edit in your latest posted description? 

A4: Perform Task [ Name:Volume Clicks Priority:%priority-1 Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:Off ] If [ %TRUN !~ *,Key Press Timer,* ]

That clearly is referring to the old task name, is it not?

Logan Fury

unread,
Feb 14, 2020, 8:47:57 PM2/14/20
to tas...@googlegroups.com
AHA! editing, stand by please!

--
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/U3YmU0S_Jqw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.

Rich D

unread,
Feb 14, 2020, 8:50:39 PM2/14/20
to Tasker Google Groups Post
ok, I see you edited the name of the task that it is calling. You also need to change the if condition so it tests to see if that task is running. Do you understand how that if condition is working?

Logan Fury

unread,
Feb 14, 2020, 8:51:56 PM2/14/20
to tas...@googlegroups.com
OK this is getting surreal.

I just redownloaded the originally named Profile and Task and imported them. Did a triple click and it worked fine. Edited it to 2 clicks and now it doesnt work. What could be a simpler edit?

Logan Fury

unread,
Feb 14, 2020, 9:00:26 PM2/14/20
to tas...@googlegroups.com
I just deleted all my edits and started fresh with the original script.

It is working for 3 clicks and running the shell command to announce date and time about half the time.

On Fri, Feb 14, 2020 at 5:50 PM Rich D <ricp...@gmail.com> wrote:
ok, I see you edited the name of the task that it is calling. You also need to change the if condition so it tests to see if that task is running. Do you understand how that if condition is working?

A4: Perform Task [ Name:Volume Clicks Priority:%priority-1 Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:Off ] If [ %TRUN !~ *,Key Press Timer,* ]

--
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/U3YmU0S_Jqw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.

Logan Fury

unread,
Feb 14, 2020, 9:11:48 PM2/14/20
to tas...@googlegroups.com
    Here's what I have so far. It ignores the Run Shell and only displays flash 


Key Press Timer (59)
    <✔ NUMBER OF KEY PRESSES TO DETECT>
    A1: Variable Set [ Name:%clicks To:2 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:3 ] 
    <✔ TIME IN MS ALL KEY PRESSES MUST OCCUR WITHIN>
    A2: Variable Set [ Name:%time_interval To:1500 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:0 ] 
    <↘ BEGIN>
    A3: Anchor 
    <TIMER>
    A4: Wait [ MS:%time_interval Seconds:0 Minutes:0 Hours:0 Days:0 ] 
    <IF NUMBER OF CLICKS NOT REACHED>
    A5: If [ %KeyPressCount != %clicks ]
    <RESET COUNTER>
    A6: Variable Set [ Name:%KeyPressCount To:0 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:0 ] 
    A7: Stop [ With Error:Off Task: ] 
    A8: Else 
    <RESET COUNTER>
    A9: Variable Set [ Name:%KeyPressCount To:0 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:0 ] 
    A10: End If 
    <↘ <b> PUT MAIN ACTIONS BELOW OR RUN ANOTHER TASK USING "PERFORM TASK" ETC>
    A11: Anchor 
    A12: Run Shell [ Command:date +"%l %M %p, %B %e, %Y" Timeout (Seconds):0 Use Root:Off Store Output In:%DATETIME Store Errors In: Store Result In:%DATETIME ] 
    A13: Say WaveNet [ Text:%DATETIME Voice:en-GB-Wavenet-A Stream:3 Pitch:20 Speed:8 Continue Task Immediately:On File: Override API Key: Respect Audio Focus:On ] 
    A14: Flash [ Text:SUCCESS - %clicks CLICKS! Long:Off ] 
    

Rich D

unread,
Feb 14, 2020, 9:19:56 PM2/14/20
to Tasker Google Groups Post
A12: Run Shell [ Command:date +"%l %M %p, %B %e, %Y" Timeout (Seconds):0 Use Root:Off Store Output In:%DATETIME Store Errors In: Store Result In:%DATETIME ] 

Why do you have the time out set for 0 seconds?

Logan Fury

unread,
Feb 14, 2020, 9:21:56 PM2/14/20
to tas...@googlegroups.com
I believe that was default? What do you suggest I set it to?

On Fri, Feb 14, 2020 at 6:19 PM Rich D <ricp...@gmail.com> wrote:
A12: Run Shell [ Command:date +"%l %M %p, %B %e, %Y" Timeout (Seconds):0 Use Root:Off Store Output In:%DATETIME Store Errors In: Store Result In:%DATETIME ] 

Why do you have the time out set for 0 seconds?

--
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/U3YmU0S_Jqw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.

Logan Fury

unread,
Feb 14, 2020, 9:26:35 PM2/14/20
to tas...@googlegroups.com
I edited to 30 sec timeout and it began to work.

Do you see anything wrong with this edit? 

    Key Press Timer (60)
    <✔ TIME IN MS ALL KEY PRESSES MUST OCCUR WITHIN>
    A1: Variable Set [ Name:%time_interval To:3000 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:3 ] 
    <↘ BEGIN>
    A2: Anchor 
    <TIMER>
    A3: Wait [ MS:%time_interval Seconds:0 Minutes:0 Hours:0 Days:0 ] 
    <IF NUMBER OF CLICKS NOT REACHED>
    A4: If [ %KeyPressCount != 2/3/4 ]
    <RESET COUNTER>
    A5: Variable Set [ Name:%KeyPressCount To:0 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:3 ] 
    A6: Stop [ With Error:Off Task: ] 
    A7: Else If [ %KeyPressCount ~ 3 ]
    <↘ <b> PUT MAIN ACTIONS BELOW OR RUN ANOTHER TASK USING "PERFORM TASK" ETC>
    A8: Anchor 
    A9: Run Shell [ Command:date +"%l %M %p, %B %e, %Y" Timeout (Seconds):30 Use Root:Off Store Output In:%DATETIME Store Errors In: Store Result In:%DATETIME ] 
    A10: Say WaveNet [ Text:%DATETIME Voice:en-GB-Wavenet-A Stream:3 Pitch:20 Speed:8 Continue Task Immediately:On File: Override API Key: Respect Audio Focus:On ] 
    A11: Flash [ Text:SUCCESS! %KeyPressCount CLICKS Long:On ] 
    <RESET COUNTER>
    A12: Variable Set [ Name:%KeyPressCount To:0 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:3 ] 
    A13: Else If [ %KeyPressCount ~ 2 ]
    <↘ <b> PUT MAIN ACTIONS BELOW OR RUN ANOTHER TASK USING "PERFORM TASK" ETC>
    A14: Anchor 
    A15: Perform Task [ Name:*TCPIP On/Off? Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:Off ] 
    A16: Flash [ Text:SUCCESS! %KeyPressCount CLICKS Long:On ] 
    <RESET COUNTER>
    A17: Variable Set [ Name:%KeyPressCount To:0 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:3 ] 
    A18: End If 
    

Rich D

unread,
Feb 14, 2020, 9:28:10 PM2/14/20
to Tasker Google Groups Post

I believe that was default? What do you suggest I set it to?

Sorry, that is the default . I never noticed it before. From the help text..

If Timeout is 0, the command will never time-out

So 0 is ok...

Logan Fury

unread,
Feb 14, 2020, 9:28:24 PM2/14/20
to tas...@googlegroups.com
Now that the interval was reset to 30, it worked twice and now isnt working again. only the flash >.<

Logan Fury

unread,
Feb 14, 2020, 9:30:02 PM2/14/20
to tas...@googlegroups.com
Am I crazy or are these errors following no logic at all? They seem completely random and for no reason

--
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/U3YmU0S_Jqw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.

Rich D

unread,
Feb 14, 2020, 9:36:03 PM2/14/20
to Tasker Google Groups Post

Am I crazy or are these errors following no logic at all? They seem completely random and for no reason

What errors are you seeing?

Logan Fury

unread,
Feb 14, 2020, 9:42:23 PM2/14/20
to tas...@googlegroups.com
no errors, no red text ERR in log. I just replaced the shell command with a Perform Task pointed at my TCPIP enabled check and it fired just fine.

What im not understanding is why my edit is not working. It does look properly formatted does it not? And this script is meant to be tweaked, as evidenced by the further portion of the download page:

EXTRA: Making the actions app specific - To make your double/triple/etc clicks do different things based on whatever app you happen to be in, all you need to do is add an "AutoInput UI Query", and then have the actions after it be based on %aiapp which contains the app name of the foreground app. So for example you would add:

 

A12. AutoInput > UI Query (leave Config blank)

A13. If  %aiapp  ~  Gmail

  A14. <Gmail based actions here>

A15. Else If  %aiapp  ~  Chrome

  A16. <Chrome based actions here>

A17. End if etc

I have no confidence about trying the above when a simple edit to include a double and triple clicks fails completely >.<



On Fri, Feb 14, 2020 at 6:36 PM Rich D <ricp...@gmail.com> wrote:


Am I crazy or are these errors following no logic at all? They seem completely random and for no reason

What errors are you seeing?

--
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/U3YmU0S_Jqw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.

Logan Fury

unread,
Feb 14, 2020, 9:44:35 PM2/14/20
to tas...@googlegroups.com
Just tried my edit again. Nothing happened, no error message, and this is the log:


20200214 18.42.24 P Instant ID57 AutoInput Multi-Press 20200214 18.42.24 E Start ID0:0.0 TaskService 20200214 18.42.24 T Running ID56 Anon 20200214 18.42.24 A OK ID56.1 Anon.↘ BEGIN 20200214 18.42.24 A OK ID56.2 Anon.ADD TO COUNT 20200214 18.42.24 T Running ID60:2 Key Press Timer 20200214 18.42.24 A OK ID56.3 Anon.START TIMER 20200214 18.42.24 T ExitOK ID56 Anon 20200214 18.42.24 A OK ID60:2.1 Key Press Timer.✔ TIME IN MS ALL KEY PRESSES MUST OCCUR WITHIN 20200214 18.42.24 A OK ID60:2.2 Key Press Timer.↘ BEGIN 20200214 18.42.24 T Running ID56:3 Anon 20200214 18.42.24 P Instant ID57 AutoInput Multi-Press 20200214 18.42.24 A OK ID60:2.3 Key Press Timer.TIMER 20200214 18.42.24 A OK ID56:3.1 Anon.↘ BEGIN 20200214 18.42.24 A OK ID56:3.2 Anon.ADD TO COUNT 20200214 18.42.24 A IfFail ID56:3.3 Anon.START TIMER 20200214 18.42.24 T ExitOK ID56:3 Anon 20200214 18.42.24 P Instant ID57 AutoInput Multi-Press 20200214 18.42.24 T Running ID56:4 Anon 20200214 18.42.24 A OK ID60:2.3 Key Press Timer.TIMER 20200214 18.42.24 A OK ID56:4.1 Anon.↘ BEGIN 20200214 18.42.24 A OK ID56:4.2 Anon.ADD TO COUNT 20200214 18.42.24 A IfFail ID56:4.3 Anon.START TIMER 20200214 18.42.24 T ExitOK ID56:4 Anon 20200214 18.42.27 A OK ID60:2.3 Key Press Timer.TIMER 20200214 18.42.27 A OK ID60:2.4 Key Press Timer.IF NUMBER OF CLICKS NOT REACHED 20200214 18.42.27 A OK ID60:2.5 Key Press Timer.RESET COUNTER 20200214 18.42.27 A OK ID60:2.6 Key Press Timer.Stop 20200214 18.42.27 T ExitOK ID60:2 Key Press Timer 20200214 18.42.27 E Stop ID0:0.0 TaskService

Logan Fury

unread,
Feb 14, 2020, 10:01:45 PM2/14/20
to tas...@googlegroups.com
Well I got stubborn and tried the app edit. It worked perfectly! 

Now why won't my multi click edit work again? 

    Key Press Timer2 (59)
    <✔ NUMBER OF KEY PRESSES TO DETECT>
    A1: Variable Set [ Name:%clicks To:2 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:3 ] 
    <✔ TIME IN MS ALL KEY PRESSES MUST OCCUR WITHIN>
    A2: Variable Set [ Name:%time_interval To:1500 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:0 ] 
    <↘ BEGIN>
    A3: Anchor 
    <TIMER>
    A4: Wait [ MS:%time_interval Seconds:0 Minutes:0 Hours:0 Days:0 ] 
    <IF NUMBER OF CLICKS NOT REACHED>
    A5: If [ %KeyPressCount != %clicks ]
    <RESET COUNTER>
    A6: Variable Set [ Name:%KeyPressCount To:0 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:0 ] 
    A7: Stop [ With Error:Off Task: ] 
    A8: Else 
    <RESET COUNTER>
    A9: Variable Set [ Name:%KeyPressCount To:0 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:0 ] 
    A10: End If 
    A11: AutoInput UI Query [ Configuration: Timeout (Seconds):20 ] 
    A12: If [ %aiapp ~ Gmail ]
    A13: Compose Email [ Recipient(s): Subject: Message: ] 
    A14: Goto [ Type:Action Number Number:21 Label: ] 
    A15: End If 
    <↘ <b> PUT MAIN ACTIONS BELOW OR RUN ANOTHER TASK USING "PERFORM TASK" ETC>
    A16: Anchor 
    A17: If [ %aiapp !~ Gmail ]
    A18: [X] Run Shell [ Command:date +"%l %M %p, %B %e, %Y" Timeout (Seconds):30 Use Root:Off Store Output In:%daydate Store Errors In: Store Result In:%DATETIME ] 
    A19: [X] Say WaveNet [ Text:%daydate Voice:en-GB-Wavenet-A Stream:3 Pitch:20 Speed:8 Continue Task Immediately:On File: Override API Key: Respect Audio Focus:On ] 
    A20: Perform Task [ Name:*TCPIP On/Off? Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:Off ] 
    A21: Flash [ Text:SUCCESS - %clicks CLICKS! Long:Off ] 
    A22: End If 
    

Logan Fury

unread,
Feb 14, 2020, 10:12:33 PM2/14/20
to tas...@googlegroups.com
I have cloned the working script to try to slowly make it a multiple clicks routine. This first edit fails. Is the 

IF KeyPressCount = 2/3/4

Formatted correctly? 

    Key Press Timer3 (20)
    <✔ TIME IN MS ALL KEY PRESSES MUST OCCUR WITHIN>
    A1: Variable Set [ Name:%time_interval To:1500 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:0 ] 
    <↘ BEGIN>
    A2: Anchor 
    <TIMER>
    A3: Wait [ MS:%time_interval Seconds:0 Minutes:0 Hours:0 Days:0 ] 
    <IF NUMBER OF CLICKS NOT REACHED>
    A4: If [ %KeyPressCount != 2/3/4 ]
    <RESET COUNTER>
    A5: Variable Set [ Name:%KeyPressCount To:0 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:0 ] 
    A6: Stop [ With Error:Off Task: ] 
    A7: Else 
    <RESET COUNTER>
    A8: Variable Set [ Name:%KeyPressCount To:0 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:0 ] 
    A9: End If 
    A10: AutoInput UI Query [ Configuration: Timeout (Seconds):20 ] 
    A11: If [ %aiapp ~ Gmail ]
    A12: Compose Email [ Recipient(s): Subject: Message: ] 
    A13: Goto [ Type:Action Number Number:21 Label: ] 
    A14: End If 
    <↘ <b> PUT MAIN ACTIONS BELOW OR RUN ANOTHER TASK USING "PERFORM TASK" ETC>
    A15: Anchor 
    A16: If [ %clicks ~ 2 & %aiapp !~ Gmail ]
    A17: [X] Run Shell [ Command:date +"%l %M %p, %B %e, %Y" Timeout (Seconds):30 Use Root:Off Store Output In:%daydate Store Errors In: Store Result In:%DATETIME ] 
    A18: [X] Say WaveNet [ Text:%daydate Voice:en-GB-Wavenet-A Stream:3 Pitch:20 Speed:8 Continue Task Immediately:On File: Override API Key: Respect Audio Focus:On ] 
    A19: Perform Task [ Name:*TCPIP On/Off? Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:Off ] 
    A20: Flash [ Text:SUCCESS - %clicks CLICKS! Long:Off ] 
    A21: End If 
    

Rich D

unread,
Feb 14, 2020, 10:14:44 PM2/14/20
to Tasker Google Groups Post

Key Press Timer2

Did you change the name of the task?



A5: If [ %KeyPressCount != %clicks ]

I do not see where you are setting %clicks

Rich D

unread,
Feb 14, 2020, 10:19:29 PM2/14/20
to Tasker Google Groups Post
A4: If [ %KeyPressCount != 2/3/4 ]

I do not think that is correct. Try 'Not match'  (!~) instead.

Logan Fury

unread,
Feb 14, 2020, 10:21:40 PM2/14/20
to tas...@googlegroups.com
I just realized that myself lol edited and still not working:

    Key Press Timer3 (20)
    <✔ TIME IN MS ALL KEY PRESSES MUST OCCUR WITHIN>
    A1: Variable Set [ Name:%time_interval To:1500 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:0 ] 
    <↘ BEGIN>
    A2: Anchor 
    <TIMER>
    A3: Wait [ MS:%time_interval Seconds:0 Minutes:0 Hours:0 Days:0 ] 
    <IF NUMBER OF CLICKS NOT REACHED>
    A4: If [ %KeyPressCount != 2 | %KeyPressCount !~ 3 ]
    <RESET COUNTER>
    A5: Variable Set [ Name:%KeyPressCount To:0 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:0 ] 
    A6: Stop [ With Error:Off Task: ] 
    A7: Else 
    <RESET COUNTER>
    A8: Variable Set [ Name:%KeyPressCount To:0 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:0 ] 
    A9: End If 
    A10: AutoInput UI Query [ Configuration: Timeout (Seconds):20 ] 
    A11: If [ %aiapp ~ Gmail ]
    A12: Compose Email [ Recipient(s): Subject: Message: ] 
    A13: Goto [ Type:Action Number Number:21 Label: ] 
    A14: End If 
    <↘ <b> PUT MAIN ACTIONS BELOW OR RUN ANOTHER TASK USING "PERFORM TASK" ETC>
    A15: Anchor 
    A16: If [ %KeyPressCount ~ 2 & %aiapp !~ Gmail ]
    A17: [X] Run Shell [ Command:date +"%l %M %p, %B %e, %Y" Timeout (Seconds):30 Use Root:Off Store Output In:%daydate Store Errors In: Store Result In:%DATETIME ] 
    A18: [X] Say WaveNet [ Text:%daydate Voice:en-GB-Wavenet-A Stream:3 Pitch:20 Speed:8 Continue Task Immediately:On File: Override API Key: Respect Audio Focus:On ] 
    A19: Perform Task [ Name:*TCPIP On/Off? Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:Off ] 
    A20: Flash [ Text:SUCCESS - %clicks CLICKS! Long:Off ] 
    A21: End If 
    

--
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/U3YmU0S_Jqw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.

Logan Fury

unread,
Feb 14, 2020, 10:24:33 PM2/14/20
to tas...@googlegroups.com
sorry I didnt post the proper edit, that A4 is set to !~

Logan Fury

unread,
Feb 14, 2020, 10:25:53 PM2/14/20
to tas...@googlegroups.com
Now im back to the collision handling error again. I did see the Kill All option and used it, but the collision error contiues. This is after rebooting phone to try to help the situation >.<

Rich D

unread,
Feb 14, 2020, 10:45:12 PM2/14/20
to Tasker Google Groups Post

Now im back to the collision handling error again.


You keep changing the name of the task 

Key Press Timer3



You are trying to change too many things at once.

Go back to original profile and tasks and just change the if condition to see if that works correctly.

Add a flash action just after A4 (the if condition) to flash %KeyPressCount.

Rich D

unread,
Feb 14, 2020, 10:55:39 PM2/14/20
to Tasker Google Groups Post
Be sure to  post all the current profiles and task descriptions along with run log whenever you have made changes. 

Logan Fury

unread,
Feb 14, 2020, 10:59:13 PM2/14/20
to tas...@googlegroups.com
This works perfectly:

    Key Press Timer (20)
    <✔ TIME IN MS ALL KEY PRESSES MUST OCCUR WITHIN>
    A1: Variable Set [ Name:%time_interval To:1500 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:0 ] 
    <↘ BEGIN>
    A2: Anchor 
    <TIMER>
    A3: Wait [ MS:%time_interval Seconds:0 Minutes:0 Hours:0 Days:0 ] 
    <IF NUMBER OF CLICKS NOT REACHED>
    A4: If [ %KeyPressCount != 2 ]
    A5: Flash [ Text:%KeyPressCount Long:On ] 
    <RESET COUNTER>
    A6: Variable Set [ Name:%KeyPressCount To:0 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:0 ] 
    A7: Stop [ With Error:Off Task: ] 
    A8: Else 
    <RESET COUNTER>
    A9: Variable Set [ Name:%KeyPressCount To:0 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:0 ] 
    A10: End If 
    A11: AutoInput UI Query [ Configuration: Timeout (Seconds):20 ] 
    A12: If [ %aiapp ~ Gmail ]
    A13: Compose Email [ Recipient(s): Subject: Message: ] 
    A14: Stop [ With Error:Off Task: ] 
    A15: End If 
    <↘ <b> PUT MAIN ACTIONS BELOW OR RUN ANOTHER TASK USING "PERFORM TASK" ETC>
    A16: Anchor 
    A17: If [ %aiapp !~ Gmail ]
    A18: [X] Run Shell [ Command:date +"%l %M %p, %B %e, %Y" Timeout (Seconds):30 Use Root:Off Store Output In:%daydate Store Errors In: Store Result In:%DATETIME ] 
    A19: [X] Say WaveNet [ Text:%daydate Voice:en-GB-Wavenet-A Stream:3 Pitch:20 Speed:8 Continue Task Immediately:On File: Override API Key: Respect Audio Focus:On ] 
    A20: Perform Task [ Name:*TCPIP On/Off? Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:Off ] 
    A21: End If 
   
When I do this simple edit it breaks:

    Key Press Timer (20)
    <✔ TIME IN MS ALL KEY PRESSES MUST OCCUR WITHIN>
    A1: Variable Set [ Name:%time_interval To:1500 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:0 ] 
    <↘ BEGIN>
    A2: Anchor 
    <TIMER>
    A3: Wait [ MS:%time_interval Seconds:0 Minutes:0 Hours:0 Days:0 ] 
    <IF NUMBER OF CLICKS NOT REACHED>
    A4: If [ %KeyPressCount != 2 | %KeyPressCount != 3 ]
    <RESET COUNTER>
    A5: Variable Set [ Name:%KeyPressCount To:0 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:0 ] 
    A6: Stop [ With Error:Off Task: ] 
    A7: Else 
    <RESET COUNTER>
    A8: Variable Set [ Name:%KeyPressCount To:0 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:0 ] 
    A9: End If 
    A10: AutoInput UI Query [ Configuration: Timeout (Seconds):20 ] 
    A11: If [ %aiapp ~ Gmail ]
    A12: Compose Email [ Recipient(s): Subject: Message: ] 
    A13: Goto [ Type:Action Number Number:21 Label: ] 
    A14: End If 
    <↘ <b> PUT MAIN ACTIONS BELOW OR RUN ANOTHER TASK USING "PERFORM TASK" ETC>
    A15: Anchor 
    A16: If [ %KeyPressCount = 2 & %aiapp !~ Gmail ]
    A17: [X] Run Shell [ Command:date +"%l %M %p, %B %e, %Y" Timeout (Seconds):30 Use Root:Off Store Output In:%daydate Store Errors In: Store Result In:%DATETIME ] 
    A18: [X] Say WaveNet [ Text:%daydate Voice:en-GB-Wavenet-A Stream:3 Pitch:20 Speed:8 Continue Task Immediately:On File: Override API Key: Respect Audio Focus:On ] 
    A19: Perform Task [ Name:*TCPIP On/Off? Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:Off ] 
    A20: Flash [ Text:SUCCESS - %clicks CLICKS! Long:Off ] 
    A21: End If 
    
Can you see what is wrong here? 

--
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/U3YmU0S_Jqw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.

Rich D

unread,
Feb 14, 2020, 11:05:18 PM2/14/20
to Tasker Google Groups Post
A4: If [ %KeyPressCount != 2 | %KeyPressCount != 3 ]

change it to 'not mathces'

Rich D

unread,
Feb 14, 2020, 11:08:08 PM2/14/20
to Tasker Google Groups Post
On Fri, Feb 14, 2020, 11:04 PM Rich D <ricp...@gmail.com> wrote:
A4: If [ %KeyPressCount != 2 | %KeyPressCount != 3 ]

change it to 'not matches'

Logan Fury

unread,
Feb 14, 2020, 11:12:31 PM2/14/20
to tas...@googlegroups.com
Here's all the files and run log:


    Profile: AutoInput Multi-Press (57)
    Event: AutoInput Key [ Configuration:Keys: Volume Up
    Key Action: Key Down ]
    Enter: Anon (56)
    Run Both Together
    <↘ BEGIN>
    A1: Anchor 
    <ADD TO COUNT>
    A2: Variable Add [ Name:%KeyPressCount Value:1 Wrap Around:0 ] 
    <START TIMER>
    A3: Perform Task [ Name:Key Press Timer Priority:%priority-1 Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:Off ] If [ %TRUN !~ *,Key Press Timer,* ]
  

TASK:


    Key Press Timer (25)
    <✔ TIME IN MS ALL KEY PRESSES MUST OCCUR WITHIN>
    A1: Variable Set [ Name:%time_interval To:1500 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:0 ] 
    <↘ BEGIN>
    A2: Anchor 
    <TIMER>
    A3: Wait [ MS:%time_interval Seconds:0 Minutes:0 Hours:0 Days:0 ] 
    <IF NUMBER OF CLICKS NOT REACHED>
    A4: If [ %KeyPressCount !~ 2 ]
    A5: Flash [ Text:%KeyPressCount Long:On ] 
    <RESET COUNTER>
    A6: Variable Set [ Name:%KeyPressCount To:0 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:0 ] 
    A7: Stop [ With Error:Off Task: ] 
    A8: Else 
    <RESET COUNTER>
    A9: Variable Set [ Name:%KeyPressCount To:0 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:0 ] 
    A10: End If 
    A11: AutoInput UI Query [ Configuration: Timeout (Seconds):20 ] 
    A12: If [ %aiapp ~ Gmail ]
    A13: Compose Email [ Recipient(s): Subject: Message: ] 
    A14: Stop [ With Error:Off Task: ] 
    A15: End If 
    <↘ <b> PUT MAIN ACTIONS BELOW OR RUN ANOTHER TASK USING "PERFORM TASK" ETC>
    A16: Anchor 
    A17: If [ %aiapp !~ Gmail & %KeyPressCount ~ 2 ]
    A18: [X] Run Shell [ Command:date +"%l %M %p, %B %e, %Y" Timeout (Seconds):30 Use Root:Off Store Output In:%daydate Store Errors In: Store Result In:%DATETIME ] 
    A19: [X] Say WaveNet [ Text:%daydate Voice:en-GB-Wavenet-A Stream:3 Pitch:20 Speed:8 Continue Task Immediately:On File: Override API Key: Respect Audio Focus:On ] 
    A20: Perform Task [ Name:*TCPIP On/Off? Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:Off ] 
    A21: End If 
    

Log:


20200214 20.09.20 E Start ID0:0.0 TaskService 20200214 20.09.20 T Running ID56 Anon 20200214 20.09.21 P Instant ID57 AutoInput Multi-Press 20200214 20.09.21 A OK ID56.1 Anon.↘ BEGIN 20200214 20.09.21 A OK ID56.2 Anon.ADD TO COUNT 20200214 20.09.21 T Running ID25:2 Key Press Timer 20200214 20.09.21 A OK ID56.3 Anon.START TIMER 20200214 20.09.21 T ExitOK ID56 Anon 20200214 20.09.21 A OK ID25:2.1 Key Press Timer.✔ TIME IN MS ALL KEY PRESSES MUST OCCUR WITHIN 20200214 20.09.21 A OK ID25:2.2 Key Press Timer.↘ BEGIN 20200214 20.09.21 P Instant ID57 AutoInput Multi-Press 20200214 20.09.21 T Running ID56:3 Anon 20200214 20.09.21 A OK ID25:2.3 Key Press Timer.TIMER 20200214 20.09.21 A OK ID56:3.1 Anon.↘ BEGIN 20200214 20.09.21 A OK ID56:3.2 Anon.ADD TO COUNT 20200214 20.09.21 A IfFail ID56:3.3 Anon.START TIMER 20200214 20.09.21 T ExitOK ID56:3 Anon 20200214 20.09.22 A OK ID25:2.3 Key Press Timer.TIMER 20200214 20.09.22 A OK ID25:2.4 Key Press Timer.IF NUMBER OF CLICKS NOT REACHED 20200214 20.09.22 A OK ID25:2.8 Key Press Timer.Else 20200214 20.09.22 A OK ID25:2.9 Key Press Timer.RESET COUNTER 20200214 20.09.22 A OK ID25:2.10 Key Press Timer.End If 20200214 20.09.22 A OK ID25:2.11 Key Press Timer.com.joaomgcd.autoinput\n***\n*!&$*;com.joaomgcd.autoinput.activity.ActivityConfigUIQuery 20200214 20.09.22 A OK ID25:2.12 Key Press Timer.If 20200214 20.09.22 A OK ID25:2.16 Key Press Timer.↘ <b> PUT MAIN ACTIONS BELOW OR RUN ANOTHER TASK USING "PERFORM TASK" ETC 20200214 20.09.22 A OK ID25:2.17 Key Press Timer.If 20200214 20.09.22 T ExitOK ID25:2 Key Press Timer 20200214 20.09.22 E Stop ID0:0.0 TaskService

No red error text but nothing happened. 

ONLY edit was A17 & If %KeyPressCount ~ 2

This broke the whole thing. Why? 

On Fri, Feb 14, 2020, 8:05 PM Rich D <ricp...@gmail.com> wrote:
A4: If [ %KeyPressCount != 2 | %KeyPressCount != 3 ]

change it to 'not mathces'

--
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/U3YmU0S_Jqw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.

Rich D

unread,
Feb 14, 2020, 11:17:53 PM2/14/20
to Tasker Google Groups Post
It is late, i will have to look at this in the morning.  I still suggest going back to all original profile and tasks and just change A4 untill you get it working consistently. 

Logan Fury

unread,
Feb 14, 2020, 11:19:53 PM2/14/20
to tas...@googlegroups.com
I GOT IT!!!

%KeyPressCount was being set to 0 before the IF check! 

I have added a variable set and edited IF and it works! 

    Key Press Timer (25)
    <✔ TIME IN MS ALL KEY PRESSES MUST OCCUR WITHIN>
    A1: Variable Set [ Name:%time_interval To:1500 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:0 ] 
    <↘ BEGIN>
    A2: Anchor 
    <TIMER>
    A3: Wait [ MS:%time_interval Seconds:0 Minutes:0 Hours:0 Days:0 ] 
    <IF NUMBER OF CLICKS NOT REACHED>
    A4: If [ %KeyPressCount !~ 2 ]
    A5: Flash [ Text:%KeyPressCount Long:On ] 
    <RESET COUNTER>
    A6: Variable Set [ Name:%KeyPressCount To:0 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:0 ] 
    A7: Stop [ With Error:Off Task: ] 
    A8: Else 
    A9: Variable Set [ Name:%clicks To:%KeyPressCount Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:3 ] 
    A10: Flash [ Text:%clicks Long:On ] 
    <RESET COUNTER>
    A11: Variable Set [ Name:%KeyPressCount To:0 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:0 ] 
    A12: End If 
    A13: AutoInput UI Query [ Configuration: Timeout (Seconds):20 ] 
    A14: If [ %aiapp ~ Gmail ]
    A15: Compose Email [ Recipient(s): Subject: Message: ] 
    A16: Stop [ With Error:Off Task: ] 
    A17: End If 
    <↘ <b> PUT MAIN ACTIONS BELOW OR RUN ANOTHER TASK USING "PERFORM TASK" ETC>
    A18: Anchor 
    A19: If [ %aiapp !~ Gmail & %clicks ~ 2 ]

Logan Fury

unread,
Feb 14, 2020, 11:48:10 PM2/14/20
to tas...@googlegroups.com
I have added the 4clk info. Task is reasonably stable, always performing 2 and 4 click routines but only performing 3 click routine half the time:

    Key Press Timer (25)
    <✔ TIME IN MS ALL KEY PRESSES MUST OCCUR WITHIN>
    A1: Variable Set [ Name:%time_interval To:1500 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:0 ] 
    <↘ BEGIN>
    A2: Anchor 
    <TIMER>
    A3: Wait [ MS:%time_interval Seconds:0 Minutes:0 Hours:0 Days:0 ] 
    <IF NUMBER OF CLICKS NOT REACHED>
    A4: If [ %KeyPressCount !~ 2 & %KeyPressCount !~ 3 & %KeyPressCount !~ 4 ]
    A5: Flash [ Text:%KeyPressCount Long:Off ] 
    <RESET COUNTER>
    A6: Variable Set [ Name:%KeyPressCount To:0 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:0 ] 
    A7: Stop [ With Error:Off Task: ] 
    A8: Else 
    A9: Variable Set [ Name:%clicks To:%KeyPressCount Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:3 ] 
    <RESET COUNTER>
    A10: Variable Set [ Name:%KeyPressCount To:0 Recurse Variables:Off Do Maths:Off Append:Off Max Rounding Digits:0 ] 
    A11: End If 
    A12: AutoInput UI Query [ Configuration: Timeout (Seconds):20 ] 
    A13: If [ %aiapp ~ Gmail & %clicks ~ 2 ]
    A14: Compose Email [ Recipient(s): Subject: Message: ] 
    A15: Stop [ With Error:Off Task: ] 
    A16: End If 
    A17: If [ %clicks ~ 4 ]
    A18: Perform Task [ Name:*Deep Thoughts Routine Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:Off ] 
    A19: Flash [ Text:SUCCESS! %clicks CLICKS Long:On ] 
    A20: End If 
    A21: If [ %clicks ~ 3 ]
    A22: Run Shell [ Command:date +"%l %M %p, %B %e, %Y" Timeout (Seconds):0 Use Root:Off Store Output In:%DATETIME Store Errors In: Store Result In:%DATETIME ] 
    A23: Say WaveNet [ Text:%DATETIME Voice:en-GB-Wavenet-A Stream:3 Pitch:20 Speed:8 Continue Task Immediately:On File: Override API Key: Respect Audio Focus:On ] 
    A24: Flash [ Text:SUCCESS! %clicks CLICKS Long:On ] 
    A25: End If 
    <↘ <b> PUT MAIN ACTIONS BELOW OR RUN ANOTHER TASK USING "PERFORM TASK" ETC>
    A26: Anchor 
    A27: If [ %clicks ~ 2 & %aiapp !~ Gmail ]
    A28: Perform Task [ Name:*TCPIP On/Off? Priority:%priority Parameter 1 (%par1): Parameter 2 (%par2): Return Value Variable: Stop:Off ] 
    A29: End If 
    

Logan Fury

unread,
Feb 15, 2020, 12:00:33 AM2/15/20
to tas...@googlegroups.com
I have replaced the Perform Task to call on a weather report instead of the Speak Time & Date.

It works flawlessly.

Evidently, this script has an issue running a Shell Command within it. I have tried both Perform Task to an outside routine, and put the code directly in this task's 3 click info:

Run Shell Command: date +"%I %M %P, %B %e %Y" Store Output In %DATETIME
SAY : %DATETIME

ill try again with a different non global variable and see if that helps but I doubt it.

Logan Fury

unread,
Feb 15, 2020, 12:37:25 AM2/15/20
to tas...@googlegroups.com
Everything is fine now Rich, thank you so much for your help and staying up late :)

For whatever reason, shell commands dont want to run imbedded in this so, I have removed the Flashlight routine from my Bixby button task and placed it into this routine, and the Bixby button now runs the shell command that outputs date and time.

Logan Fury

unread,
Feb 15, 2020, 3:04:28 AM2/15/20
to tas...@googlegroups.com
LOL now the shell commands fail in the bixby button. I found an interesting workaround but it doesnt work as completely as Id like. I replaced flashlight code in Bixby and put the time/date shell in KeyPressCount just above the Perform Task. It started to work, running both the shell and the Perform Task.

So I tried to be clever (we all know where that leads right?) and I globalized %Clicks, then made a Task called Clicks with a flash "SUCCESS! - %Clicks CLICKS"

Then I edited the perform task to point to clicks instead of check tcpip, thinking this would be like an "invisible" task, allowing the run shell to happen. No dice. Time and date wouldnt resume announcing until I changed the Perform Task back to check tcpip.

Also ive found the script doesnt work at all on my N960U1 with Pie

Logan

Rich D

unread,
Feb 15, 2020, 7:15:45 AM2/15/20
to Tasker Google Groups Post
We really need to work on your debugging skills. :)  Your approach to a leaky bucket seems to be keep adding water and if that does not work try adding a different type of water instead of draining the bucket, finding the leak and fixing it, then "add water slowly" to see if there are more leaks. 

The run log is the key to quick and easy debugging. Always get things to there simplest form then add other things "one at a time" untill things start to fail, checking the run log each time. 

If you have questions about the content or how to read the run log please ask.


 In my opinion there are  two red flags on your project.

1. The capture button event is relying on a physical button being pushed rapidly. This in itself can give varying results. These results are easy to check with the run log and flash actions to show how many button presses the were and if they were captured correctly.

2. You seem to want to use the wavenet say action. This is a new relatively untested action that when used with a volume button context could cause issues, or it could be that using immediately after your run shell action is creating issues. 

My approach would have been to 

-start with the original downloads
- add your new 'If' action to get different click numbers
- add your shell action and just flash results or make a notification of your results which should include how many click there were when it succeeds and when it fails
-  add your say action

And again checking run log with each step so you can see how a success looks and how a failure looks.

To be honest something with this few of actions should be debugged in about 30 min with either finding a bug in tasker or a flaw in your design. Unfortunately if we were to debug it for you we would be right back here with the same long drawn out posts again when the next issue comes along.  

I am always willing to help However I want to help  you learn tasker so you can create these things on your own and you can pay it forward and help others as well, not just keep providing code and then debugging it when you start to customize things. 


Logan Fury

unread,
Feb 15, 2020, 7:27:44 AM2/15/20
to tas...@googlegroups.com
Yeah thats me, strong like Ox, smart like Dump Truck.

Im definitely picking up a lot and achieving a lot of coding successfully on my own, but with no advanced math skills, no python, java, or javascript knowledge, I dont think ill ever achieve advanced edits without help >.<

--
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/U3YmU0S_Jqw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.

Rich D

unread,
Feb 15, 2020, 7:42:21 AM2/15/20
to Tasker Google Groups Post

Yeah thats me, strong like Ox, smart like Dump Truck.

Im definitely picking up a lot and achieving a lot of coding successfully on my own, but with no advanced math skills, no python, java, or javascript knowledge, I dont think ill ever achieve advanced edits without help >.<


I was always fairly good at math however when I started using tasker I had no previous coding skills other than a computer class in high school (30 yrs ago) that taught "Basic" yes language "Basic".

I did learn quickly that being able to properly debug my work made life a lot easier. The run log is not terribly complicated once you get the basics down. 

Rich D

unread,
Feb 15, 2020, 7:56:16 AM2/15/20
to Tasker Google Groups Post
So with all that said.... Where are you at with this project? Working, not working, sorta working?


Logan Fury

unread,
Feb 15, 2020, 8:02:18 AM2/15/20
to tas...@googlegroups.com
Well with your latest advice about Say WaveNet, I've replaced with standard SAY, disabled the Perform Task and its firing perfectly.

At this point, what had been a broken 2 or 3 click routine, is now a perfectly functioning 2,3, or 4 click routine WITH the ability to detect Gmail focus and perform an alternate 2 click action of opening compose mail :)

As always, never would have been possible without you, thank you so much!

Logan

On Sat, Feb 15, 2020 at 4:56 AM Rich D <ricp...@gmail.com> wrote:
So with all that said.... Where are you at with this project? Working, not working, sorta working?


--
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/U3YmU0S_Jqw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages