Sharing my ideas for auto-replys and a few ?'s on variables

Found a cool use for MacroDroid, share it here.

Sharing my ideas for auto-replys and a few ?'s on variables

darknaio
Joined: 05 Feb 2016, 12:12

15 Sep 2016, 09:05 #1

So I threw together a few macros to automate some basic things on my device, mainly at this time replying to any SMS messages I receive while in a certain mode. I also added a macro that keeps track of how many SMS messages in total I send/receive in a day and pops a notification up at midnight each day with the tally, just for fun. However, as an addition to this (fairly) basic type of macro, I added a few extras to spice things up.

Firstly, I set a separate mode for each "type" of "away" I would be replying to with the automated messages, and bound those to notification bar buttons.

After setting each text message up for each separate away message (gaming, sleeping, driving, etc), I set up an integer variable called "ScreenOn Count" and set it to go up any time I turn my screen on between certain hours (Hours where I should likely not have said auto-reply messages sending out to people!) and once that variable goes above 4, another macro that checks that variable will speak text warning me to turn off those modes (with a constraint to prevent that warning from repeating too often in case i intended to enter such a mode during those hours).

My question now is what is the best way to optimize such a system? Essentially what I want is to have my macros auto-reply to messages when in set modes, yet warn me during certain times of the day in case I forget to switch out of said mode (say forgetting to switch to "awake" mode from "sleep", or to "home" from "car/driving") but I want to use the fewest macro's possible (for memory/cpu reasons as well as neatness and ease of maintence). Am I on the right track using the variables this way? I am also still unsure how to use boolean/string/decimal variables, so if anyone could help me out with using those in some way that'd be awesome!

If anyone is interested in the exact specifics of the macro's I've set up I'll post them here, for now I'll just leave the basic theory here along with my questions.
Reply

Sharonx9
Joined: 11 Sep 2016, 05:31

19 Sep 2016, 02:51 #2

I just got Macrodroid a week or so ago. I'd be interested on how to set up the macro for showing how many texts are sent in a day. Thanks.
darknaio wrote:So I threw together a few macros to automate some basic things on my device, mainly at this time replying to any SMS messages I receive while in a certain mode. I also added a macro that keeps track of how many SMS messages in total I send/receive in a day and pops a notification up at midnight each day with the tally, just for fun. However, as an addition to this (fairly) basic type of macro, I added a few extras to spice things up.
Reply

Iamipi
Joined: 19 Sep 2016, 03:31

30 Sep 2016, 04:47 #3

Sharonx9 wrote:I just got Macrodroid a week or so ago. I'd be interested on how to set up the macro for showing how many texts are sent in a day. Thanks.
darknaio wrote:So I threw together a few macros to automate some basic things on my device, mainly at this time replying to any SMS messages I receive while in a certain mode. I also added a macro that keeps track of how many SMS messages in total I send/receive in a day and pops a notification up at midnight each day with the tally, just for fun. However, as an addition to this (fairly) basic type of macro, I added a few extras to spice things up.
First set up 2 integer variables. Name 1 smsin and the other smsout

Then create 1 macro like so

T: day time trigger
Select all the days and set the time to 4:00am
A: display notification
Title: Whatever
Text: Yesterday you sent [v=smsout] and recieved [v=smsin]
Priority maximum
Sound none
Overwrite existing notification
A: wait 5 seconds
A: set macrodroid variable smsin =0
A: set macrodroid variable smsout =0
C:

Second macro like so

T: sms received any number
A: set macrodroid variable smsin =+1
C:

Last macro like so

T: sms sent
A: set macrodroid variable smsout =+1
C:

Voila!

Hope this helps, let us know how it works out for you

Best regards
Ian
Reply

Cosmatic
Joined: 26 Apr 2017, 15:22

26 Apr 2017, 18:02 #4

@darknaio

Great stuff man, I'm a new user to MarcoDroid too and want to setup some auto-responses similar to how you have it.

If I'm in gaming mode, sleeping, work, ect.

Would you be so kind to share your Macro with me? It would help greatly! :)
Reply

yogesh99
Joined: 10 Sep 2017, 16:41

10 Sep 2017, 18:10 #5

How to fire ok action on Pop-up window...well actually I made one macro ..
T-> received notification ( added particular app) ( received any notification for this app)
A-> Launch Application still ok now when Application is lunched then one Pop-up window open "do you want process" and GO button .. I want to Automatic Go action on popup windows... Any bravo logic
Reply

yogesh99
Joined: 10 Sep 2017, 16:41

10 Sep 2017, 18:10 #6

How to fire ok action on Pop-up window...well actually I made one macro ..
T-> received notification ( added particular app) ( received any notification for this app)
A-> Launch Application still ok now when Application is lunched then one Pop-up window open "do you want process" and GO button .. I want to Automatic Go action on popup windows... Any bravo logic
Reply