Stopwatches and variables

sevadro

New member
I would like to use a user entered minutes value for StopWatch trigger event. I did not find this feature in the UI (the dialog contains integer-constraint hour/min/seconds values) and tried to google it and it seems like I get contradictory results.
  • Some posts mentions hints that this is a feature frequently requested but not yet implemented
  • Some suggests using a complex logic with constraints that somehow can achieve this. I could not invent the way, but also doubt that it would work with the "alarm" check.
  • Wiki ( Wiki ) mentions that it's possible, the quote is below
But you may also configure it to trigger when the value reaches a variables value in which case the value will be in seconds

So is it possible in the current version? If not, I suggest to correct the wiki sentence.
Thanks
 

Endercraft

Moderator (& bug finder :D)
It has been a long time since users requested using variables for time based triggers.
Screenshot_2023-07-05-11-38-26-927-edit_com.arlosoft.macrodroid.jpg
 

sevadro

New member
It has been a long time since users requested using variables for time based triggers.

Sorry, my mistake, actually the wiki is right, but there's a catch. The dropdown list (where the screenshot shows "Slider value") will show a variable or two for this feature only when MacroDroid has any variable with the type "integer". The screen composite with two dialog states is below. So if you have a bunch of variables, but they're all non-integer (boolean, ...) then the drop list will only contain "Slide value". It's absolutely correct from the logic point of you, but nobody would notice this feature until he or she allocates an integer variable somewhere (I'd suggesting adding a greyed out "no integer variable found" item). But I'm ok with this (since finally I know how it works), I hope this post will probably help others.

Thanks
 

Attachments

  • Stopwatch_trigger.jpg
    Stopwatch_trigger.jpg
    186.6 KB · Views: 8
Top