All macro names show

harshit

Member
hello there,
i was updating my AUTOMATOR(WHATSAPP) named macro which gives the information of the device through WhatsApp reply notification action on WhatsApp so I got an idea that
if I need to turn of/turn on any macro through my WhatsApp notification action so how do I do this cuz I can't find any variable type where it adds all the macro names and can turn on/off them

Without using my phone the macro will automatically do that on WhatsApp


inshort I need a variable which stores all the names of macros currently without manually the macrodroid adds them automatically when I need to turn on or off them...
 

dhj49er

Well-known member
hello there,
i was updating my AUTOMATOR(WHATSAPP) named macro which gives the information of the device through WhatsApp reply notification action on WhatsApp so I got an idea that
if I need to turn of/turn on any macro through my WhatsApp notification action so how do I do this ...
If i understand you correctly, you are looking for a variable that has all the macro names, so that you can turn them on and off via a WhatsApp notification and that macrodroid automatically maintains this variable as you add or delete Macros.

I'm not aware of a variable that does the above.

If you don't have many Macros you could create a dictionary where each key is a named macro. You would need to manually update the dictionary as you add or delete macros.

Then iterate the dictionary to either enable all the macros or disable all the macros, depending upon the received WhatsApp notification.

I have over 200 macros and generating a dictionary to do the above would be an arduous task. Maintaining such a large dictionary would also be a time consuming task.

However, if you have 20 or less macros, it's probably doable.

Why do you want to disable all your Macros?
 

hsurB

Well-known member
hello there,
i was updating my AUTOMATOR(WHATSAPP) named macro which gives the information of the device through WhatsApp reply notification action on WhatsApp so I got an idea that
if I need to turn of/turn on any macro through my WhatsApp notification action so how do I do this cuz I can't find any variable type where it adds all the macro names and can turn on/off them

Without using my phone the macro will automatically do that on WhatsApp


inshort I need a variable which stores all the names of macros currently without manually the macrodroid adds them automatically when I need to turn on or off them...

Isnt action to disable/enable category/ies of macros enough for your case?
 

harshit

Member
If i understand you correctly, you are looking for a variable that has all the macro names, so that you can turn them on and off via a WhatsApp notification and that macrodroid automatically maintains this variable as you add or delete Macros.

I'm not aware of a variable that does the above.

If you don't have many Macros you could create a dictionary where each key is a named macro. You would need to manually update the dictionary as you add or delete macros.

Then iterate the dictionary to either enable all the macros or disable all the macros, depending upon the received WhatsApp notification.

I have over 200 macros and generating a dictionary to do the above would be an arduous task. Maintaining such a large dictionary would also be a time consuming task.

However, if you have 20 or less macros, it's probably doable.

Why do you want to disable all your Macros?
Okay I understand
Like sometimes I need to disable some macros when I does not have my phone so I was making a macro which will do this
 

Dm114

Well-known member
Okay I understand
Like sometimes I need to disable some macros when I does not have my phone so I was making a macro which will do this
You could gather them in a specific category and then enable/disabled this category only.
 
Top