In many triggers, actions and constraints you will have the option to configure some textual fields. Often you will find a button next to the text entry field that contains the ".." label. This button will display a complete list of "magic text" fields that are available in the context that is being used.

The magic text allows some other value to be substituted at the point of invocation, rather than standard static text that will never changed. For example it's possible to add and action that reference a variable via magic text and that variable's value will be substituted at the point that action is run.

TODO - Full list of static magic text options

TODO - List of context specific magic text depending on trigger.


MacroDroid mode

-Stopwatches-

-Variables users have created-

String variable length

String variable value

New line

Foreground app name

Foreground app package

Current brightness

Current brightness (Android 9+ alternative)

Screen timeout (seconds)

Current battery %

Battery temp ^C

Power (on/off)

Clipboard text

Current IP address

Wifi SSID

Wifi signal strength

Day of the week

Day of the month

Week of year

Month

Month (as digit)

Year

Hour of day

Hour of day (12h)

Minute

Second

am/pm

System time

System setting (System)

System setting (Global)

System setting (Secure)

Mobile country code

Mobile network code

Location area code

IMEI

Cell id

Last known location (lat,lon)

Last known location (lat)

Last known location (lon)

Last known location (altitude)

Last known location (accuracy meters)

Last known location (link)

Last known location (time)

Last location speed (kmh)

Last location speed (mph)

Current volume (Alarm)

Current volume (Media / Music)

Current volume (Ringer)

Current volume (Notification)

Current volume (System sounds)

Current volume (Voice call)

Current volume (Bluetooth voice)

Macro name

Macro category

Device serial

Device name

Device uptime

Device uptime (s)

Device manufacturer

Device model

Android version

Android version (SDK level)

Storage total (external)

Storage free (external)

Storage total (internal)

Storage free (external)