"Open macro" action

420

Active member
I think an action to open (not run) a specific macro in macrodroid would be very usefull to quickly acces macro's that we are setting up, or that need to be opened/modified (often) for whatever other reason really.

I will give an example;

You are setting up a new macro that is not completely working yet and will need more modifications in the future (or maybe you just have some macro's that needs to be modified/opened often for whatever other reason) so you have it send a notification to notify you when something inside that macro goes wrong and needs to be modified/looked at, or maybe just when a trigger fires, so you can then open macrodroid and find that macro to have a look at it.

Now imagine with this "Open macro" action you could open the macro directly just by tapping on the notification, i think this would be very usefull!
(using the invoke macro function on the notification to invoke the same macro and run the "Open macro" action)
 

tanutanu

Well-known member
Do you mean something like automatically working "smart" assertion or exception catcher on notifications? Does the target macro need to be opened by an inline action of the other working macro?
It seems be interesting idea but sorry, I couldn't catch the pros details. Please give me more breakdowns.
 

420

Active member
Do you mean something like automatically working "smart" assertion or exception catcher on notifications?
Sorry but i don't exactly know what you mean by this, even after translating it to my own language it does not make sense to me. ☹️
Does the target macro need to be opened by an inline action of the other working macro?
It could be if wanted but this is not needed for what i personally had in mind.
It seems be interesting idea but sorry, I couldn't catch the pros details. Please give me more breakdowns.
Sorry it's pretty hard for me to come up with more clear examples (maybe that also means that there is no real wide use for this :p ) or explain this any better..

When there is a way (there will not always be one for every use case) to have macrodroid detect that a macro needs to be looked at/modified for whatever reason it can now already send a notification to inform you about this but we have to then open macrodroid and manually find that macro to modify/have a look at it. If there was a "macro open" action we would be able to open the macro directly simply by pressing the notification without having to open macrodroid and find the correct macro ourselves.

I hope you understand better now, i will keep trying to think of some clear possible use cases to explain it further.
 

420

Active member
Some more in depth information (that might also explain it better) about how i came up with this;

I had already come up with this idea months ago but i do not remember why i wanted it back then. (probably something similar)

What made me remember this idea now was that i was setting up a macro that fixes NewPipe when it gets into a broken state, but the thing is it does not get into a broken state untill after i don't use the NewPipe app for a day or so. This means that i now cannot continue setting up the macro untill after it breaks and i just have to wait, so to remind me that i still have to finish that macro i have it display a notification. This notification says something along the lines of "you still have to finish [macroname]" and i thought how smooth would it be if i could just open the macro directly simply by tapping on that same notification. :)
 

tanutanu

Well-known member
It could be if wanted but this is not needed for what i personally had in mind
OK, it is clarified. Probably, I got a part of your opinion. You want to use notifications as the debugging console. It is expected smarter than current system log, and has useful functions such as pausing execution, realtime monitoring each variable's current value, jumping to the current statement on MD code editor window etc. without any additional work like wrapping into assert function, rewriting to try catch statements and/or setting break point.

As the debugging environment, I hope at least single step execution mode and steping forward and backward feature with floating button controllers:)
 

tanutanu

Well-known member
Some more in depth information (that might also explain it better) about how i came up with this;

I had already come up with this idea months ago but i do not remember why i wanted it back then. (probably something similar)

What made me remember this idea now was that i was setting up a macro that fixes NewPipe when it gets into a broken state, but the thing is it does not get into a broken state untill after i don't use the NewPipe app for a day or so. This means that i now cannot continue setting up the macro untill after it breaks and i just have to wait, so to remind me that i still have to finish that macro i have it display a notification. This notification says something along the lines of "you still have to finish [macroname]" and i thought how smooth would it be if i could just open the macro directly simply by tapping on that same notification. :)
It might be an embedded to-do list or task management tool to manage your project progress. If MD macro editor has a feature to work with your scheduler and/or to-do for macro development, you might be satisfied minimally.
 

420

Active member
Maybe i overcomplicated the first example with the notification and all, that was just what i had in mind for myself..

I'm sure there are more people that have macro's that need to be opened often (or even just occasionally) (again, for whatever reason), an "Open macro" action would give us the ability to create a "shortcut" that can directly open these macro's from almost anywhere (MD drawer, home screen shortcut, widget, quick setting tile, floating button, pressing notification etc..) i think this would be very usefull.
 

Andydroid

Member
Or how about a "Favourites"/"Starred" facility? You could toggle any macro as a Favourite, and they would appear in a list for quick access via a Favourites tile on on the main screen...
 

420

Active member
Or how about a "Favourites"/"Starred" facility? You could toggle any macro as a Favourite, and they would appear in a list for quick access via a Favourites tile on on the main screen...
That is another option but it would still require us to open macrodroid first (and possible also the home page of macrodroid) then click on the favourites tile and then on the desired macro. We have a similar tile on the macrodroid homescreen to "quick run" macro's, i have personally never used this because i don't think it is quick or convenient at all.

Don't get me wrong here i'm not trying to ridicule your idea, just saying how i feel about it, and i do appreciate the input ;)
 

tanutanu

Well-known member
Yeah, I got it finaly. It seems like push style reminder or recommendation as some shopping or social apps do. People don't need to do anything but the subsystem always collect what they did, or can add just tapping "wish"(or "watch") button, then always let them know when something happened.
I completely misunderstood first, the name "open macro" made me think it as very similar to "run macro" action, but I couldn't imagine how another macro wound work relationally. It is not your important part, so it doesn't have to be MD action in the blue field as your additional expression.
I think it suitable for another option of MD notification bar, as an alternative of show last run macro option, I always show icons instead though. I wondered you suggested a kind of improvement of MD debugging environment as I felt it annoying.
 
  • Like
Reactions: 420
Top