The IF and variable macro doesn't work (fixed now)

Volmark

Member
See attached code and log imgs
Any help is greatly appreciated ...
 

Attachments

  • Screenshot_20220113-062007_MacroDroid.jpg
    Screenshot_20220113-062007_MacroDroid.jpg
    388.7 KB · Views: 11
  • Screenshot_20220113-061539_MacroDroid.jpg
    Screenshot_20220113-061539_MacroDroid.jpg
    686.9 KB · Views: 11

Dm114

Well-known member
See attached code and log imgs
Any help is greatly appreciated ...
@Qarboz is right: don't include Media button trigger as a condition in your If clauses, mainly if you intent to run your macro by another way (drawer, floating button, etc).
As you were already told in a previous thread, don't forget that Media button trigger is only made for buttons on a headphone...
 

Volmark

Member
Now it works perfectly as I wished. Thank you all helpers 🤩😍
See attached ...
It also works with shortcuts generated by Panel app end ShortcutMaker app.
Thanks all again ...
 

Attachments

  • Screenshot_20220114-125343_MacroDroid.jpg
    Screenshot_20220114-125343_MacroDroid.jpg
    356.4 KB · Views: 8
Top