Help me create this macro

Nurhassan

New member
A macro which will remind me to take a break from the phone ,while the screen is continuously wake for 25 min with a notification or a pop up message.

This is what i created so far.
A new and efficient one would be appreciated
 

Attachments

  • Screenshot_20210616-161411_MacroDroid.jpg
    Screenshot_20210616-161411_MacroDroid.jpg
    223.2 KB · Views: 22

420

Active member
the way you have set it up now it will always show the pop-up 25 minutes after you unlock your phone, so if you only used it for say 5 minutes then locked it and not used it for 5 minutes and then unlock it again the wait action would still be running and will show the pop-up after only 15 minutes. (and another after 25 minutes)

i would recommend using a stopwatch or you could also use a "cancel macro actions" to cancel the running wait action when your screen gets locked.
 

420

Active member
Okay Forget the old one and start from scratch. let me know if you have made any.
there seems to be no trigger for screen locked, so i just use screen on/off triggers in this example.

triggers;

screen on
screen off

actions;

if trigger fired screen on
wait 25 minutes
pop-up
wait 25 seconds
pop-up
else
cancel macro actions
end if
 

Nurhassan

New member
@420 ,This is what i have done
@jacob ,yes i have screen unlocked trigger but not " screen locked" ,i dont think macrodroid have any.
 

Attachments

  • Screenshot_20210617-100936_MacroDroid.jpg
    Screenshot_20210617-100936_MacroDroid.jpg
    282.4 KB · Views: 13
  • Like
Reactions: 420

420

Active member
@420 ,This is what i have done
@jacob ,yes i have screen unlocked trigger but not " screen locked" ,i dont think macrodroid have any.
i would have never thought of using just "if screen on" and "if screen off" instead of "if trigger fired" myself, but in this case it actually works.

i had another idea that you might like, you could use a "if confirmed then" action that will ask you if you want to take a break and will turn your screen off if you press yes, or if you press no you can set it up to wait another 25 minutes and show another "if confirmed then" and so on.

i think this or maybe a "display dialog" action will be a bit better then the pop-up actions because you might not see the pop-up, while the "display dialog" and "if confirmed then" actions won't go away untill you press a button.
 

Attachments

  • Protect your eyes macro1.png
    Protect your eyes macro1.png
    140.5 KB · Views: 8
  • Protect your eyes macro2.png
    Protect your eyes macro2.png
    321.2 KB · Views: 10

Nurhassan

New member
I asked some nerds on reddit and they also provided some insights ,later i came up with this macro,and apperianlty it's working fine, I've attached the screenshots.:)
And thanks @ 420
 

Attachments

  • Screenshot_20210618-185642_MacroDroid.jpg
    Screenshot_20210618-185642_MacroDroid.jpg
    218.7 KB · Views: 17
  • Screenshot_20210618-185649_MacroDroid.jpg
    Screenshot_20210618-185649_MacroDroid.jpg
    168.5 KB · Views: 17
  • Screenshot_20210618-190609_MacroDroid.jpg
    Screenshot_20210618-190609_MacroDroid.jpg
    253.8 KB · Views: 17
Last edited:
Top