The trigger already exists and I use it macros to ensure interrupted actions such as stopwatch timers are resumed correctly.Perhaps you should make a feature request for this. It sounds useful.
The trigger already exists and I use it macros to ensure interrupted actions such as stopwatch timers are resumed correctly.Perhaps you should make a feature request for this. It sounds useful.
How about this triggerI like this idea. For a user invoked reboot ... but what about the case that Android restarts MadroDroid?
See for example https://www.macrodroidforum.com/index.php?threads/macro-run-at-boot.1638/
Why do you think this is necessary? I'm sure you have a good reason. I'm not aware of any triggers due to Macrodroid restarting, at least I do not see any when I toggle the enable/disable switch.
The only thing I know how to do is detect device start, as previously described. I don't see a way to detect app crash and restart. Can you describe why you need to do your special actions on app restart?
The macro I posted in my first response....How about this trigger
Intent received
android.intent.action.ACTION_SHUTDOWN
It might work
My fault, Missed thatThe macro I posted in my first response....
But you were right on the moneyMy fault, Missed that
You could use the macro below to initiate a boolean variable at shutdown/reboot time. Don't add any other actions because MD won't have time to execute them before effective shutdown.I want a macro to be executed before all others when MacroDroid starts, for example to set initial values for variables. There is "Device Boot" and "MacroDroid Initialised". But both don't seem to run before any other macros. Tasker has the "Monitor Start" trigger for this purpose. Is there something similar in MacroDroid?
Anyway, I'm wondering how/when your other macros fire? Don't forget that if you prevent them from firing at the time the triggering events occur, they won't fire again untill other similar events occur.
I think that in the various macros that have to wait for the execution of the "master" macro as the first action there should be a while/do with the condition of the Macrodroid mode (or the boolean variable = true)
No, your English is not bad (it's not my native language either) but I didn't have all the answers in memory as this thread has many posts (and not all of them are suitable to solve the guy's problem)...That's what I attempted to explain in #14
But of course my English is bad...