counting goes wild

47 views
Skip to first unread message

christophe vandingelen

unread,
Mar 17, 2025, 2:19:04 PM3/17/25
to Tasker
Hi

Don't know if it's me, but it seems counting goes wild in tasker. I have this task:

- variable set - name %counter - set to 0
- if - %counter < 60 - label: LoopStart
    - flash: %counter
    - wait 500 ms
    - variable add - %counter - value: 1
    (also tried this with variable set - %counter + 1 - do maths)
    - goto action label LoopStart
- end if

It should give me: 0, 1, 2, 3, 4, 5, 6, 7, 8, ...58, 59
What it gives is: 0, 1, 2, 3, 4, 5, 10, 14, 19, 23, 28, ...56 (end)
So after 5, it goes crazy.
What is wrong here?

Daniel Matthews

unread,
Mar 18, 2025, 4:08:10 AM3/18/25
to Tasker
Can you add the actual task export not pseudo code.

christophe vandingelen

unread,
Mar 18, 2025, 4:18:59 AM3/18/25
to tas...@googlegroups.com
Hij

Sorry I didn't post it yet. I Also asked this on reddit and the people there gave me an answer this morning that solved the issue. 

--
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/K7fSZ_i-mv8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tasker+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/tasker/0ed117b2-7f39-4d54-b735-f7193ab914d9n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages