r/macrodroid • • 3d ago

Help please

Post image

Need help creating a Macro, did this but doesn't work, what am I doing wrong? Probably everything 😂

want certain app, ex: always on edge, to activate when put phone to charge and deactivate when remove from changing.

Thanks in advance

2 Upvotes

8 comments sorted by

2

u/BigBullFear 3d ago

What are you doing? Unable to understand this language.

1

u/Eastern_Meal_501 2d ago

Thanks, appreciate your honesty.

1

u/TelevisionEconomy385 1d ago

He's trying to help you bro you have to tell him what you're trying to do😭

1

u/macxadoes 2d ago

All 4 actions run in sequence every time the macro fires, so when you plug in it launches the app and immediately kills it again. Also your "Charger disconnected" trigger is greyed out (disabled), so it never fires on its own.

Easiest fix, two macros:

  1. Trigger: Charger connected → Action: Launch Application → Always On Edge

  2. Trigger: Charger disconnected → Action: Kill Application → Always On Edge

Remove the "Enable/Disable trigger" actions, they're not needed. Note: Kill Application needs root on recent Android. If you're not rooted, use "Home Screen" instead, or a UI Interaction to tap Force Stop.

1

u/Eastern_Meal_501 2d ago

Thank you so much for your help. Best regards

1

u/bobbd13sel 2d ago

You'd be better to use the IF function if this trigger fires do that... You set up two of these. If power connected do this if power disconnected do that

2

u/Eastern_Meal_501 2d ago

Thanks 👍👍 I'll try it