Option to enable/disable a specific trigger of a module (and a boolean to see if a trigger is enabled or disabled)

dreamily9724

New member
I currently use a separate macro to enable/disable a module that has a floating button trigger.

As shown here:

The actual macro:
Screenshot_2023-09-02-10-29-56-130_com.arlosoft.macrodroid.jpg



The macro to toggle it on and off:
Screenshot_2023-09-02-10-30-14-840_com.arlosoft.macrodroid.jpg



Instead of this, I propose a feature in the actions section to toggle triggers (on & off) and an action that returns a boolean based on if a trigger is turned on or off.

This way, I can toggle the floating button AND run the actions the floating button performs based on which trigger was fired.

Here's a demonstration of the idea:

Code:
[TRIGGERS]

1. Floating button

2. Widget Button (Custom)


[ACTIONS]

If (Trigger fired - Widget Button (Custom))
{
    if (Trigger Is Disabled - Floating button)
    {
       Enable Trigger - Floating button
    }
    Else
    {
       Disable Trigger - Floating button
    }
}
If (Trigger fired - Floating button)
{
    [PUT YOUR ACTUAL ACTIONS HERE]
}
 

Endercraft

Moderator (& bug finder :D)
There are a few triggers that support this already like floating button with the floating button configure. But all the others don't.
 
Top