529 bytes added
, 15:28, 1 November 2023
<p style="background-color: #EEEEEE; color: Black; border-radius: 10px padding: 10px; font-family: 'Courier New', monospace; white-space: pre-wrap;">You can the the foreground app name magic text (written as [fg_app_name]) to get the current opened app. This can have some issue with overlays but it should be fixed in v5.38 and above.
To use this magic text, you will need to grant accessibility permission to MacroDroid otherwise "?" will be returned.
See also : [[Magic text:Foreground app package|Foreground app package]]</p>