| Line 186: |
Line 186: |
| | | | |
| | ==<p><b>Does not require a trigger to operate</b></p>== | | ==<p><b>Does not require a trigger to operate</b></p>== |
| − | Does not depend on a trigger
| + | This magic text list does not need a specific trigger to appear. |
| | === am/pm === | | === am/pm === |
| | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
| Line 281: |
Line 281: |
| | === Day of the week === | | === Day of the week === |
| | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
| − | {} | + | {dayofweek} |
| | Day of the week, e.g. Monday or Friday. | | Day of the week, e.g. Monday or Friday. |
| | </pre><br> | | </pre><br> |
| | === Device serial === | | === Device serial === |
| | + | <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 available on android 10+. | | Not available on android 10+. |
| | </pre><br> | | </pre><br> |
| | === Dictionary/Array size === | | === Dictionary/Array size === |
| | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
| − | {} | + | {size=my_array} |
| | Size of an array or dictionary. | | Size of an array or dictionary. |
| | e.g. to query the size of an array called "my_array" [0,1,2] it would look like this [size=my_array] the result would be 3. | | e.g. to query the size of an array called "my_array" [0,1,2] it would look like this [size=my_array] the result would be 3. |
| Line 297: |
Line 297: |
| | === Foreground app name === | | === Foreground 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;"> |
| − | {} | + | {fg_app_name} |
| | Name of the application in the foreground, if you are in macrodroid, the output will be MacroDroid. | | Name of the application in the foreground, if you are in macrodroid, the output will be MacroDroid. |
| | </pre><br> | | </pre><br> |
| | === Foreground app package === | | === Foreground 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;"> |
| − | {} | + | {fg_app_package} |
| | Package of the application in the foreground, if you are in macrodroid, the output will be MacroDroid. | | Package of the application in the foreground, if you are in macrodroid, the output will be MacroDroid. |
| | </pre><br> | | </pre><br> |
| | === Hour of day === | | === Hour of day === |
| | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
| − | {} | + | {hour} |
| | Time of day in 24h format. | | Time of day in 24h format. |
| | </pre><br> | | </pre><br> |
| | === Hour of day (12h) === | | === Hour of day (12h) === |
| | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
| − | {} | + | {hour12} |
| | Time of day in 12h format. | | Time of day in 12h format. |
| | </pre><br> | | </pre><br> |
| | === Hour of day (Leanding zero) === | | === Hour of day (Leanding zero) === |
| | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
| − | {} | + | {hour_0} |
| | Time of day in 24h format, includes leading zero. | | Time of day in 24h format, includes leading zero. |
| | </pre><br> | | </pre><br> |
| | === IMEI === | | === IMEI === |
| | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
| − | {} | + | {imei} |
| | Obtains the IMEI number, since Android 10+ this information is no longer available. | | Obtains the IMEI number, since Android 10+ this information is no longer available. |
| | </pre><br> | | </pre><br> |
| | === Last known location (accuracy meters) === | | === Last known location (accuracy meters) === |
| | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
| − | {} | + | {last_loc_accuracy} |
| | Obtains the precision of the most recent known location, for example 10 meters, due to different causes the GPS may have a greater or lesser margin of positioning error, useful to know how precise the last known location is. | | Obtains the precision of the most recent known location, for example 10 meters, due to different causes the GPS may have a greater or lesser margin of positioning error, useful to know how precise the last known location is. |
| | </pre><br> | | </pre><br> |
| | === Last known location (altitude) === | | === Last known location (altitude) === |
| | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
| | + | {last_loc_alt} |
| | Gets the altitude above sea level of the last known location. | | Gets the altitude above sea level of the last known location. |
| | </pre><br> | | </pre><br> |
| | === Last known location (lat) === | | === Last known location (lat) === |
| | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
| − | {} | + | {last_loc_lat} |
| | Gets the latitude above sea level of the last known location. | | Gets the latitude above sea level of the last known location. |
| | </pre><br> | | </pre><br> |
| | === Last known location (lat,lon) === | | === Last known location (lat,lon) === |
| | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
| − | {} | + | {last_loc_latlong} |
| | Gets the latitude and longitude above sea level of the last known location separated by ',' e.g. 23.44325,-23.215252 | | Gets the latitude and longitude above sea level of the last known location separated by ',' e.g. 23.44325,-23.215252 |
| | </pre><br> | | </pre><br> |
| | === Last known location (link) === | | === Last known location (link) === |
| | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
| − | {} | + | {last_loc_link} |
| | Gets a Google Maps link with the last known location. | | Gets a Google Maps link with the last known location. |
| | </pre><br> | | </pre><br> |
| | === Last known location (lon) === | | === Last known location (lon) === |
| | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
| − | {} | + | {last_loc_long} |
| | Gets the longitude above sea level of the last known location. | | Gets the longitude above sea level of the last known location. |
| | </pre><br> | | </pre><br> |
| | === Last known location (time) === | | === Last known location (time) === |
| | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
| − | {} | + | {last_loc_age_timestamp} |
| | Gets the last known time in format (year - month - day hour : minute : second). | | Gets the last known time in format (year - month - day hour : minute : second). |
| | </pre><br> | | </pre><br> |
| | === Last location speed (kmh) === | | === Last location speed (kmh) === |
| | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
| − | {} | + | {last_loc_speed_kmh} |
| | Obtains the current speed in km h (You need something to be monitoring your route, for example Waze or Google Maps), otherwise the value will be equal to 0. | | Obtains the current speed in km h (You need something to be monitoring your route, for example Waze or Google Maps), otherwise the value will be equal to 0. |
| | </pre><br> | | </pre><br> |
| | === Last location speed (mph) === | | === Last location speed (mph) === |
| | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
| − | {} | + | {last_loc_speed_kmh} |
| | Obtains the current speed in mph (You need something to be monitoring your route, for example Waze or Google Maps), otherwise the value will be equal to 0. | | Obtains the current speed in mph (You need something to be monitoring your route, for example Waze or Google Maps), otherwise the value will be equal to 0. |
| | </pre><br> | | </pre><br> |
| Line 385: |
Line 386: |
| | === Macro name === | | === Macro 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;"> |
| | + | {macro_name} |
| | Name of the macro that was invoked. | | Name of the macro that was invoked. |
| | </pre><br> | | </pre><br> |
| | === Macrodroid is pro === | | === Macrodroid is pro === |
| | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
| | + | {macrodroid_is_pro} |
| | Boolean value (true or false) depending on whether macrodroid is pro or not. | | Boolean value (true or false) depending on whether macrodroid is pro or not. |
| | </pre><br> | | </pre><br> |
| | === Macrodroid version === | | === Macrodroid version === |
| | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
| | + | {macrodroid_version} |
| | Version of macrodroid installed for example 5.40.x. | | Version of macrodroid installed for example 5.40.x. |
| | </pre><br> | | </pre><br> |
| | === Minute === | | === Minute === |
| | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
| | + | {minute} |
| | Current minute. | | Current minute. |
| | </pre><br> | | </pre><br> |
| | === Mobile country code === | | === Mobile country code === |
| | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
| | + | {mcc} |
| | (MCC) is a three-digit country code used to identify the country of origin of a mobile network. | | (MCC) is a three-digit country code used to identify the country of origin of a mobile network. |
| | </pre><br> | | </pre><br> |
| | === Mobile network code === | | === Mobile network code === |
| | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
| | + | {mnc} |
| | Mobile Network Code (MNC) is a two or three digit code that uniquely identifies a mobile network operator within a country. | | Mobile Network Code (MNC) is a two or three digit code that uniquely identifies a mobile network operator within a country. |
| | </pre><br> | | </pre><br> |
| | === Month === | | === Month === |
| | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
| | + | {month} |
| | Current month. | | Current month. |
| | </pre><br> | | </pre><br> |
| | === Month (as digit) === | | === Month (as digit) === |
| | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> |
| | + | {month_digit} |
| | Current month (in numerical format). | | Current month (in numerical format). |
| | </pre><br> | | </pre><br> |