Random Time Interval Trigger?

chiemi

New member
Hello!

What I want to do is automatically open an app (+ do some actions in between) which is triggered at random time intervals (e.g. every 10-60 minutes, picking a random time).

Is this possible?

Thank you!
 

4ces

New member
I'm also wondering how to do this, but I'm a newbie to this app. Could someone post some more detailed instructions or a screenshot on how to set this up? Thanks in advance!!!
 

Dm114

Well-known member
I'm also wondering how to do this, but I'm a newbie to this app. Could someone post some more detailed instructions or a screenshot on how to set this up? Thanks in advance!!!
You could try something like that...
 

Attachments

  • IMG-20210620-WA0001.jpg
    IMG-20210620-WA0001.jpg
    64.7 KB · Views: 134
  • 20210620_021050.jpg
    20210620_021050.jpg
    226 KB · Views: 120

Dm114

Well-known member
I've created and published this very simple macro that you can modify.
You're right: it's really simple! 😉
First, don't forget that wait time has to be in seconds so, to get a range from 10 to 60 minutes, you have to generate a random number from 10*60=600 to 60*60=3600.
Then the macro has to randomly launch an app repeatedly. For such a large interval of time (from 10 to 60 minutes), I think it's better to use a stopwatch instead of a 'Wait' action to prevent the macro from being in a wait state most of the time rather than being stopped every time it randomly launches an app.
Unless I didn't understand exactly what chiemi and 4ces are looking for...
 

4ces

New member
Feel free to modify it! I made sure to make it as barebones as possible to make it easy to modify and add to. I'll be working on the stopwatch version!

Thanks for posting this! I was going through the macro you created, and I had some more questions. I wanted to create a macro that ran during certain times of the day, IE between 9am-5pm, and I want it to click on a specific apps notification to open it. This should be done 5 times per hour but randomly during the hour, and continue running during the hours of 9AM-5PM. Does that make more sense? Thanks for all your help!!!!
 

Mrperson

Member
This should be done 5 times per hour but randomly during the hour, and continue running during the hours of 9AM-5PM
If you want it to run five times per hour, then the max wait would have to be 12 minutes, and be in a fixed count loop of 5 for every hour.
 

chiemi

New member

420

Active member
Hello! I can't seem to open these macros. The webpage shows up empty for me. Have they been deleted? Thanks!
you need to open them on a device with macrodroid installed, or go to the template store in macrodroid app and search for the id, it's at the end of these links, in this case: id=8876 and id=8877
 

chiemi

New member
you need to open them on a device with macrodroid installed, or go to the template store in macrodroid app and search for the id, it's at the end of these links, in this case: id=8876 and id=8877
I have MacroDroid installed but the link doesn't redirect to the app, but the id search worked. Thank you!
 

420

Active member
I have MacroDroid installed but the link doesn't redirect to the app, but the id search worked. Thank you!
hmm, then you might have to allow the browser to launch external app, i am not sure how to do that though... :ROFLMAO:
 
Top