Custom Macro help request

Senuhet

New member
Hello,

In an effort to reduce my macro count I've been combining them to great effect until this macro. Can anyone explain why My labeled "Uber Flashlight" will trigger inside its own macro, but when I put it inside this macro not only will it not trigger but it activates my "while Loop" which makes zero sense to me, because it has a completely different trigger. Does Macrodroid have a certain limit I don't realize and I've put too much in here to be functional. For reference the rest of the macro was not or at least should not have been running.

Any help would be appreciated.
Uber_Stride_Auto_Start.png
 

MacroDroidDev

Administrator
Staff member
I can't see enough of the detail to say for sure, but maybe the second IF clause needs to be an IF else clause?
 

420

Active member
Hello,

In an effort to reduce my macro count I've been combining them to great effect until this macro. Can anyone explain why My labeled "Uber Flashlight" will trigger inside its own macro, but when I put it inside this macro not only will it not trigger but it activates my "while Loop" which makes zero sense to me, because it has a completely different trigger. Does Macrodroid have a certain limit I don't realize and I've put too much in here to be functional. For reference the rest of the macro was not or at least should not have been running.

Any help would be appreciated.
View attachment 700
i think this is why your shake trigger is activating your while loop;

your while loop is not inside any if clause, so it doesn't have a trigger, it just runs everytime the macro runs..
(so everytime ANY of your 3 triggers fires it will check if the constraints on the loop are true, and if they are it will run the loop)

i am not sure why your toch toggle is not running, it must be because a constraint was not true, since the macro did run it can't have been the trigger fired constraint. so it must be the other constraint (app in foreground), i am sorry but i am not really sure what can be the cause of this..

i would recommend you remove the app foreground constraint from the last if clause, and instead put it as a constraint on the shake device trigger, this should prevent the macro (and with that the loop) from running if the shake trigger fires while uber is not in the foreground.

edit: i now think the reason the last if clause didn't run was because it is placed below the loop, so by the time it got to the last if clause the trigger fired constraint was not true anymore, i think if you place the last if clause somewhere above the loop it will all work fine.
 
Last edited:
Top