Expanded intent support

Abalsam

Active member
I see this as a long term request as it is likely not something that is simple to do.

I am starting to play with intents and am hoping for more insight for example on what macrodroid is actually receiving in (fields/data)? I cannot find a way to assign the data received to a variable. Could there be useful information I can use for troubleshooting or a macro can use? Similarly I cannot find a way to assign trigger responses (if any) to a variable.

So my request is to please add intent output support to macrodroid when you can.

Thanks
 

FrameXX

Well-known member

I cannot find a way to assign the data received to a variable.

MacroDroid intent trigger will usually trigger when other app sends certain broadcast that is not private or is directed to MacroDroid so MacroDroid can see it and I am not sure if broadcasts have a data field or they only have extra fields as MacroDroid offers to save, but broadcats intents propably don't have a data field, or MacroDroid just doesn't offer to use it in trigger.

You are right that MacroDroid doesn't offer much variable options in intent action and you can dinamicaly change only extra values, but you can always use IntentTask plugin if you want more features.


Similarly I cannot find a way to assign trigger responses (if any) to a variable.
You can easily save intent extras from trigger into string variable. Just make sure to use * as a value of extra to compare. If you leave it empty trigger will never trigger.

Also I recommend you to try Shortcut Maker. Shortcuts are basically intents and Shortcut Maker allows you to see them, edit them and play with them, so you may learn something new.

 
Last edited:
Top