Search results

  1. F

    Recursion with action blocks

    Hello. I was experimenting with action blocks and I noticed how all their variables (input, work and output) have a default value and not just a current value. Could this mean that, contrary to macro variables, action block variables are reinstantiated from their default value each time a block...
  2. F

    Concurrent invocations of the same macro

    Hello all. Compared to other computer languages and scripting, Macrodroid, as far as I can tell, possesses a peculiar perk inasmuch as it is possible, and it often happens (at least in my macros), that the same macro can be re-invoked while a previous invocation of it has not yet completed and...
  3. F

    Reading System Settings into a variable

    Hello all. Now, I may be very stupid (hey, I heard that!) but I just can't seem to be able to get the list of magic texts to include the three System Setting entries – System, Global and Secure – when calling that list from the Set Variable dialogue. It seems to me that those entries appear in...
  4. F

    Battery charge manager

    Hello all. As you'd have guessed, this is a battery charge manager. It notifies the user when the battery gets too high or too low, according to user-defined values. It also asks for minimum and maximum charge levels, which when reached notify in red AND with an exclamation mark – the dread of...
  5. F

    Restoring backups

    Hello. I've never tried to restore any backups because I'm afraid anything goes wrong, though I have both local and cloud turned on. So I don't know whether it's possible to restore single macros or the whole collection must be restored at the same time. So, is it possible? And, if not, why not?
  6. F

    Strange behaviour of If / Else If / Else / End If (Solved)

    Hello all. I seem to have found one very peculiar behaviour of the If … construct. I noticed it in a much larger (and more useful, I hope ;-) macro but I seem to have tracked it down to just the following (if I remove the code in the sub-sections, this doesn't happen): Now, what happens is...
  7. F

    Bugs

    Where/how do I report a bug?
  8. F

    Enable macro (This whole thread is nonsense, due to a ridiculous miscomprehension on my part. Please ignore it. Or read it and laugh.)

    Hello. Could please someone tell me what these two options do when used with Enable macro? Trigger on clear apps from recents New triggers Thanks
  9. F

    Thread deleted

    Thread deleted
  10. F

    2D Array Iteration (obsolete)

    Here is a template for 2D array iteration (easily adaptable for more dimensions). Since right now it's not possible to use the Iterate dictionary/array loop for the inner arrays, it uses the Repeat actions loop. All is explained in the comments. Happy Holiday Season...
  11. F

    Comment action

    Yes, I know one can add a comment to any action, but, as in a regular language it's possible to write a comment at the end of a line of code but also a standalone line of comments, so too it would be nice to have in MD a comment action with the actual comment showing in the listing beneath (and...
  12. F

    Lock/unlock main screen tiles

    Well… that's it!
  13. F

    Expression not accepted in Set Variable action

    Hello. I tried to use the following expression in a Set Variable action: {size=a[{lv=dim}]} where a is an array containing 2 arrays (indexes 0 and 1), each of which contains 2 integer entries (in order to create/simulate a 2 dimensional integer array) dim is an...
  14. F

    App removed from recent apps list

    Hello all. I just wanted to know whether there is a way to know when an app is removed from the recent apps list by the system, as when it "determines" the app is no longer needed. Note I am not talking about when the user removes the entry themselves manually. Thanks for any answers.
  15. F

    Info in recent apps list

    Hello everybody. I'm new here and this is my first post. I need some help: Is there any way to get the info in the recent apps list – the actual list of apps, that is? I don't want to kill those apps, quite the contrary: I want to relaunch them, so that they are kind of refreshed and...
Top