Line 19: |
Line 19: |
| === App Install/Remove/Update === | | === App Install/Remove/Update === |
| * '''''Application name''''' | | * '''''Application name''''' |
− | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> [app_name] | + | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> {app_name} |
| Returns the name of the application that was launched, for example "MacroDroid". | | Returns the name of the application that was launched, for example "MacroDroid". |
| </pre><br> | | </pre><br> |
Line 25: |
Line 25: |
| * '''''Application package''''' | | * '''''Application package''''' |
| <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
− | [app_package]
| + | {app_package} |
| 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><br> | | </pre><br> |
Line 32: |
Line 32: |
| * '''''Application name''''' | | * '''''Application name''''' |
| <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
− | [app_name]
| + | {app_name} |
| Returns the name of the application that was launched, for example "MacroDroid". | | Returns the name of the application that was launched, for example "MacroDroid". |
| </pre><br> | | </pre><br> |
| * '''''Application package''''' | | * '''''Application package''''' |
| <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
− | [app_package]
| + | {app_package} |
| 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><br> | | </pre><br> |
Line 44: |
Line 44: |
| * '''''Bluetooth device name''''' | | * '''''Bluetooth device name''''' |
| <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
− | [bluetooth_device_name]
| + | {bluetooth_device_name} |
| Returns the name of the bluetooth device, may be more useful when using the "Any device" option. | | Returns the name of the bluetooth device, may be more useful when using the "Any device" option. |
| | | |
| For example, if headphones are connected, it will return the device name. | | For example, if headphones are connected, it will return the device name. |
− | [bluetooth_device_name] = Headphones 1 Pro
| + | {bluetooth_device_name} = Headphones 1 Pro |
| </pre><br> | | </pre><br> |
| | | |
| === Call (Active, Ended, Incoming, Missed, Outgoing) === | | === Call (Active, Ended, Incoming, Missed, Outgoing) === |
| * '''''Call name''''' | | * '''''Call name''''' |
− | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">[call_name] | + | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;">{call_name} |
| Returns the number from which the call was received. | | Returns the number from which the call was received. |
| e.g. If you receive a call from MacroDroid user | | e.g. If you receive a call from MacroDroid user |
| | | |
− | [call_name] = MacroDroid user
| + | {call_name} = MacroDroid user |
| </pre><br> | | </pre><br> |
| * '''''Call number''''' | | * '''''Call number''''' |
| <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
− | [call_number]
| + | {call_number} |
| Returns the name from where the call was received if available. | | Returns the name from where the call was received if available. |
| | | |
| e.g. If you receive a call from 1234567890 | | e.g. If you receive a call from 1234567890 |
− | [call_number] = 1234567890
| + | {call_number} = 1234567890 |
| </pre><br> | | </pre><br> |
| | | |
Line 71: |
Line 71: |
| * '''''Incoming SMS contact''''' | | * '''''Incoming SMS contact''''' |
| <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
− | [sms_name] - Name of the person sending the SMS (the sender must be in your contact list).
| + | {sms_name} - Name of the person sending the SMS (the sender must be in your contact list). |
| e.g. If you receive an SMS from Macrodroid user | | e.g. If you receive an SMS from Macrodroid user |
− | [sms_name] = Macrodroid user
| + | {sms_name} = Macrodroid user |
| </pre><br> | | </pre><br> |
| * '''''Incoming SMS message''''' | | * '''''Incoming SMS message''''' |
| <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
− | [sms_message] - Contains the text of the sms.
| + | {sms_message} - Contains the text of the sms. |
| e.g. If you receive an SMS with a message "Hello, have a nice day" | | e.g. If you receive an SMS with a message "Hello, have a nice day" |
− | [sms_message] = Hello, have a nice day
| + | {sms_message} = Hello, have a nice day |
| </pre><br> | | </pre><br> |
| * '''''Incoming SMS number''''' | | * '''''Incoming SMS number''''' |
| <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
− | [sms_number] - SMS sender number.
| + | {sms_number} - SMS sender number. |
| e.g. If you receive an SMS from +1 1234567890 | | e.g. If you receive an SMS from +1 1234567890 |
− | [sms_number] = +1 1234567890
| + | {sms_number} = +1 1234567890 |
| </pre><br> | | </pre><br> |
| + | |
| === Logcat === | | === Logcat === |
| * '''''Logcat entry line''''' | | * '''''Logcat entry line''''' |
| <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
− | [logcat_line] - Returns the reference logcat line configured in the trigger.
| + | {logcat_line} - Returns the reference logcat line configured in the trigger. |
| </pre><br> | | </pre><br> |
| | | |
Line 96: |
Line 97: |
| * '''''Notification title''''' | | * '''''Notification title''''' |
| <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
− | [not_title] - is a prominent text element that concisely summarizes the key subject or purpose of a notification.
| + | {not_title} - is a prominent text element that concisely summarizes the key subject or purpose of a notification. |
| </pre><br> | | </pre><br> |
| * '''''Notification ticker text''''' | | * '''''Notification ticker text''''' |
| <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
− | [not_ticker] - is a brief text that scrolls temporarily across the status bar of an Android device when a new notification arrives. This feature was removed in Android 5.0 Lollipop, but it can still be found on some devices or restored using third-party apps.
| + | {not_ticker} - is a brief text that scrolls temporarily across the status bar of an Android device when a new notification arrives. This feature was removed in Android 5.0 Lollipop, but it can still be found on some devices or restored using third-party apps. |
| </pre><br> | | </pre><br> |
| * '''''Notification text''''' | | * '''''Notification text''''' |
| <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
− | [notification] - is the text displayed in a notification. It is the main part of the notification and usually contains information about the content of the notification.
| + | {notification} - is the text displayed in a notification. It is the main part of the notification and usually contains information about the content of the notification. |
| </pre><br> | | </pre><br> |
| * '''''Notification sub text''''' | | * '''''Notification sub text''''' |
| <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
− | [not_sub_text] - is a secondary text element that provides additional context or detail to a notification.
| + | {not_sub_text} - is a secondary text element that provides additional context or detail to a notification. |
| </pre><br> | | </pre><br> |
| * '''''Notification big text''''' | | * '''''Notification big text''''' |
| <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
− | [not_text_lines] - is a feature that allows to display a more significant amount of text within a notification.
| + | {not_text_lines} - is a feature that allows to display a more significant amount of text within a notification. |
| </pre><br> | | </pre><br> |
| * '''''Notification actions names''''' | | * '''''Notification actions names''''' |
| <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
− | [not_action_names] - are clickable buttons or links embedded within notifications that allow users to perform specific tasks directly without opening the associated app.
| + | {not_action_names} - are clickable buttons or links embedded within notifications that allow users to perform specific tasks directly without opening the associated app. |
| </pre><br> | | </pre><br> |
| * '''''Notification app name''''' | | * '''''Notification app name''''' |
| <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
− | [not_app_name] - is the name of the app that generated the notification.
| + | {not_app_name} - is the name of the app that generated the notification. |
| </pre><br> | | </pre><br> |
| * '''''Notification app package''''' | | * '''''Notification app package''''' |
| <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
− | [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><br> | | </pre><br> |
| + | |
| === Spotify === | | === Spotify === |
| * '''''Spotify track id''''' | | * '''''Spotify track id''''' |
| <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
− | [spotify_track_id] - Returns the Track ID of the song.
| + | {spotify_track_id} - Returns the Track ID of the song. |
| </pre><br> | | </pre><br> |
| * '''''Spotify artist''''' | | * '''''Spotify artist''''' |
| <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
− | [spotify_artist] - Returns the artist of the song, "Started music" is not supported
| + | {spotify_artist} - Returns the artist of the song, "Started music" is not supported |
| </pre><br> | | </pre><br> |
| * '''''Spotify album name''''' | | * '''''Spotify album name''''' |
| <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
− | [spotify_album] - Returns the album of the song, "Started music" is not supported
| + | {spotify_album} - Returns the album of the song, "Started music" is not supported |
| </pre><br> | | </pre><br> |
| * '''''Spotify track name''''' | | * '''''Spotify track name''''' |
| <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
− | [spotify_track] - Returns the name of the song, "Started music" is not supported
| + | {spotify_track} - Returns the name of the song, "Started music" is not supported |
| </pre><br> | | </pre><br> |
| * '''''Spotify length (s)''''' | | * '''''Spotify length (s)''''' |
| <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
− | [spotify_length_s] - Returns the length of the song in seconds.
| + | {spotify_length_s} - Returns the length of the song in seconds. |
| </pre><br> | | </pre><br> |
| * '''''Spotify is playing''''' | | * '''''Spotify is playing''''' |
| <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
− | [spotify_is_playing]- Returns a boolean state (true or false).
| + | {spotify_is_playing}- Returns a boolean state (true or false). |
| </pre><br> | | </pre><br> |
| + | |
| === Weather === | | === Weather === |
| * '''''Temperature (Celsius)''''' | | * '''''Temperature (Celsius)''''' |