Is it possible to use the stopwatch in reverse?

emoncht

New member
I'm trying to show a floating notification like

App will open within 8-7-6-5-4-3-2-1 seconds. Like a countdown.but In my case stopwatch starting from 0.
1000111556.jpg

Is it possible to do the countdown in macrodroid?
 

LF0

Member
You can create a loop like this to count down, and if you want it to terminate at any time, just add an if condition to the loop and use the loop break actionScreenshot_20240314_044145.jpg
 

Dimlos

Well-known member
It is not accurate, but you can count down.
 

Attachments

  • Macro.jpg
    Macro.jpg
    465.3 KB · Views: 5
  • countdown.macro
    5.2 KB · Views: 1

Endercraft

Moderator (& bug finder :D)
The only problem with this approach is that it won't be exact (depending on the device approximately 1s 75ms on each decrease). A timestamp approach is better if you want an exact countdown but this should be used whenever approximation is enough.
 
Top