Line 49: |
Line 49: |
| Returns the package name of the application that was launched, for example, if it were MacroDroid the response would be "com.arlosoft.macrodroid". | | Returns the package name of the application that was launched, for example, if it were MacroDroid the response would be "com.arlosoft.macrodroid". |
| </pre> | | </pre> |
| + | |
| === Application Launched/Closed === | | === Application Launched/Closed === |
| * '''''Application name''''' | | * '''''Application name''''' |
Line 60: |
Line 61: |
| Returns the package name of the application that was launched, for example, if it were MacroDroid the response would be "com.arlosoft.macrodroid". | | Returns the package name of the application that was launched, for example, if it were MacroDroid the response would be "com.arlosoft.macrodroid". |
| </pre> | | </pre> |
| + | |
| === Bluethooth (Device connected or device disconnected) === | | === Bluethooth (Device connected or device disconnected) === |
| * '''''Bluetooth device name''''' | | * '''''Bluetooth device name''''' |
Line 69: |
Line 71: |
| {bluetooth_device_name} = Headphones 1 Pro | | {bluetooth_device_name} = Headphones 1 Pro |
| </pre> | | </pre> |
| + | |
| === Call (Active, Ended, Incoming, Missed, Outgoing) === | | === Call (Active, Ended, Incoming, Missed, Outgoing) === |
| * '''''Call group(s)''''' | | * '''''Call group(s)''''' |
Line 124: |
Line 127: |
| {sms_sim_name} = Vodafone | | {sms_sim_name} = Vodafone |
| </pre> | | </pre> |
| + | |
| === Logcat === | | === Logcat === |
| * '''''Logcat entry line''''' | | * '''''Logcat entry line''''' |
Line 162: |
Line 166: |
| {not_app_package} - is the package name of the application that created the notification. | | {not_app_package} - is the package name of the application that created the notification. |
| </pre> | | </pre> |
| + | |
| === Spotify === | | === Spotify === |
| * '''''Spotify track id''''' | | * '''''Spotify track id''''' |
Line 187: |
Line 192: |
| {spotify_is_playing}- Returns a boolean state (true or false). | | {spotify_is_playing}- Returns a boolean state (true or false). |
| </pre> | | </pre> |
| + | |
| === System settings === | | === System settings === |
| * '''''System setting category''''' | | * '''''System setting category''''' |
Line 200: |
Line 206: |
| {system_setting_value} - Returns the value of the key. | | {system_setting_value} - Returns the value of the key. |
| </pre> | | </pre> |
| + | |
| + | === Text Shared to MacroDroid === |
| + | * '''''Shared Text''''' |
| + | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
| + | {shared_text} |
| + | |
| + | Gets the text that was sent from another application (Selected text > Share text > MacroDroid) |
| + | </pre> |
| + | |
| === UI click === | | === UI click === |
| <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
| {ui_click_text} - Gets the text it matches, most useful when the text it needs to match is a regular expression or text that changes constantly using some variable. | | {ui_click_text} - Gets the text it matches, most useful when the text it needs to match is a regular expression or text that changes constantly using some variable. |
| </pre> | | </pre> |
| + | |
| === USB device connected === | | === USB device connected === |
| * '''''USB product name''''' | | * '''''USB product name''''' |
Line 217: |
Line 233: |
| {usb_device_hash} - It is a unique identifier that is generated for each USB device. | | {usb_device_hash} - It is a unique identifier that is generated for each USB device. |
| </pre> | | </pre> |
| + | |
| === Weather === | | === Weather === |
| * '''''Temperature (Celsius)''''' | | * '''''Temperature (Celsius)''''' |
Line 250: |
Line 267: |
| {weather_conditions} - Weather conditions. | | {weather_conditions} - Weather conditions. |
| </pre> | | </pre> |
| + | |
| === Webhook URL === | | === Webhook URL === |
| * '''''Webhook caller IP address''''' | | * '''''Webhook caller IP address''''' |
Line 259: |
Line 277: |
| {webhook_caller_ip_address} = 189.172.30.212 | | {webhook_caller_ip_address} = 189.172.30.212 |
| </pre> | | </pre> |
| + | |
| ==<p><b>Does not require a trigger to operate</b></p>== | | ==<p><b>Does not require a trigger to operate</b></p>== |
| This magic text list does not need a specific trigger to appear. | | This magic text list does not need a specific trigger to appear. |